diff options
author | Sergey Nazarov <[email protected]> | 2021-06-08 09:32:06 +0300 |
---|---|---|
committer | Paul Moore <[email protected]> | 2021-06-08 22:05:24 -0400 |
commit | 619ed58ac4e2fbed71ac05f664a4a17e32537176 (patch) | |
tree | 284e66e9f6da7db0cec7958bd847178b5687f968 /scripts/gdb/linux/tasks.py | |
parent | 254c8b96c4af02a09004d605c7f2dfad7f1cb5ca (diff) |
audit: Rename enum audit_state constants to avoid AUDIT_DISABLED redefinition
AUDIT_DISABLED defined in kernel/audit.h as element of enum audit_state
and redefined in kernel/audit.c. This produces a warning when kernel builds
with syscalls audit disabled and brokes kernel build if -Werror used.
enum audit_state used in syscall audit code only. This patch changes
enum audit_state constants prefix AUDIT to AUDIT_STATE to avoid
AUDIT_DISABLED redefinition.
Signed-off-by: Sergey Nazarov <[email protected]>
Acked-by: Richard Guy Briggs <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions