Re: [PATCH] audit: Add cmdline to taskinfo output

2013-10-31 Thread William Roberts
On Thu, Oct 31, 2013 at 8:51 AM, William Roberts wrote: > > > > On Thu, Oct 31, 2013 at 8:46 AM, Richard Guy Briggs wrote: > >> On Thu, Oct 31, 2013 at 08:33:34AM -0700, William Roberts wrote: >> > On Thu, Oct 31, 2013 at 8:28 AM, Richard Guy Briggs >> wrote: >> > >> > > On Thu, Oct 31, 2013 at 0

Re: [PATCH] audit: Add cmdline to taskinfo output

2013-10-31 Thread William Roberts
On Thu, Oct 31, 2013 at 8:46 AM, Richard Guy Briggs wrote: > On Thu, Oct 31, 2013 at 08:33:34AM -0700, William Roberts wrote: > > On Thu, Oct 31, 2013 at 8:28 AM, Richard Guy Briggs > wrote: > > > > > On Thu, Oct 31, 2013 at 08:24:11AM -0700, William Roberts wrote: > > > > On Thu, Oct 31, 2013 a

Re: [PATCH] audit: Add cmdline to taskinfo output

2013-10-31 Thread Richard Guy Briggs
On Thu, Oct 31, 2013 at 08:33:34AM -0700, William Roberts wrote: > On Thu, Oct 31, 2013 at 8:28 AM, Richard Guy Briggs wrote: > > > 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

Re: [PATCH] audit: Add cmdline to taskinfo output

2013-10-31 Thread Richard Guy Briggs
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 cu

Re: [PATCH] audit: Add cmdline to taskinfo output

2013-10-31 Thread William Roberts
On Thu, Oct 31, 2013 at 8:28 AM, Richard Guy Briggs wrote: > 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,

Re: [PATCH] audit: Add cmdline to taskinfo output

2013-10-31 Thread William Roberts
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: > > > > > Again... the comm field got cut off and now I have no idea again. > > > > > > Which is the same as all arches

Re: [PATCH] audit: Add cmdline to taskinfo output

2013-10-31 Thread Steve Grubb
On Wednesday, October 30, 2013 01:18:13 PM William Roberts wrote: > On Wed, Oct 30, 2013 at 12:42 PM, Steve Grubb wrote: > > > > Again... the comm field got cut off and now I have no idea again. > > > > Which is the same as all arches. What I'm trying to say is that all arches > > would benefit f

Re: [PATCH] audit: Add cmdline to taskinfo output

2013-10-30 Thread William Roberts
On Wed, Oct 30, 2013 at 2:20 PM, Eric Paris wrote: > I'm like a child wandering into the middle of a movie and having no idea > what is going on. But... > my day to day reality :-P > > > The limit is PATH_MAX. You could have an absolute path that > > uses all available > >

Re: [PATCH] audit: Add cmdline to taskinfo output

2013-10-30 Thread Eric Paris
I'm like a child wandering into the middle of a movie and having no idea what is going on. But... > The limit is PATH_MAX. You could have an absolute path that > uses all available > characters. > > -Steve > > > So looking at PATH_MAX... > include/linux/

Re: [PATCH] audit: Add cmdline to taskinfo output

2013-10-30 Thread William Roberts
On Wed, Oct 30, 2013 at 12:42 PM, Steve Grubb wrote: > On Tuesday, October 29, 2013 05:43:36 PM William Roberts wrote: > > >> I guess I could just set the comm field explicitly via the packagename > > >> when the classloader loads the value, but I was hoping for something > more > > >> generic th

Re: [PATCH] audit: Add cmdline to taskinfo output

2013-10-30 Thread Steve Grubb
On Tuesday, October 29, 2013 05:43:36 PM William Roberts wrote: > >> I guess I could just set the comm field explicitly via the packagename > >> when the classloader loads the value, but I was hoping for something more > >> generic that would > >> let me get larger package names then 16. > > > > I

