I try to install apparmor on armv7h linux-raspberrypi. It seems, that LSM support (# CONFIG_SECURITY is not set) is not configured into this kernel.
I assume, that
CONFIG_SECURITY=y
CONFIG_SECURITY_APPARMOR=y
CONFIG_SECURITY_APPARMOR_HASH=y
CONFIG_SECURITY_APPARMOR_HASH_DEFAULT=y
and - because of 'CONFIG_LSM="lockdown,yama,loadpin,safesetid,integrity"'
CONFIG_SECURITY_LOCKDOWN_LSM=y
CONFIG_SECURITY_YAMA=y
CONFIG_SECURITY_LOADPIN=y
CONFIG_SECURITY_SAFESETID=y
need to be set.
Can we discuss that please, before continuing to fork the package (?) according to 'Bug Reports, Feature Requests and Pull Requests'.