Commit 43635ecb authored by Paul Moore's avatar Paul Moore Committed by Jeff Vander Stoep
Browse files

BACKPORT: 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: default avatarJeff Vander Stoep <jeffv@google.com>
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>

Bug: 28952093

(cherry picked from commit fa2bea2f)
Signed-off-by: default avatarJeff Vander Stoep <jeffv@google.com>
Change-Id: I2150a60cb5886b3f9206f3b36d393657812e1e31
parent 06014c3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment