summaryrefslogtreecommitdiffstats
path: root/kernel/audit.h
diff options
context:
space:
mode:
authorEric W. Biederman2012-09-11 09:24:49 +0200
committerEric W. Biederman2012-09-18 03:07:40 +0200
commit860c0aaff75e714c21d325f32d36a37572b4fffb (patch)
tree2cbe5e79108da3a44ba5e5af7fbe07d22f1ed35a /kernel/audit.h
parentaudit: Remove the unused uid parameter from audit_receive_filter (diff)
downloadkernel-qcow2-linux-860c0aaff75e714c21d325f32d36a37572b4fffb.tar.gz
kernel-qcow2-linux-860c0aaff75e714c21d325f32d36a37572b4fffb.tar.xz
kernel-qcow2-linux-860c0aaff75e714c21d325f32d36a37572b4fffb.zip
audit: Don't pass pid or uid to audit_log_common_recv_msg
The only place we use the uid and the pid that we calculate in audit_receive_msg is in audit_log_common_recv_msg so move the calculation of these values into the audit_log_common_recv_msg. Simplify the calcuation of the current pid and uid by reading them from current instead of reading them from NETLINK_CREDS. Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Eric Paris <eparis@redhat.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'kernel/audit.h')
0 files changed, 0 insertions, 0 deletions