aboutsummaryrefslogtreecommitdiff
path: root/net/core/skmsg.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2019-11-21 16:58:53 +0100
committerDavid S. Miller <davem@davemloft.net>2019-11-21 12:14:49 -0800
commit7599a896f2e46e9c072e02a8299a67d4d2f96675 (patch)
treea7ebc80127a1ec2b54d047aa8d37b76cbcba3b32 /net/core/skmsg.c
parent43da14110cb4d20de0b4b097da88addefeab5f13 (diff)
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 <lkp@intel.com> Signed-off-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/skmsg.c')
0 files changed, 0 insertions, 0 deletions