auditsc: Use kzalloc instead of kmalloc+memset.
authorRakib Mullick <rakib.mullick@gmail.com>
Sun, 7 Apr 2013 10:14:18 +0000 (16:14 +0600)
committerEric Paris <eparis@redhat.com>
Wed, 10 Apr 2013 19:18:24 +0000 (15:18 -0400)
commit17c6ee707a32c8e67861a442f387def5b7f64cec
treedf3d8b2164badcd26d8079c769196860dc2ea7a4
parent2950fa9d3291b90e9b7663b6a409ea37a97a5e35
auditsc: Use kzalloc instead of kmalloc+memset.

  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 <rakib.mullick@gmail.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/auditsc.c