aboutsummaryrefslogtreecommitdiff
path: root/kernel/audit.c
Commit message (Collapse)AuthorAgeFilesLines
* fix GCC 6.X tautological-compare warningsAlex Tsanis2018-11-301-0/+9
| | | | | | partial-merge (no qcom/msm drivers) Signed-off-by: Alex Tsanis <alextsanisbadlorg@gmail.com> Signed-off-by: Moyster <oysterized@gmail.com>
* BACKPORT: audit: consistently record PIDs with task_tgid_nr()Paul Moore2017-12-281-1/+7
| | | | | | | | | | | | | | | | | 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> Bug: 28952093 (cherry picked from commit fa2bea2f5cca5b8d4a3e5520d2e8c0ede67ac108) Signed-off-by: Jeff Vander Stoep <jeffv@google.com> Change-Id: I36508a25c957f5108299e68a3b0f627c94eb27eb Signed-off-by: Joe Maples <joe@frap129.org>
* Revert "audit: kiss goodbye you stupid piece of crap logging messages."Moyster2016-09-151-1/+1
| | | | This reverts commit 207f5d933450512d44043ee9436a95f175598137.
* audit: kiss goodbye you stupid piece of crap logging messages.Francisco Franco2016-08-261-1/+1
| | | | | | Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com> Signed-off-by: engstk <eng.stk@sapo.pt> Signed-off-by: Stefan Guendhoer <stefan@guendhoer.com>
* first commitMeizu OpenSource2016-08-151-0/+1779