Re: [PATCH] audit: Add cmdline to taskinfo output

2013-10-29 Thread William Roberts
On Tue, Oct 29, 2013 at 4:24 PM, William Roberts wrote: > > > > On Tue, Oct 29, 2013 at 1:25 PM, William Roberts > wrote: > >> >> >> >> On Tue, Oct 29, 2013 at 12:55 PM, Steve Grubb wrote: >> >>> On Tuesday, October 29, 2013 12:12:29 PM William Roberts wrote: >>> > > > to small for most package

Re: [PATCH] audit: Add cmdline to taskinfo output

2013-10-29 Thread William Roberts
On Tue, Oct 29, 2013 at 1:25 PM, William Roberts wrote: > > > > On Tue, Oct 29, 2013 at 12:55 PM, Steve Grubb wrote: > >> On Tuesday, October 29, 2013 12:12:29 PM William Roberts wrote: >> > > > to small for most package names, and >> > > > already contains the VM command. I really have no inform

Re: [PATCH] audit: Add cmdline to taskinfo output

2013-10-29 Thread William Roberts
On Tue, Oct 29, 2013 at 12:55 PM, Steve Grubb wrote: > On Tuesday, October 29, 2013 12:12:29 PM William Roberts wrote: > > > > to small for most package names, and > > > > already contains the VM command. I really have no information of what > > > > Android App has created the issue. > > > > > >

Re: [PATCH] audit: Add cmdline to taskinfo output

2013-10-29 Thread Steve Grubb
On Tuesday, October 29, 2013 12:12:29 PM William Roberts wrote: > > > to small for most package names, and > > > already contains the VM command. I really have no information of what > > > Android App has created the issue. > > > > This is true for all arches. Usually you can have it pretty narrow

Re: [PATCH] audit: Add cmdline to taskinfo output

2013-10-29 Thread William Roberts
On Tue, Oct 29, 2013 at 12:01 PM, Steve Grubb wrote: > Hello, > > On Tuesday, October 29, 2013 10:44:48 AM William Roberts wrote: > > On Tue, Oct 29, 2013 at 8:14 AM, Steve Grubb wrote: > > > On Monday, October 28, 2013 04:50:38 PM William Roberts wrote: > > I'm 100% ok with the dynamic option c

Re: [PATCH] audit: Add cmdline to taskinfo output

2013-10-29 Thread Steve Grubb
Hello, On Tuesday, October 29, 2013 10:44:48 AM William Roberts wrote: > On Tue, Oct 29, 2013 at 8:14 AM, Steve Grubb wrote: > > On Monday, October 28, 2013 04:50:38 PM William Roberts wrote: > I'm 100% ok with the dynamic option changing it from NULL to a real value > IMO a like that better then

Re: [PATCH] audit: Add cmdline to taskinfo output

2013-10-29 Thread William Roberts
On Tue, Oct 29, 2013 at 10:44 AM, William Roberts wrote: > > > > On Tue, Oct 29, 2013 at 8:14 AM, Steve Grubb wrote: > >> On Monday, October 28, 2013 04:50:38 PM William Roberts wrote: >> > On some devices, the cmdline and task info vary. For instance, on >> > Android, the cmdline is set to the p

Re: [PATCH] audit: Add cmdline to taskinfo output

2013-10-29 Thread William Roberts
On Tue, Oct 29, 2013 at 8:14 AM, Steve Grubb wrote: > On Monday, October 28, 2013 04:50:38 PM William Roberts wrote: > > On some devices, the cmdline and task info vary. For instance, on > > Android, the cmdline is set to the package name, and the task info > > is the name of the VM, which is not

Re: [PATCH] audit: Add cmdline to taskinfo output

2013-10-29 Thread Steve Grubb
On Monday, October 28, 2013 04:50:38 PM William Roberts wrote: > On some devices, the cmdline and task info vary. For instance, on > Android, the cmdline is set to the package name, and the task info > is the name of the VM, which is not very helpful. > > The additional cmdline output only runs if

