diff options
author | Richard Guy Briggs <rgb@redhat.com> | 2022-08-25 15:32:37 -0400 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2022-08-26 17:06:00 -0400 |
commit | e84d9f5214cb854fcd584aa78b5634794604d306 (patch) | |
tree | 2962a84f6ba6a2468658831f080528ddbbece765 /kernel/audit.h | |
parent | 0351dc57b95b8b56f2a467122c13b6b16e0dc53f (diff) | |
download | lwn-e84d9f5214cb854fcd584aa78b5634794604d306.tar.gz lwn-e84d9f5214cb854fcd584aa78b5634794604d306.zip |
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>
Diffstat (limited to 'kernel/audit.h')
-rw-r--r-- | kernel/audit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit.h b/kernel/audit.h index 58b66543b4d5..d6eb7b59c791 100644 --- a/kernel/audit.h +++ b/kernel/audit.h @@ -133,7 +133,7 @@ struct audit_context { struct sockaddr_storage *sockaddr; size_t sockaddr_len; /* Save things to print about task_struct */ - pid_t pid, ppid; + pid_t ppid; kuid_t uid, euid, suid, fsuid; kgid_t gid, egid, sgid, fsgid; unsigned long personality; |