]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sanitize audit_mq_notify()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 10 Dec 2008 12:16:12 +0000 (07:16 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 4 Jan 2009 20:14:40 +0000 (15:14 -0500)
commit20114f71b27cafeb7c7e41d2b0f0b68c3fbb022b
treefcbb481cfec8c11f103ba07dbb08819de3822d80
parent7392906ea915b9a2c14dea32b3604b4e178f82f7
sanitize audit_mq_notify()

* don't copy_from_user() twice
* don't bother with allocations
* don't duplicate parts of audit_dummy_context()
* make it return void

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/audit.h
ipc/mqueue.c
kernel/auditsc.c