# apparmor.d - Full set of apparmor profiles # Copyright (C) 2024 Alexandre Pujol # SPDX-License-Identifier: GPL-2.0-only abi , include @{exec_path} = @{bin}/gitg profile gitg @{exec_path} { include include include include include include include network inet dgram, network inet6 dgram, network inet stream, network inet6 stream, network netlink raw, @{exec_path} mr, /usr/share/gitg/{,**} r, owner @{user_projects_dirs}/ rw, owner @{user_projects_dirs}/** rwkl -> @{user_projects_dirs}/**, owner @{user_projects_dirs}/**/.git/hooks/* rix, owner @{user_config_dirs}/git/{,*} rw, owner @{user_share_dirs}/gitg/{,**} rw, @{run}/mount/utab r, owner @{PROC}/@{pid}/mountinfo r, include if exists } # vim:syntax=apparmor