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 sgr...@redhat.com 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

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 sgr...@redhat.com wrote: On Wednesday, October 30, 2013 01:18:13 PM William Roberts wrote: On Wed, Oct 30, 2013 at 12:42 PM, Steve Grubb sgr...@redhat.com wrote: Again... the comm field got cut off and now I have no idea again. Which is

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 r...@redhat.com 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 sgr...@redhat.com wrote: On Wednesday, October 30, 2013 01:18:13 PM William Roberts wrote: On Wed, Oct

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 sgr...@redhat.com wrote: On Wednesday, October 30, 2013 01:18:13 PM William Roberts wrote: On Wed, Oct 30, 2013 at 12:42 PM, Steve Grubb sgr...@redhat.com wrote: I have compiled

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 r...@redhat.com 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 r...@redhat.com wrote: On Thu, Oct 31, 2013 at 08:24:11AM -0700, William Roberts wrote: On

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 bill.c.robe...@gmail.comwrote: On Thu, Oct 31, 2013 at 8:46 AM, Richard Guy Briggs r...@redhat.comwrote: 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 r...@redhat.com

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 made the

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 sgr...@redhat.com 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

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...

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 epa...@redhat.com 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

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 the

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 sgr...@redhat.com 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,

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 sgr...@redhat.com 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

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 sgr...@redhat.com 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 sgr...@redhat.com wrote: On Monday, October 28, 2013 04:50:38 PM William Roberts wrote: I'm 100% ok

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 narrowly defined

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 sgr...@redhat.com 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 William Roberts
On Tue, Oct 29, 2013 at 1:25 PM, William Roberts bill.c.robe...@gmail.comwrote: On Tue, Oct 29, 2013 at 12:55 PM, Steve Grubb sgr...@redhat.com wrote: On Tuesday, October 29, 2013 12:12:29 PM William Roberts wrote: to small for most package names, and already contains the VM

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 bill.c.robe...@gmail.comwrote: On Tue, Oct 29, 2013 at 1:25 PM, William Roberts bill.c.robe...@gmail.com wrote: On Tue, Oct 29, 2013 at 12:55 PM, Steve Grubb sgr...@redhat.com wrote: On Tuesday, October 29, 2013 12:12:29 PM William

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 bill.c.robe...@gmail.comwrote: From 0a8623b8f9fa625da81364cf3b87d2799171f83e Mon Sep 17 00:00:00 2001 From: William Roberts wrobe...@tresys.com Date: Tue, 22 Oct 2013 14:23:27 -0700 Subject: [PATCH] audit: Add cmdline to taskinfo output

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

2013-10-28 Thread Richard Guy Briggs
: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 package name, and the task info is the name of the VM, which is not very helpful. snip A few notes on this moving forward

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

2013-10-28 Thread William Roberts
2001 From: William Roberts wrobe...@tresys.com 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 package name, and the task info

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

2013-10-28 Thread William Roberts
...@gmail.comwrote: From 0a8623b8f9fa625da81364cf3b87d2799171f83e Mon Sep 17 00:00:00 2001 From: William Roberts wrobe...@tresys.com 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

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 bill.c.robe...@gmail.comwrote: On Mon, Oct 28, 2013 at 8:10 AM, Richard Guy Briggs r...@redhat.comwrote: On Mon, Oct 28, 2013 at 06:48:48AM -0700, William Roberts wrote: On

[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 wrobe...@tresys.com

[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.

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 wrobe...@tresys.com Date: Tue, 22 Oct 2013 14:23:27 -0700 Subject: [PATCH] audit: Add cmdline to taskinfo output Hi William (Bill

[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 wrobe...@tresys.com 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