The base smack config is already set by meta-intel-iot-security
with a linux-%.bbappend, which applies to all kernels. i
See: meta-intel-iot-security/meta-security-smack/recipes-kernel/linux/
Bug-AGL: SPEC-450
Change-Id: I3fe57d5396827f48f18e2f04bf6f0c4d5ee4a894
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
+++ /dev/null
-CONFIG_DEFAULT_SECURITY="smack"
-CONFIG_DEFAULT_SECURITY_SMACK=y
+++ /dev/null
-CONFIG_IP_NF_SECURITY=m
-CONFIG_IP6_NF_SECURITY=m
-CONFIG_EXT2_FS_SECURITY=y
-CONFIG_EXT3_FS_SECURITY=y
-CONFIG_EXT4_FS_SECURITY=y
-CONFIG_SECURITY=y
-CONFIG_SECURITY_SMACK=y
-CONFIG_TMPFS_XATTR=y
"
# Extra configuration options
-SRC_URI += "file://smack.cfg \
- file://smack-default-lsm.cfg \
- file://fanotify.cfg \
+SRC_URI += "file://fanotify.cfg \
file://uinput.cfg \
file://hid.cfg "
-KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/smack.cfg ${WORKDIR}/smack-default-lsm.cfg ${WORKDIR}/fanotify.cfg ${WORKDIR}/uinput.cfg ${WORKDIR}/hid.cfg"
+KERNEL_CONFIG_FRAGMENTS_append = " ${WORKDIR}/fanotify.cfg ${WORKDIR}/uinput.cfg ${WORKDIR}/hid.cfg"
# Enable support for TP-Link TL-W722N USB Wifi adapter
SRC_URI += " file://ath9k_htc.cfg "