[apparmor] Apparmor profile: custom header file query
Murali Selvaraj
murali.selvaraj2003 at gmail.com
Mon Apr 19 17:46:11 UTC 2021
Hi All,
As per our design , we are applying certain capabilities to all my profiles.
-> created custom include files as follow #include "relative_path"
@{default_caps}=chown,dac_override,dac_read_search,fowner,fsetid,kill,ipc_lock,sys_nice,setpcap,ipc_owner,sys_ptrace,sys_chroot
-> Adding this header file in the required apparmor profiles.
#include "relative_path"
capabilty @{default_caps},
-> While parsing the apparmor profiles into Kernel, observing below errors.
syntax error, unexpected TOK_EQUALS, expecting TOK_MODE
Can someone help me to clarify the above queries.
Thanks
Murali.S
More information about the AppArmor
mailing list