feat(profile): general update.

This commit is contained in:
Alexandre Pujol 2024-01-21 11:56:02 +00:00
parent 05b47adb13
commit 42fc4622ed
Failed to generate hash of commit
42 changed files with 154 additions and 94 deletions

View file

@ -11,7 +11,7 @@ include <tunables/global>
@{config_dirs} = @{HOME}/.mozilla/
@{exec_path} = @{lib_dirs}/glxtest
profile firefox-glxtest @{exec_path} {
profile firefox-glxtest @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/graphics>
include <abstractions/nameservice-strict>

View file

@ -11,7 +11,7 @@ include <tunables/global>
@{config_dirs} = @{HOME}/.mozilla/
@{exec_path} = @{lib_dirs}/vaapitest
profile firefox-vaapitest @{exec_path} {
profile firefox-vaapitest @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/graphics>

View file

@ -64,6 +64,8 @@ profile polkitd @{exec_path} flags=(attach_disconnected) {
@{PROC}/cmdline r,
@{PROC}/sys/kernel/osrelease r,
owner @{PROC}/@{pid}/fdinfo/@{int} r,
# Silencer
deny /.cache/ rw,

View file

@ -37,6 +37,8 @@ profile update-desktop-database @{exec_path} flags=(attach_disconnected) {
owner @{user_share_dirs}/.mimeinfo.cache.* rw,
owner @{user_share_dirs}/{,**/} r,
owner @{user_share_dirs}/**.desktop r,
owner @{user_share_dirs}/applications/.mimeinfo.cache.* rw,
owner @{user_share_dirs}/applications/mimeinfo.cache w,
owner @{user_share_dirs}/mimeinfo.cache w,
# Inherit silencer

View file

@ -1,5 +1,6 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2018-2021 Mikhail Morfikov
# Copyright (C) 2021-2023 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
@ -7,7 +8,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/xdg-icon-resource
profile xdg-icon-resource @{exec_path} flags=(complain) {
profile xdg-icon-resource @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/consoles>
include <abstractions/nameservice-strict>

View file

@ -7,7 +7,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/xdg-user-dir
profile xdg-user-dir @{exec_path} {
profile xdg-user-dir @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
@{exec_path} mr,

View file

@ -36,6 +36,7 @@ profile epiphany-search-provider @{exec_path} {
owner /tmp/Serialized* rw,
@{sys}/devices/virtual/dmi/id/chassis_type r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/user@@{uid}.service/app.slice/*org.gnome.Epiphany.SearchProvider.slice/*/memory.* r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/user@@{uid}.service/session.slice/dbus.service/memory.* r,
@{PROC}/driver/nvidia/params r,

View file

@ -60,12 +60,13 @@ profile gdm-session-worker @{exec_path} flags=(attach_disconnected) {
@{exec_path} mrix,
@{bin}/gnome-keyring-daemon rPx,
@{bin}/unix_chkpwd rPx,
@{etc_ro}/X11/xdm/Xstartup rPUx,
@{lib}/{,gdm/}gdm-wayland-session rPx,
@{lib}/{,gdm/}gdm-x-session rPx,
/etc/gdm{3,}/{Pre,Post}Session/Default rix,
/etc/gdm{3,}/PostLogin/Default rix,
/etc/gdm{3,}/PrimeOff/Default rix,
@{etc_ro}/X11/xdm/Xstartup rPUx,
/usr/share/gdm/gdm.schemas r,
/usr/share/wayland-sessions/*.desktop r,

View file

@ -72,6 +72,7 @@ profile gjs-console @{exec_path} flags=(attach_disconnected) {
owner @{user_cache_dirs}/gstreamer-1.0/ rw,
owner @{user_cache_dirs}/gstreamer-1.0/registry.*.bin{,.tmp@{rand6}} rw,
owner @{PROC}/@{pid}/cmdline r,
owner @{PROC}/@{pid}/fd/ r,
owner @{PROC}/@{pid}/mounts r,
owner @{PROC}/@{pid}/stat r,

View file

@ -9,6 +9,7 @@ include <tunables/global>
@{exec_path} = @{lib}/gnome-contacts-search-provider
profile gnome-contacts-search-provider @{exec_path} {
include <abstractions/base>
include <abstractions/bus-session>
include <abstractions/dconf-write>
include <abstractions/gnome-strict>
include <abstractions/graphics>
@ -16,6 +17,8 @@ profile gnome-contacts-search-provider @{exec_path} {
signal (send) set=(term) peer=unconfined,
# dbus own bus=session name=org.gnome.Contacts.SearchProvider
@{exec_path} mr,
owner @{user_share_dirs}/folks/{,**/} rw,

View file

@ -145,6 +145,7 @@ profile gnome-control-center @{exec_path} flags=(attach_disconnected) {
owner @{PROC}/@{pid}/cgroup r,
owner @{PROC}/@{pid}/cmdline r,
owner @{PROC}/@{pid}/fd/ r,
owner @{PROC}/@{pid}/fdinfo/@{int} r,
owner @{PROC}/@{pid}/loginuid r,
owner @{PROC}/@{pid}/maps r,
owner @{PROC}/@{pid}/mountinfo r,

View file

@ -44,6 +44,7 @@ profile gnome-control-center-goa-helper @{exec_path} {
@{lib}/{,@{multiarch}/}webkit{,2}gtk-*/WebKitNetworkProcess rix,
/usr/share/cracklib/* r,
/usr/share/publicsuffix/public_suffix_list.dafsa r,
/var/lib/flatpak/exports/share/icons/{,**} r,

View file

@ -373,6 +373,7 @@ profile gnome-shell @{exec_path} flags=(attach_disconnected) {
@{PROC}/sys/kernel/osrelease r,
@{PROC}/sys/net/ipv{4,6}/conf/all/disable_ipv{4,6} r,
owner @{PROC}/@{pid}/fd/ r,
owner @{PROC}/@{pid}/fdinfo/@{int} r,
owner @{PROC}/@{pid}/mountinfo r,
owner @{PROC}/@{pid}/mounts r,
owner @{PROC}/@{pid}/task/@{pid}/cmdline r,

View file

@ -38,6 +38,7 @@ profile org.gnome.NautilusPreviewer @{exec_path} {
@{run}/udev/data/c@{dynamic}:@{int} r, # For dynamic assignment range 234 to 254, 384 to 511
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/user@@{uid}.service/app.slice/a*org.gnome.NautilusPreviewer.slice/*/memory.* r,
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/user@@{uid}.service/session.slice/dbus.service/memory.* r,
@{PROC}/@{pid}/cgroup r,

View file

@ -41,6 +41,7 @@ profile gvfsd-smb-browse @{exec_path} {
/var/cache/samba/ rw,
/var/lib/samba/** rwk,
owner /var/cache/samba/gencache.tdb w,
owner @{run}/samba/ rw,
owner @{run}/samba/gencache.tdb rwk,

View file

@ -77,6 +77,7 @@ profile pacman @{exec_path} {
@{bin}/grep rix,
@{bin}/groupadd rPx,
@{bin}/gtk-query-immodules-{2,3}.0 rPx,
@{bin}/gtk{,4}-update-icon-cache rPx,
@{bin}/head rix,
@{bin}/install-catalog rPx,
@{bin}/install-info rPx,
@ -86,6 +87,7 @@ profile pacman @{exec_path} {
@{bin}/ldconfig rix,
@{bin}/ln rix,
@{bin}/locale-gen rPx,
@{bin}/mkdir rix,
@{bin}/mkinitcpio rPx,
@{bin}/needrestart rPx,
@{bin}/pacdiff rPx,
@ -93,14 +95,13 @@ profile pacman @{exec_path} {
@{bin}/perl rix,
@{bin}/pkgfile rPUx,
@{bin}/pkill rix,
@{bin}/mkdir rix,
@{bin}/setfacl rix,
@{bin}/pwd rix,
@{bin}/rm rix,
@{bin}/rsync rix,
@{bin}/sbctl rPx,
@{bin}/sed rix,
@{bin}/setcap rix,
@{bin}/setfacl rix,
@{bin}/sync rix,
@{bin}/sysctl rPx,
@{bin}/systemctl rPx -> child-systemctl,

View file

@ -7,8 +7,9 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /usr/share/libalpm/scripts/dkms
profile pacman-hook-dkms @{exec_path} {
profile pacman-hook-dkms @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/consoles>
capability dac_read_search,
capability mknod,

View file

@ -0,0 +1,28 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2023 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /usr/share/libalpm/scripts/gtk4-querymodules
profile pacman-hook-gtk4-querymodules @{exec_path} {
include <abstractions/base>
capability dac_read_search,
@{exec_path} mr,
@{bin}/{,ba,da}sh r,
@{bin}/rmdir rix,
@{bin}/gio-querymodules rPx,
@{lib}/gtk-4.0/*/*/ w,
# Inherit Silencer
deny network inet6 stream,
deny network inet stream,
include if exists <local/pacman-hook-gtk4-querymodules>
}

View file

@ -14,8 +14,6 @@ profile pacman-hook-mkinitcpio @{exec_path} flags=(attach_disconnected) {
capability dac_read_search,
capability mknod,
audit deny unix (receive) type=stream,
@{exec_path} mr,
@{bin}/bash rix,

View file

@ -33,7 +33,7 @@ profile pacman-key @{exec_path} {
/usr/share/pacman/keyrings/{,*} r,
/usr/share/terminfo/** r,
/etc/pacman.d/gnupg/gpg.conf r,
/etc/pacman.d/gnupg/* rw,
/dev/tty rw,

View file

@ -66,6 +66,7 @@ profile sshd @{exec_path} flags=(attach_disconnected) {
@{bin}/false rix,
@{bin}/nologin rPx,
@{bin}/passwd rPx,
@{bin}/unix_chkpwd rPx,
@{lib}/openssh/sftp-server rPx,
@{etc_ro}/environment r,

View file

@ -10,6 +10,10 @@ include <tunables/global>
profile busctl @{exec_path} {
include <abstractions/base>
include <abstractions/nameservice-strict>
include <abstractions/systemd-common>
capability net_admin,
capability sys_ptrace,
ptrace (read),

View file

@ -15,6 +15,8 @@ profile systemd-generator-environment-flatpak @{exec_path} {
@{bin}/flatpak rix,
/usr/{local/,}share/gvfs/remote-volume-monitors/{,*} r,
/dev/tty rw,
include if exists <local/systemd-generator-environment-flatpak>

View file

@ -23,6 +23,7 @@ profile systemd-hostnamed @{exec_path} flags=(attach_disconnected) {
@{etc_rw}/.#hostname* rw,
@{etc_rw}/hostname rw,
/etc/.#machine-info@{rand6} rw,
/etc/machine-id r,
/etc/machine-info rw,
@{run}/systemd/default-hostname rw,

View file

@ -55,6 +55,7 @@ profile systemd-journald @{exec_path} {
@{run}/udev/data/+usb:* r,
@{run}/udev/data/+virtio:* r,
@{run}/udev/data/b254:@{int} r, # for /dev/zram*
@{run}/udev/data/b259:@{int} r,
@{run}/udev/data/c1:@{int} r, # For RAM disk
@{run}/udev/data/c4:@{int} r, # For TTY devices
@{run}/udev/data/c10:@{int} r, # For non-serial mice, misc features

View file

@ -34,6 +34,7 @@ profile systemd-vconsole-setup @{exec_path} {
@{sys}/module/vt/parameters/default_utf8 w,
/dev/console k,
/dev/tty@{int} rwk,
include if exists <local/systemd-vconsole-setup>

View file

@ -1,5 +1,6 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2019-2021 Mikhail Morfikov
# Copyright (C) 2021-2023 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
@ -13,16 +14,11 @@ profile dmidecode @{exec_path} {
@{exec_path} mr,
@{sys}/firmware/dmi/tables/smbios_entry_point r,
@{sys}/firmware/dmi/tables/DMI r,
# The following are needed when the --no-sysfs flag is used
#capability sys_rawio,
#/dev/mem r,
#@{sys}/firmware/efi/systab r,
# For dumping the output to a file
owner /tmp/dump.bin rw,
@{sys}/firmware/dmi/tables/DMI r,
@{sys}/firmware/dmi/tables/smbios_entry_point r,
@{sys}/firmware/efi/systab r,
include if exists <local/dmidecode>
}

View file

@ -56,12 +56,14 @@ profile flatpak-system-helper @{exec_path} {
@{bin}/gpgconf mr,
@{bin}/gpgsm mr,
@{lib}/gnupg/scdaemon rix,
@{bin}/gpg-agent rix,
owner /tmp/ostree-gpg-*/ r,
owner /tmp/ostree-gpg-*/** rwkl -> /tmp/ostree-gpg-*/**,
owner @{PROC}/@{pid}/fd/ r,
owner @{PROC}/@{pid}/task/@{tid}/comm rw,
}

View file

@ -20,6 +20,8 @@ profile gio-querymodules @{exec_path} flags=(attach_disconnected) {
@{lib}/gio/modules/giomodule.cache{,.[0-9A-Z]*} w,
deny /apparmor/.null rw,
deny network inet stream,
deny network inet6 stream,
include if exists <local/gio-querymodules>
}

View file

@ -32,8 +32,9 @@ profile lspci @{exec_path} flags=(attach_disconnected) {
@{sys}/bus/pci/devices/ r,
@{sys}/bus/pci/slots/ r,
@{sys}/bus/pci/slots/@{int}-@{int}/address r,
@{sys}/devices/pci[0-9]*/** r,
@{sys}/bus/pci/slots/@{int}/address r,
@{sys}/devices/@{pci}/** r,
@{sys}/module/compression r,
@{PROC}/cmdline r,
@{PROC}/ioports r,

View file

@ -25,31 +25,6 @@ profile mount-nfs @{exec_path} flags=(complain) {
network inet stream,
network inet6 stream,
@{exec_path} mr,
@{bin}/{,ba,da}sh rix,
@{bin}/flock rix,
@{bin}/start-statd rix,
/usr/bin/systemctl rPx -> child-systemctl,
/etc/fstab r,
/etc/netconfig r,
/etc/rpc r,
@{PROC}/filesystems r,
owner @{PROC}/@{pid}/mountinfo r,
owner @{run}/mount/utab{,.*} rw,
owner @{run}/mount/utab.lock wk,
owner @{run}/rpc.statd.lock wk,
# Mount points
@{MOUNTDIRS}/ r,
@{MOUNTS}/ r,
@{MOUNTS}/*/ r,
# Allow to mount smb/cifs disks only under the /media/ dirs
mount fstype=nfs -> @{MOUNTDIRS}/,
mount fstype=nfs -> @{MOUNTS}/,
@ -63,5 +38,30 @@ profile mount-nfs @{exec_path} flags=(complain) {
umount /,
umount /*/,
@{exec_path} mr,
@{bin}/{,ba,da}sh rix,
@{bin}/flock rix,
@{bin}/start-statd rix,
/usr/bin/systemctl rPx -> child-systemctl,
/etc/fstab r,
/etc/netconfig r,
/etc/nfsmount.conf rk,
/etc/rpc r,
# Mount points
@{MOUNTDIRS}/ r,
@{MOUNTS}/ r,
@{MOUNTS}/*/ r,
owner @{run}/mount/utab.lock wk,
owner @{run}/mount/utab{,.*} rw,
owner @{run}/rpc.statd.lock wk,
@{PROC}/filesystems r,
owner @{PROC}/@{pid}/mountinfo r,
include if exists <local/mount-nfs>
}

View file

@ -40,6 +40,7 @@ profile nvtop @{exec_path} flags=(attach_disconnected) {
@{PROC}/@{pids}/fdinfo/ r,
@{PROC}/@{pids}/fdinfo/@{int} r,
@{PROC}/@{pids}/stat r,
@{PROC}/devices r,
@{PROC}/driver/nvidia/capabilities/mig/{config,monitor} r,
/dev/dri/ r,

View file

@ -10,6 +10,8 @@ include <tunables/global>
profile pinentry-gnome3 @{exec_path} {
include <abstractions/base>
signal (receive) set=(int) peer=gpg-agent,
@{exec_path} mr,
owner @{PROC}/@{pid}/cmdline r,

View file

@ -37,6 +37,13 @@ profile protonmail-bridge @{exec_path} {
@{PROC}/sys/net/core/somaxconn r,
@{PROC}/@{pid}/cgroup r,
# Force the use of the Gnome Keyring or Kwallet secret-service.
# Comment these lines and add the commented lines in your local/protonmail-bridge
# to allow the use of pass as secret-service.
# of pass as secret store
# deny @{bin}/pass rmx,
# deny owner @{user_password_store_dirs}/** r,
profile pass {
include <abstractions/base>
include <abstractions/nameservice-strict>

View file

@ -1,6 +1,6 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2020-2022 Mikhail Morfikov
# Copyright (C) 2021 Alexandre Pujol <alexandre@pujol.io>
# Copyright (C) 2021-2023 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
@ -14,49 +14,42 @@ profile sensors-detect @{exec_path} {
capability syslog,
@{exec_path} r,
@{exec_path} rm,
@{bin}/kmod rCx -> kmod,
@{bin}/perl r,
/usr/bin/uname rix,
/usr/bin/udevadm rCx -> udevadm,
/usr/bin/kmod rCx -> kmod,
@{bin}/systemctl rPx -> child-systemctl,
@{bin}/udevadm rCx -> udevadm,
@{bin}/uname rix,
/etc/udev/udev.conf r,
@{sys}/bus/pci/devices/ r,
@{sys}/class/i2c-adapter/ r,
@{sys}/devices/@{pci}/{class,vendor,device} r,
@{sys}/devices/@{pci}/i2c-[0-9]*/name r,
@{sys}/devices/@{pci}/i2c-@{int}/name r,
@{sys}/devices/@{pci}/modalias r,
@{sys}/devices/virtual/dmi/id/board_{version,vendor,name} r,
@{sys}/devices/virtual/dmi/id/product_{version,name} r,
@{sys}/devices/virtual/dmi/id/chassis_type r,
@{sys}/devices/virtual/dmi/id/product_{version,name} r,
@{sys}/devices/virtual/dmi/id/sys_vendor r,
/dev/i2c-[0-9]* r,
owner @{PROC}/@{pid}/mounts r,
@{PROC}/modules r,
owner @{PROC}/@{pid}/mounts r,
/dev/i2c-@{int} r,
profile udevadm {
include <abstractions/base>
include <abstractions/systemd-common>
capability sys_ptrace,
ptrace (read),
@{bin}/udevadm mr,
/etc/udev/udev.conf r,
owner @{PROC}/@{pid}/stat r,
owner @{PROC}/@{pid}/cgroup r,
@{PROC}/1/cgroup r,
@{PROC}/sys/kernel/random/boot_id r,
include if exists <local/sensors-detect_udevadm>
}
profile kmod {
@ -64,13 +57,12 @@ profile sensors-detect @{exec_path} {
@{bin}/kmod mr,
@{lib}/modprobe.d/{,*.conf} r,
/etc/modprobe.d/{,*.conf} r,
@{PROC}/cmdline r,
@{lib}/modprobe.d/ r,
@{lib}/modprobe.d/*.conf r,
/etc/modprobe.d/ r,
/etc/modprobe.d/*.conf r,
include if exists <local/sensors-detect_udevadm>
}
include if exists <local/sensors-detect>

View file

@ -9,11 +9,12 @@ include <tunables/global>
@{exec_path} = @{bin}/setpci
profile setpci @{exec_path} flags=(complain) {
include <abstractions/base>
include <abstractions/consoles>
@{exec_path} mr,
@{sys}/bus/pci/devices/ r,
@{sys}/devices/pci[0-9]*/** r,
@{sys}/devices/@{pci}/** r,
include if exists <local/setpci>
}

View file

@ -27,7 +27,7 @@ profile slirp4netns @{exec_path} flags=(attach_disconnected) {
pivot_root /tmp/**,
pivot_root /tmp/old/,
# pivot_root oldroot=/tmp/old/ -> /tmp/, TODO: not supported on Debian
pivot_root oldroot=/tmp/old/ /tmp/,
@{exec_path} mr,

View file

@ -31,6 +31,8 @@ profile spotify @{exec_path} {
@{exec_path} mrix,
@{bin}/grep rix,
@{lib_dirs}/{,**} r,
@{lib_dirs}/*.so* mr,
@ -57,11 +59,15 @@ profile spotify @{exec_path} {
owner @{run}/user/@{uid}/pulse/ r,
@{sys}/devices/system/cpu/kernel_max r,
@{sys}/devices/virtual/dmi/id/board_{vendor,name,version} r,
@{sys}/devices/virtual/dmi/id/product_{name,version} r,
@{sys}/devices/virtual/dmi/id/sys_vendor r,
@{sys}/devices/virtual/tty/tty@{int}/active r,
@{PROC}/ r,
@{PROC}/@{pid}/stat r,
@{PROC}/sys/fs/inotify/max_user_watches r,
owner @{PROC}/@{pid}/cgroup r,
owner @{PROC}/@{pid}/cmdline r,
owner @{PROC}/@{pid}/fd/ r,
owner @{PROC}/@{pid}/oom_score_adj w,

View file

@ -50,6 +50,7 @@ profile udisksd @{exec_path} flags=(attach_disconnected) {
# Allow mounting on temporary mount point
mount -> @{run}/udisks2/temp-mount-*/,
mount / -> @{MOUNTS}/*/,
# Allow unmounting
umount @{MOUNTS}/,

View file

@ -1,5 +1,6 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2019-2021 Mikhail Morfikov
# Copyright (C) 2021-2023 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
@ -7,7 +8,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/uname
profile uname @{exec_path} {
profile uname @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/consoles>

View file

@ -1,5 +1,6 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2019-2021 Mikhail Morfikov
# Copyright (C) 2021-2023 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
@ -9,9 +10,9 @@ include <tunables/global>
@{exec_path} = @{bin}/unix_chkpwd
profile unix-chkpwd @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
include <abstractions/nameservice-strict>
# To write records to the kernel auditing log.
capability audit_write,
network netlink raw,
@ -20,8 +21,5 @@ profile unix-chkpwd @{exec_path} {
/etc/shadow r,
# file_inherit
owner /dev/tty@{int} rw,
include if exists <local/unix-chkpwd>
}

View file

@ -8,7 +8,7 @@ abi <abi/3.0>,
include <tunables/global>
@{exec_path} = @{bin}/which{.debianutils,}
profile which @{exec_path} {
profile which @{exec_path} flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/consoles>
@ -16,18 +16,14 @@ profile which @{exec_path} {
@{bin}/{,ba,da}sh rix,
@{bin}/{,*/} r,
@{bin}/ r,
@{bin}/**/ r,
@{lib}/ r,
@{lib}/go-*/bin/ r,
/usr/{local/,}games/ r,
/usr/include/ r,
/usr/local/{,etc/,lib/} r,
/usr/local/{s,}bin/{,*/} r,
/opt/cni/bin/ r,
/opt/containerd/bin/ r,
@{lib}/**/ r,
/opt/**/bin/ r,
/snap/bin/ r,
/usr/include/ r,
/usr/local/**/ r,
/var/lib/flatpak/exports/bin/ r,
owner @{HOME}/{.,}go/bin/ r,