Re: [PATCH] kernel: auditfilter: resource management, need process tree when audit_add_watch failed in audit_add_rule

2013-04-16 Thread Chen Gang
also please help checking this patch, when you have time. thanks. On 2013年04月12日 16:56, Chen Gang wrote: > > need call audit_put_tree, if tree is valid. > just like another area have done in function audit_add_rule. > > Signed-off-by: Chen Gang > --- > kernel/auditfilter.c |6

Re: [PATCH] kernel: auditfilter: resource management, need process tree when audit_add_watch failed in audit_add_rule

2013-04-16 Thread Chen Gang
also please help checking this patch, when you have time. thanks. On 2013年04月12日 16:56, Chen Gang wrote: need call audit_put_tree, if tree is valid. just like another area have done in function audit_add_rule. Signed-off-by: Chen Gang gang.c...@asianux.com ---

[PATCH] kernel: auditfilter: resource management, need process tree when audit_add_watch failed in audit_add_rule

2013-04-12 Thread Chen Gang
need call audit_put_tree, if tree is valid. just like another area have done in function audit_add_rule. Signed-off-by: Chen Gang --- kernel/auditfilter.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/kernel/auditfilter.c b/kernel/auditfilter.c index

[PATCH] kernel: auditfilter: resource management, need process tree when audit_add_watch failed in audit_add_rule

2013-04-12 Thread Chen Gang
need call audit_put_tree, if tree is valid. just like another area have done in function audit_add_rule. Signed-off-by: Chen Gang gang.c...@asianux.com --- kernel/auditfilter.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/kernel/auditfilter.c