Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756893Ab2BCQhm (ORCPT ); Fri, 3 Feb 2012 11:37:42 -0500 Received: from mail-iy0-f174.google.com ([209.85.210.174]:54883 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754240Ab2BCQhl (ORCPT ); Fri, 3 Feb 2012 11:37:41 -0500 MIME-Version: 1.0 In-Reply-To: <20120203152650.827624790@openvz.org> References: <20120203151928.474036973@openvz.org> <20120203152650.827624790@openvz.org> Date: Fri, 3 Feb 2012 08:37:40 -0800 X-Google-Sender-Auth: Q0RUfakBJCI88EC76UN7nBB4X0k Message-ID: Subject: Re: [patch 3/4] c/r: procfs: add arg_start/end, env_start/end and exit_code members to /proc/$pid/stat From: Kees Cook To: Cyrill Gorcunov Cc: linux-kernel@vger.kernel.org, Andrew Morton , "Eric W. Biederman" , Pavel Emelyanov , KOSAKI Motohiro , Ingo Molnar , "H. Peter Anvin" , Pavel Emelyanov , Serge Hallyn , KAMEZAWA Hiroyuki , Alexey Dobriyan , Tejun Heo , Andrew Vagin , Vasiliy Kulikov X-System-Of-Record: true Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 705 Lines: 19 On Fri, Feb 3, 2012 at 7:19 AM, Cyrill Gorcunov wrote: > We would like to have an ability to restore command line > arguments and program environment pointers but first we > need to obtain them somehow. Thus we put these values into > /proc/$pid/stat. The exit_code is needed to restore zombie > tasks. > > Signed-off-by: Cyrill Gorcunov Acked-by: Kees Cook -- 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/