From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Guy Briggs Subject: Re: [PATCH] audit: Add cmdline to taskinfo output Date: Thu, 31 Oct 2013 11:28:48 -0400 Message-ID: <20131031152848.GB3399@madcap2.tricolour.ca> References: <1383004238-10998-1-git-send-email-wroberts@tresys.com> <1611933.rd6seSt0S2@x2> <3495583.L92f3yxRXA@x2> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: William Roberts Cc: William Roberts , linux-audit@redhat.com List-Id: linux-audit@redhat.com On Thu, Oct 31, 2013 at 08:24:11AM -0700, William Roberts wrote: > On Thu, Oct 31, 2013 at 7:36 AM, Steve Grubb wrote: > > On Wednesday, October 30, 2013 01:18:13 PM William Roberts wrote: > > > On Wed, Oct 30, 2013 at 12:42 PM, Steve Grubb wrote: > > > I have compiled kernels in the past with custom COMM widths, but > > > the memory footprint goes up, at least here were not keeping a > > > bunch of possibly unused data around in the kernel plus we're not > > > allocating anything on the common case of it being turned off. > > > > I don't like the idea of fields appearing and disappearing. The > > complaint is "comm" is meaningless. Let's fix that. > > Its not that the field is disappearing, its just whether or not you > want the value printed out. cmdline=(null) vs cmdline="something". > That's a trivial change of not making it dynamic which is what my > first patch did but Richard Briggs suggested making it a dynamic > feature and I was pretty ok with that. Ok, so how about both fields are always present, but have some keyword that is printed that indicates it is a duplicate of the other field? Something like cmdline=(comm) > William C Roberts - RGB -- Richard Guy Briggs Senior Software Engineer Kernel Security AMER ENG Base Operating Systems Remote, Ottawa, Canada Voice: +1.647.777.2635 Internal: (81) 32635 Alt: +1.613.693.0684x3545