diff options
| author | Jiri Olsa <[email protected]> | 2019-11-21 15:58:53 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-11-21 20:14:49 +0000 |
| commit | 7599a896f2e46e9c072e02a8299a67d4d2f96675 (patch) | |
| tree | a7ebc80127a1ec2b54d047aa8d37b76cbcba3b32 /net/tipc/node.c | |
| parent | net: Fix Kconfig indentation, continued (diff) | |
| download | kernel-7599a896f2e46e9c072e02a8299a67d4d2f96675.tar.gz kernel-7599a896f2e46e9c072e02a8299a67d4d2f96675.zip | |
audit: Move audit_log_task declaration under CONFIG_AUDITSYSCALL
The 0-DAY found that audit_log_task is not declared under
CONFIG_AUDITSYSCALL which causes compilation error when
it is not defined:
kernel/bpf/syscall.o: In function `bpf_audit_prog.isra.30':
>> syscall.c:(.text+0x860): undefined reference to `audit_log_task'
Adding the audit_log_task declaration and stub within
CONFIG_AUDITSYSCALL ifdef.
Fixes: 91e6015b082b ("bpf: Emit audit messages upon successful prog load and unload")
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
