Skip to content
Commit c32c8af4 authored by Al Viro's avatar Al Viro
Browse files

sanitize AUDIT_MQ_SENDRECV



* 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: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 20114f71
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment