]> git.baikalelectronics.ru Git - kernel.git/commit
auditsc: remove audit_set_context() altogether - fold it into its caller
authorAndrew Morton <akpm@linux-foundation.org>
Mon, 8 Apr 2013 21:43:41 +0000 (14:43 -0700)
committerEric Paris <eparis@redhat.com>
Wed, 10 Apr 2013 19:18:50 +0000 (15:18 -0400)
commit5ab8f7724034d648710cfe4f696b4f0dbb05482e
tree8672edc36d96ec1328e7596882bf666f23fa03d5
parent5a9619ec2e7d19fef62956ac940f068e70779d73
auditsc: remove audit_set_context() altogether - fold it into its caller

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

Fair enough.  I'd go futher...

Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Eric Paris <eparis@redhat.com>
Cc: Rakib Mullick <rakib.mullick@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/auditsc.c