[CRIU] [PATCH] restore: unset dumpable flag for zombies (v2)
Pavel Emelyanov
xemul at parallels.com
Wed Aug 7 05:51:48 EDT 2013
On 08/06/2013 06:45 PM, Andrew Vagin wrote:
> We have already tried to prevent generating core files for zombies:
>
> commit 6da52216ce8e47fed0ded1c5a451968ef7c177a2
> Author: Andrey Vagin <avagin at openvz.org>
> Date: Fri Jul 12 18:14:23 2013 +0400
>
> restore: set the zero limit for RLIMIT_CORE
>
> But it doesn't work if a core file is sent into a pipe.
> This functionality is used by the abrt daemon for example.
>
> This patch uses more direct way, it unsets the dumpable flag with help
> of PR_SET_DUMPABLE.
>
> v2: remove the previous hack
>
> Signed-off-by: Andrew Vagin <avagin at openvz.org>
applied
More information about the CRIU
mailing list