audit: audit_context pid unused, context enum comment fix
authorRichard Guy Briggs <rgb@redhat.com>
Thu, 25 Aug 2022 19:32:37 +0000 (15:32 -0400)
committerPaul Moore <paul@paul-moore.com>
Fri, 26 Aug 2022 21:06:00 +0000 (17:06 -0400)
commite84d9f5214cb854fcd584aa78b5634794604d306
tree2962a84f6ba6a2468658831f080528ddbbece765
parent0351dc57b95b8b56f2a467122c13b6b16e0dc53f
audit: audit_context pid unused, context enum comment fix

The pid member of struct audit_context is never used.  Remove it.

The audit_reset_context() comment about unconditionally resetting
"ctx->state" should read "ctx->context".

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
kernel/audit.h
kernel/auditsc.c