]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sanitize audit_mq_open()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 14 Dec 2008 09:02:26 +0000 (04:02 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 4 Jan 2009 20:14:41 +0000 (15:14 -0500)
commit564f6993ffef656aebaf46cf2f1f6cb4f5c97207
tree0bf1ee553ab1241338fe522ffbaed8cd48e10c99
parentc32c8af43b9adde8d6f938d8e6328c13b8de79ac
sanitize audit_mq_open()

* don't bother with allocations
* don't do double copy_from_user()
* don't duplicate parts of check for audit_dummy_context()

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