diff options
| author | Eric W. Biederman <[email protected]> | 2012-09-11 00:24:49 -0700 |
|---|---|---|
| committer | Eric W. Biederman <[email protected]> | 2012-09-17 18:07:40 -0700 |
| commit | 860c0aaff75e714c21d325f32d36a37572b4fffb (patch) | |
| tree | 2cbe5e79108da3a44ba5e5af7fbe07d22f1ed35a /scripts/patch-kernel | |
| parent | 017143fecb3364e5fed8107d206799899f5dd684 (diff) | |
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 <[email protected]>
Cc: Eric Paris <[email protected]>
Signed-off-by: "Eric W. Biederman" <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions