[apparmor] Apparmor: Query on adding many capabilities in the custom header file
Murali Selvaraj
murali.selvaraj2003 at gmail.com
Tue Apr 20 17:01:19 UTC 2021
Hi All,
As per our design , we are applying certain capabilities to all my profiles.
-> created custom include files as follow in #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"
capability @{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