From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752707Ab1LLHim (ORCPT ); Mon, 12 Dec 2011 02:38:42 -0500 Received: from mail-bw0-f46.google.com ([209.85.214.46]:58694 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752298Ab1LLHil (ORCPT ); Mon, 12 Dec 2011 02:38:41 -0500 Date: Mon, 12 Dec 2011 11:38:36 +0400 From: Cyrill Gorcunov To: "Eric W. Biederman" Cc: KAMEZAWA Hiroyuki , Andrew Morton , Tejun Heo , Andrew Vagin , Serge Hallyn , Vasiliy Kulikov , Kees Cook , Alexey Dobriyan , LKML Subject: Re: [PATCH] fs, proc: Add start_data, end_data, start_brk members to /proc/$pid/stat v2 Message-ID: <20111212073836.GB2199@moon> References: <20111205182010.GV14515@moon> <20111206140833.3b43fbeb.akpm@linux-foundation.org> <20111206221515.GP29781@moon> <20111206225315.GA20459@moon> <20111207090259.e2296dd3.kamezawa.hiroyu@jp.fujitsu.com> <20111207063308.GC20459@moon> <20111207070718.GA21678@moon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Dec 11, 2011 at 11:30:21PM -0800, Eric W. Biederman wrote: > Cyrill Gorcunov writes: > > > On Wed, Dec 07, 2011 at 10:33:08AM +0400, Cyrill Gorcunov wrote: > >> > >> No problem, I'll update (These segments are filled by binfmt handlers). > >> > > > > This one should fit. > > How extensively have you tested this. I remember a few other occasions > where adding elements to a line in a proc file have resulted in breaking > readers. > Hmm. Tested it pretty heavy on centos 5 series. I'll dig some more. > I expect it is much safer to add this to /proc//status rather than > /proc//stat. > Eric, I'm fine with any file. I thought about /.../stat only because it already has start_code/end_code, so to have all pieces in one place this file was choosen. Cyrill