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)
commite2c5adc88a0ffd4a715f630c3b83a1d5cbfd1cff
tree8672edc36d96ec1328e7596882bf666f23fa03d5
parent17c6ee707a32c8e67861a442f387def5b7f64cec
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