Messages in this thread | | | Date | Fri, 27 Jan 2012 10:29:57 -0800 | Subject | Re: [RFC c/r 3/4] c/r: procfs: add arg_start/end, env_start/end and exit_code members to /proc/$pid/stat | From | Kees Cook <> |
| |
On Fri, Jan 27, 2012 at 9:53 AM, Cyrill Gorcunov <gorcunov@openvz.org> wrote: > We would like to have an ability to restore command line > arguments and envirion pointers so the task being restored > would print appropriate values in /proc/pid/cmdline and > /proc/pid/envirion. The exit_code is needed to restore > zombie tasks. > > Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
> + if (mm && permitted) { > + seq_printf(m, "%lu %lu %lu %lu %lu %lu %lu ",
I like this clean-up. :)
-Kees
-- Kees Cook ChromeOS Security -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |