audit: consistently record PIDs with task_tgid_nr()
authorPaul Moore <paul@paul-moore.com>
Tue, 30 Aug 2016 21:19:13 +0000 (17:19 -0400)
committerPaul Moore <paul@paul-moore.com>
Tue, 30 Aug 2016 21:19:13 +0000 (17:19 -0400)
commitfa2bea2f5cca5b8d4a3e5520d2e8c0ede67ac108
treea7f49ec5a58e527f6a50cac7a628561688007629
parent523d939ef98fd712632d93a5a2b588e477a7565e
audit: consistently record PIDs with task_tgid_nr()

Unfortunately we record PIDs in audit records using a variety of
methods despite the correct way being the use of task_tgid_nr().
This patch converts all of these callers, except for the case of
AUDIT_SET in audit_receive_msg() (see the comment in the code).

Reported-by: Jeff Vander Stoep <jeffv@google.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
kernel/audit.c
kernel/auditsc.c
security/lsm_audit.c
This page took 0.025381 seconds and 5 git commands to generate.