[PATCH] audit: listen in all network namespaces

2013-07-16 Thread Richard Guy Briggs
Convert audit from only listening in init_net to use register_pernet_subsys() to dynamically manage the netlink socket list. Signed-off-by: Richard Guy Briggs --- kernel/audit.c | 64 ++- kernel/audit.h |4 +++ 2 files changed, 57 inserti

[PATCH] audit: restore order of tty and ses fields in log output

2013-07-16 Thread Richard Guy Briggs
When being refactored from audit_log_start() to audit_log_task_info(), in commit e23eb920 the tty and ses fields in the log output got transposed. Restore to original order to avoid breaking search tools. Cc: sta...@vger.kernel.org # v3.6 Cc: Eric Paris Signed-off-by: Richard Guy Briggs --- ker

Re: [PATCH] audit: listen in all network namespaces

2013-07-16 Thread Gao feng
Hi, Richard On 07/17/2013 04:32 AM, Richard Guy Briggs wrote: > Convert audit from only listening in init_net to use register_pernet_subsys() > to dynamically manage the netlink socket list. > > Signed-off-by: Richard Guy Briggs > --- Right now audit still can't be used in uninit pid/user name