Re: [apparmor] Apparmor: Query on adding many capabilities in the custom header file

2021-04-22 Thread Seth Arnold
On Thu, Apr 22, 2021 at 09:15:27PM +0530, Murali Selvaraj wrote: > @{default_caps}=chown,dac_override,dac_read_search,fowner,fsetid,kill,ipc_lock,sys_nice,setpcap,pc_owner,sys_ptrace,sys_chroot Variables don't work for the capabilities. They aren't like files. Make a new abstraction file with: c

Re: [apparmor] Apparmor: Query on adding many capabilities in the custom header file

2021-04-22 Thread Murali Selvaraj
Hi John, I am still facing below error while parsing the profile. While parsing profiles sh -x /etc/apparmor/apparmor_parse.sh AppArmor parser error for /nvram2/apparmor_boot/usr.bin.test in /nvram2/apparmor_boot/usr.bin.test at line 5: syntax error, unexpected TOK_SET_VAR, expecting TOK_ID or TO