update apparmor profiles

This commit is contained in:
Alexandre Pujol 2021-10-22 15:41:13 +01:00
parent 6c34573727
commit 7da59b4984
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
18 changed files with 122 additions and 6 deletions

View file

@ -52,6 +52,14 @@ profile git @{exec_path} {
/{usr/,}bin/cat rix,
/{usr/,}bin/dirname rix,
owner @{BUILD_DIR}/*/.repo/repo/hooks/* rwix,
/{usr/,}bin/mv rix,
/{usr/,}bin/whoami rix,
/{usr/,}bin/hostname rix,
/{usr/,}bin/rm rix,
/{usr/,}bin/cat rix,
/{usr/,}bin/date rix,
/{usr/,}bin/pager rPx -> child-pager,
/{usr/,}bin/less rPx -> child-pager,
/{usr/,}bin/more rPx -> child-pager,
@ -71,7 +79,7 @@ profile git @{exec_path} {
/{usr/,}bin/vim rCx -> editor,
/{usr/,}bin/vim.* rCx -> editor,
owner @{HOME}/.gitconfig rw,
owner @{HOME}/.gitconfig r,
owner @{user_config_dirs}/git/{,*} rw,
/usr/share/git-core/{,**} r,