aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2018-10-05 16:11:47 +0000
committerJohn Johansen <[email protected]>2018-10-13 00:09:56 +0000
commite1af4779617928efa84562de4de5dc071e7deb08 (patch)
treeb05e03c84febe4c0f0967b6260abb7c06677cc23 /tools/perf/scripts/python/call-graph-from-sql.py
parentapparmor: Fix uninitialized value in aa_split_fqname (diff)
downloadkernel-e1af4779617928efa84562de4de5dc071e7deb08.tar.gz
kernel-e1af4779617928efa84562de4de5dc071e7deb08.zip
apparmor: add #ifdef checks for secmark filtering
The newly added code fails to build when either SECMARK or NETFILTER are disabled: security/apparmor/lsm.c: In function 'apparmor_socket_sock_rcv_skb': security/apparmor/lsm.c:1138:12: error: 'struct sk_buff' has no member named 'secmark'; did you mean 'mark'? security/apparmor/lsm.c:1671:21: error: 'struct nf_hook_state' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] Add a set of #ifdef checks around it to only enable the code that we can compile and that makes sense in that configuration. Fixes: ab9f2115081a ("apparmor: Allow filtering based on secmark policy") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: John Johansen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions