Re: [PATCH v2] audit: remove useless code in audit_enable

2013-10-31 Thread Richard Guy Briggs
On Thu, Oct 31, 2013 at 02:31:01PM +0800, Gao feng wrote: > Since kernel parameter is operated before > initcall, so the audit_initialized must be > AUDIT_UNINITIALIZED or DISABLED in audit_enable. I've queued this patch. Thanks! > Signed-off-by: Gao feng > --- > kernel/audit.c | 13

[PATCH v2] audit: remove useless code in audit_enable

2013-10-31 Thread Gao feng
Since kernel parameter is operated before initcall, so the audit_initialized must be AUDIT_UNINITIALIZED or DISABLED in audit_enable. Signed-off-by: Gao feng --- kernel/audit.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) change from v1: convert "printk(KERN_INFO " to

[PATCH v2] audit: remove useless code in audit_enable

2013-10-31 Thread Gao feng
Since kernel parameter is operated before initcall, so the audit_initialized must be AUDIT_UNINITIALIZED or DISABLED in audit_enable. Signed-off-by: Gao feng gaof...@cn.fujitsu.com --- kernel/audit.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) change from v1: convert

Re: [PATCH v2] audit: remove useless code in audit_enable

2013-10-31 Thread Richard Guy Briggs
On Thu, Oct 31, 2013 at 02:31:01PM +0800, Gao feng wrote: Since kernel parameter is operated before initcall, so the audit_initialized must be AUDIT_UNINITIALIZED or DISABLED in audit_enable. I've queued this patch. Thanks! Signed-off-by: Gao feng gaof...@cn.fujitsu.com ---