From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753622Ab2AWUj2 (ORCPT ); Mon, 23 Jan 2012 15:39:28 -0500 Received: from mail-bk0-f46.google.com ([209.85.214.46]:40025 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752075Ab2AWUj1 (ORCPT ); Mon, 23 Jan 2012 15:39:27 -0500 Date: Tue, 24 Jan 2012 00:39:22 +0400 From: Cyrill Gorcunov To: Kees Cook Cc: linux-kernel@vger.kernel.org, Andrew Morton , Pavel Emelyanov , Serge Hallyn , KAMEZAWA Hiroyuki , Tejun Heo , Andrew Vagin , "Eric W. Biederman" , Alexey Dobriyan Subject: Re: [patch 1/4] fs, proc: Introduce /proc//task//children entry v8 Message-ID: <20120123203922.GL1907@moon> References: <20120123142036.025893883@openvz.org> <20120123142436.181674896@openvz.org> <20120123193301.GI1907@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 Mon, Jan 23, 2012 at 12:29:52PM -0800, Kees Cook wrote: > > > > Yeah, it there children, they will be in say " 1 2 3 4\n" format. > > To drop this space completely i'll have to add more code, which I > > actually trying to escape. Can we live with it? ;) > > How about just: > > return seq_printf(seq, "%d ", pid); > > instead? > ok, will update. Cyrill