]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
sanitize AUDIT_MQ_SENDRECV
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 14 Dec 2008 08:46:48 +0000 (03:46 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 4 Jan 2009 20:14:40 +0000 (15:14 -0500)
* logging the original value of *msg_prio in mq_timedreceive(2)
  is insane - the argument is write-only (i.e. syscall always
  ignores the original value and only overwrites it).
* merge __audit_mq_timed{send,receive}
* don't do copy_from_user() twice
* don't mess with allocations in auditsc part
* ... and don't bother checking !audit_enabled and !context in there -
  we'd already checked for audit_dummy_context().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

No differences found