[CRIU] [PATCH] restore: set the zero limit for RLIMIT_CORE
Cyrill Gorcunov
gorcunov at gmail.com
Fri Jul 12 06:31:41 EDT 2013
On Fri, Jul 12, 2013 at 01:50:52PM +0400, Andrey Vagin wrote:
>
> + /* prevent generating core files */
> + if (setrlimit(RLIMIT_CORE, &rlim))
> + pr_perror("Can't set the zero limit for core files");
It's slightly unrelated and in general patch looks good for me, I think
we need some kind of pr_pwarn() which would print warning and errno decoded
but won't be treated a user as error, since errors should represent real
errors when progra aborts execution if happened.
More information about the CRIU
mailing list