]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5a9619ec2e7d19fef62956ac940f068e70779d73
treedf3d8b2164badcd26d8079c769196860dc2ea7a4
parent15276dafe25015f918d54c7047ba2e512c26616e
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