summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorCasey Schaufler <casey@schaufler-ca.com>2015-01-23 09:31:01 -0800
committerCasey Schaufler <casey@schaufler-ca.com>2015-01-23 10:08:19 -0800
commit82b0b2c2b1e64ad6c5309a9eeba806af9812666b (patch)
tree65e9a739aa347f452697dd8efd6a877adf2aa829 /security
parent6d1cff2a885850b78b40c34777b46cf5da5d1050 (diff)
downloadlinux-rpi3-82b0b2c2b1e64ad6c5309a9eeba806af9812666b.tar.gz
linux-rpi3-82b0b2c2b1e64ad6c5309a9eeba806af9812666b.tar.bz2
linux-rpi3-82b0b2c2b1e64ad6c5309a9eeba806af9812666b.zip
Smack: Repair netfilter dependency
On 1/23/2015 8:20 AM, Jim Davis wrote: > Building with the attached random configuration file, > > security/smack/smack_netfilter.c: In function ‘smack_ipv4_output’: > security/smack/smack_netfilter.c:55:6: error: ‘struct sk_buff’ has no > member named ‘secmark’ > skb->secmark = skp->smk_secid; > ^ > make[2]: *** [security/smack/smack_netfilter.o] Error 1 The existing Makefile used the wrong configuration option to determine if smack_netfilter should be built. This sets it right. Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'security')
-rw-r--r--security/smack/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/smack/Makefile b/security/smack/Makefile
index 616cf93b368e..ee2ebd504541 100644
--- a/security/smack/Makefile
+++ b/security/smack/Makefile
@@ -5,4 +5,4 @@
obj-$(CONFIG_SECURITY_SMACK) := smack.o
smack-y := smack_lsm.o smack_access.o smackfs.o
-smack-$(CONFIG_NETFILTER) += smack_netfilter.o
+smack-$(CONFIG_SECURITY_SMACK_NETFILTER) += smack_netfilter.o