[PATCH] audit: Add cmdline to taskinfo output

2013-10-28 Thread William Roberts
On some devices, the cmdline and task info vary. For instance, on Android, the cmdline is set to the package name, and the task info is the name of the VM, which is not very helpful. The additional cmdline output only runs if the audit feature AUDIT_FEATURE_CMDLINE_OUTPUT is set high at runtime.

[PATCH] audit: Add cmdline to taskinfo output

2013-10-28 Thread William Roberts
On some devices, the cmdline and task info vary. For instance, on Android, the cmdline is set to the package name, and the task info is the name of the VM, which is not very helpful. The additional cmdline output only runs if the audit feature Signed-off-by: William Roberts --- This will apply t

Re: [PATCH] audit: Add cmdline to taskinfo output

2013-10-28 Thread Richard Guy Briggs
On Mon, Oct 28, 2013 at 12:02:42PM -0700, William Roberts wrote: > On Mon, Oct 28, 2013 at 9:30 AM, William Roberts > wrote: > > On Mon, Oct 28, 2013 at 8:10 AM, Richard Guy Briggs wrote: > >> On Mon, Oct 28, 2013 at 06:48:48AM -0700, William Roberts wrote: > >> > On Wed, Oct 23, 2013 at 1:40 PM, W

Re: [PATCH] audit: Add cmdline to taskinfo output

2013-10-28 Thread William Roberts
s >> > wrote: >> > >> > > From 0a8623b8f9fa625da81364cf3b87d2799171f83e Mon Sep 17 00:00:00 2001 >> > > From: William Roberts >> > > Date: Tue, 22 Oct 2013 14:23:27 -0700 >> > > Subject: [PATCH] audit: Add cmdline to taskinfo output >> > > &g

Re: [PATCH] audit: Add cmdline to taskinfo output

2013-10-28 Thread William Roberts
00:00 2001 > > > From: William Roberts > > > Date: Tue, 22 Oct 2013 14:23:27 -0700 > > > Subject: [PATCH] audit: Add cmdline to taskinfo output > > > > > > On some devices, the cmdline and task info vary. For instance, on > > > Android, the cmdline

Re: [PATCH] audit: Add cmdline to taskinfo output

2013-10-28 Thread Richard Guy Briggs
> > Subject: [PATCH] audit: Add cmdline to taskinfo output > > > > On some devices, the cmdline and task info vary. For instance, on > > Android, the cmdline is set to the package name, and the task info > > is the name of the VM, which is not very helpful. > A f

Re: [PATCH] audit: Add cmdline to taskinfo output

2013-10-28 Thread William Roberts
On Wed, Oct 23, 2013 at 1:40 PM, William Roberts wrote: > From 0a8623b8f9fa625da81364cf3b87d2799171f83e Mon Sep 17 00:00:00 2001 > From: William Roberts > Date: Tue, 22 Oct 2013 14:23:27 -0700 > Subject: [PATCH] audit: Add cmdline to taskinfo output > > On some devices, the cmd

Re: [PATCH] audit: Add cmdline to taskinfo output

2013-10-24 Thread Richard Guy Briggs
On Wed, Oct 23, 2013 at 01:40:42PM -0700, William Roberts wrote: > >From 0a8623b8f9fa625da81364cf3b87d2799171f83e Mon Sep 17 00:00:00 2001 > From: William Roberts > Date: Tue, 22 Oct 2013 14:23:27 -0700 > Subject: [PATCH] audit: Add cmdline to taskinfo output Hi William (Bil

[PATCH] audit: Add cmdline to taskinfo output

2013-10-23 Thread William Roberts
>From 0a8623b8f9fa625da81364cf3b87d2799171f83e Mon Sep 17 00:00:00 2001 From: William Roberts Date: Tue, 22 Oct 2013 14:23:27 -0700 Subject: [PATCH] audit: Add cmdline to taskinfo output On some devices, the cmdline and task info vary. For instance, on Android, the cmdline is set to the pack