On Tue, Apr 9, 2013 at 3:43 AM, Andrew Morton wrote:
>
> Fair enough. I'd go futher...
>
> From: Andrew Morton
> Subject: auditsc-use-kzalloc-instead-of-kmallocmemset-fix
>
> remove audit_set_context() altogether - fold it into its caller
>
> Cc: Al Viro
> Cc: Eric Paris
> Cc: Rakib Mullick
>
On Sun, 07 Apr 2013 16:14:18 +0600 Rakib Mullick
wrote:
> In function audit_alloc_context(), use kzalloc, instead of kmalloc+memset.
> Patch also renames audit_zero_context() to
> audit_set_context(), to represent it's inner workings properly.
>
> ...
>
> --- a/kernel/auditsc.c
> +++ b/kern
In function audit_alloc_context(), use kzalloc, instead of kmalloc+memset.
Patch also renames audit_zero_context() to
audit_set_context(), to represent it's inner workings properly.
Signed-off-by: Rakib Mullick
---
diff --git a/kernel/auditsc.c b/kernel/auditsc.c
index a371f85..f5b6dc5 10064
3 matches
Mail list logo