]> git.baikalelectronics.ru Git - kernel.git/commit
audit: use inline function to set audit context
authorRichard Guy Briggs <rgb@redhat.com>
Sun, 13 May 2018 01:58:21 +0000 (21:58 -0400)
committerPaul Moore <paul@paul-moore.com>
Mon, 14 May 2018 21:45:21 +0000 (17:45 -0400)
commit2abd9b93ddde107de3639ca63e97ee9440ef8e57
tree6f3c9f546f71dc837d22b4c5a9167e1d7c33414e
parent0bf7311bc7b7d1fe8c2dd78c1d2469d755b78e1c
audit: use inline function to set audit context

Recognizing that the audit context is an internal audit value, use an
access function to set the audit context pointer for the task
rather than reaching directly into the task struct to set it.

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
[PM: merge fuzz in audit.h]
Signed-off-by: Paul Moore <paul@paul-moore.com>
include/linux/audit.h
kernel/auditsc.c
kernel/fork.c