I am trying to add appArrmor to my img (instructions).
This is the .config file that my device use.
I have add CONFIG_SECURITY_APPARMOR=y
CONFIG_SECURITY_APPARMOR_HASH=y
CONFIG_SECURITY_APPARMOR_HASH_DEFAULT=y
CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE=1
but sudo apparmor_status
still return
apparmor module is not loaded.
I have too questions
- Is there a way to show all the .config on the running machine to know if appArmor is indeed included.
- Are there other things that I need to set in order to make appArmor work.