How to add appArmor to linux distributions

175 Views Asked by At

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

  1. Is there a way to show all the .config on the running machine to know if appArmor is indeed included.
  2. Are there other things that I need to set in order to make appArmor work.
0

There are 0 best solutions below