/snap/snapd/27710/usr/lib/snapd/apparmor.d/abstractions
NameSizeModeActions
apparmor_api/-0775rm
ubuntu-browsers.d/-0775rm
apache2-common11190664editdlrm
aspell4120664editdlrm
audio20630664editdlrm
authd1450664editdlrm
authentication21940664editdlrm
base71510664editdlrm
bash16140664editdlrm
consoles9030664editdlrm
crypto9920664editdlrm
cups-client8200664editdlrm
dbus6940664editdlrm
dbus-accessibility7450664editdlrm
dbus-accessibility-strict7600664editdlrm
dbus-network-manager-strict14030664editdlrm
dbus-session7470664editdlrm
dbus-session-strict12610664editdlrm
dbus-strict7810664editdlrm
dconf4420664editdlrm
devices-usb6520664editdlrm
devices-usb-read10140664editdlrm
dovecot-common7960664editdlrm
dri-common5420664editdlrm
dri-enumerate4020664editdlrm
enchant22200664editdlrm
exo-open19210664editdlrm
fcitx5580664editdlrm
fcitx-strict12460664editdlrm
fonts22800664editdlrm
freedesktop.org14270664editdlrm
gio-open15460664editdlrm
gnome37720664editdlrm
gnupg4590664editdlrm
golang3100664editdlrm
groff19080664editdlrm
gtk17220664editdlrm
gvfs-open11800664editdlrm
hosts_access5110664editdlrm
ibus7500664editdlrm
kde33290664editdlrm
kde-globals-write4130664editdlrm
kde-icon-cache-write2560664editdlrm
kde-language-write5750664editdlrm
kde-open536660664editdlrm
kerberosclient16230664editdlrm
ldapclient8560664editdlrm
libpam-systemd7700664editdlrm
likewise5950664editdlrm
mdns5540664editdlrm
mesa20490664editdlrm
mir6940664editdlrm
mozc5730664editdlrm
mysql7390664editdlrm
nameservice33420664editdlrm
nameservice-strict11810664editdlrm
nis6250664editdlrm
nss-systemd14030664editdlrm
nvidia11130664editdlrm
opencl3700664editdlrm
opencl-common5160664editdlrm
opencl-intel6730664editdlrm
opencl-mesa6360664editdlrm
opencl-nvidia8960664editdlrm
opencl-pocl29160664editdlrm
opengl4770664editdlrm
openssl6420664editdlrm
orbit21970664editdlrm
p11-kit9990664editdlrm
perl9740664editdlrm
php11840664editdlrm
php-worker5580664editdlrm
php52080664editdlrm
postfix-common13560664editdlrm
private-files16600664editdlrm
private-files-strict12120664editdlrm
python24970664editdlrm
qt58630664editdlrm
qt5-compose-cache-write3990664editdlrm
qt5-settings-write5140664editdlrm
qt68630664editdlrm
qt6-compose-cache-write3990664editdlrm
qt6-settings-write5150664editdlrm
recent-documents-write4660664editdlrm
ruby10080664editdlrm
samba12990664editdlrm
samba-rpcd8170664editdlrm
smbpass5810664editdlrm
snap_browsers15790664editdlrm
ssl_certs15220664editdlrm
ssl_keys9380664editdlrm
svn-repositories17590664editdlrm
terminfo2960664editdlrm
transmission-common43790664editdlrm
trash36210664editdlrm
ubuntu-bittorrent-clients8210664editdlrm
ubuntu-browsers16210664editdlrm
ubuntu-console-browsers7310664editdlrm
ubuntu-console-email7180664editdlrm
ubuntu-email10870664editdlrm
ubuntu-feed-readers4560664editdlrm
ubuntu-gnome-terminal3000664editdlrm
ubuntu-helpers40190664editdlrm
ubuntu-konsole4530664editdlrm
ubuntu-media-players23520664editdlrm
ubuntu-unity7-base25580664editdlrm
ubuntu-unity7-launcher3110664editdlrm
ubuntu-unity7-messaging3130664editdlrm
ubuntu-xterm3460664editdlrm
user-download9870664editdlrm
user-mail9440664editdlrm
user-manpages10000664editdlrm
user-tmp7600664editdlrm
user-write9720664editdlrm
video5960664editdlrm
vulkan6240664editdlrm
wayland7130664editdlrm
web-data8110664editdlrm
winbind8820664editdlrm
wutmp9420664editdlrm
X20610664editdlrm
xad9840664editdlrm
xdg-desktop7820664editdlrm
xdg-open22860664editdlrm
Edit: /snap/snapd/27710/usr/lib/snapd/apparmor.d/abstractions/base (7151B)
# vim:syntax=apparmor # ------------------------------------------------------------------ # # Copyright (C) 2002-2009 Novell/SUSE # Copyright (C) 2009-2011 Canonical Ltd. # # This program is free software; you can redistribute it and/or # modify it under the terms of version 2 of the GNU General Public # License published by the Free Software Foundation. # # ------------------------------------------------------------------ abi , include # (Note that the ldd profile has inlined this file; if you make # modifications here, please consider including them in the ldd # profile as well.) # The __canary_death_handler function writes a time-stamped log # message to /dev/log for logging by syslogd. So, /dev/log, timezones, # and localisations of date should be available EVERYWHERE, so # StackGuard, FormatGuard, etc., alerts can be properly logged. /dev/log w, /dev/random r, /dev/urandom r, # Allow access to the uuidd daemon (this daemon is a thin wrapper around # time and getrandom()/{,u}random and, when available, runs under an # unprivilged, dedicated user). @{run}/uuidd/request rw, @{etc_ro}/locale/** r, @{etc_ro}/locale.alias r, @{etc_ro}/localtime r, @{etc_rw}/localtime r, /usr/share/locale-bundle/** r, /usr/share/locale-langpack/** r, /usr/share/locale/ r, /usr/share/locale/** r, /usr/share/**/locale/** r, /usr/share/zoneinfo{,-icu}/ r, /usr/share/zoneinfo{,-icu}/** r, /usr/share/X11/locale/** r, @{run}/systemd/journal/dev-log w, # systemd native journal API (see sd_journal_print(4)) @{run}/systemd/journal/socket w, # Nested containers and anything using systemd-cat need this. 'r' shouldn't # be required but applications fail without it. journald doesn't leak # anything when reading so this is ok. @{run}/systemd/journal/stdout rw, /usr/lib{,32,64}/locale/** mr, /usr/lib{,32,64}/gconv/*.so mr, /usr/lib{,32,64}/gconv/gconv-modules* mr, /usr/lib/@{multiarch}/gconv/*.so mr, /usr/lib/@{multiarch}/gconv/gconv-modules* mr, # used by glibc when binding to ephemeral ports @{etc_ro}/bindresvport.blacklist r, # ld.so.cache and ld are used to load shared libraries; they are best # available everywhere @{etc_ro}/ld.so.cache mr, @{etc_ro}/ld.so.conf r, @{etc_ro}/ld.so.conf.d/{,*.conf} r, @{etc_ro}/ld.so.preload r, @{etc_ro}/ld-musl-*.path r, /{usr/,}lib{,32,64}/ld{,32,64}-*.so mr, /{usr/,}lib/@{multiarch}/ld{,32,64}-*.so mr, /{usr/,}lib/tls/i686/{cmov,nosegneg}/ld-*.so mr, /{usr/,}lib/i386-linux-gnu/tls/i686/{cmov,nosegneg}/ld-*.so mr, /opt/*-linux-uclibc/lib/ld-uClibc*so* mr, # we might as well allow everything to use common libraries /{usr/,}lib{,32,64}/** r, /{usr/,}lib{,32,64}/**.so* mr, /{usr/,}lib/@{multiarch}/** r, /{usr/,}lib/@{multiarch}/**.so* mr, /{usr/,}lib/tls/i686/{cmov,nosegneg}/*.so* mr, /{usr/,}lib/i386-linux-gnu/tls/i686/{cmov,nosegneg}/*.so* mr, # FIPS-140-2 versions of some crypto libraries need to access their # associated integrity verification file, or they will abort. /{usr/,}lib{,32,64}/.lib*.so*.hmac r, /{usr/,}lib/@{multiarch}/.lib*.so*.hmac r, # /dev/null is pretty harmless and frequently used /dev/null rw, # as is /dev/zero /dev/zero rw, # recent glibc uses /dev/full in preference to /dev/null for programs # that don't have open fds at exec() /dev/full rw, # Sometimes used to determine kernel/user interfaces to use @{PROC}/sys/kernel/version r, # Depending on which glibc routine uses this file, base may not be the # best place -- but many profiles require it, and it is quite harmless. @{PROC}/sys/kernel/ngroups_max r, # Used to determine if Linux is running in FIPS mode @{PROC}/sys/crypto/fips_enabled r, # glibc's sysconf(3) routine to determine free memory, etc @{PROC}/meminfo r, @{PROC}/stat r, @{PROC}/cpuinfo r, @{sys}/devices/system/cpu/ r, @{sys}/devices/system/cpu/online r, @{sys}/devices/system/cpu/possible r, # transparent hugepage support @{sys}/kernel/mm/transparent_hugepage/hpage_pmd_size r, # glibc's *printf protections read the maps file @{PROC}/@{pid}/{maps,auxv,status} r, # some applications will display license information /usr/share/common-licenses/** r, # glibc statvfs @{PROC}/filesystems r, # glibc malloc (man 5 proc) @{PROC}/sys/vm/overcommit_memory r, # Allow determining the highest valid capability of the running kernel @{PROC}/sys/kernel/cap_last_cap r, # Allow other processes to read our /proc entries, futexes, perf tracing and # kcmp for now (they will need 'read' in the first place). Administrators can # override with: # deny ptrace (readby) ... ptrace (readby), # Allow other processes to trace us by default (they will need 'trace' in # the first place). Administrators can override with: # deny ptrace (tracedby) ... ptrace (tracedby), # Allow us to ptrace read ourselves ptrace (read) peer=@{profile_name}, # Allow unconfined processes to send us signals by default signal (receive) peer=unconfined, # Allow us to signal ourselves signal peer=@{profile_name}, # Checking for PID existence is quite common so add it by default for now signal (receive, send) set=("exists"), # Allow us to create and use abstract and anonymous sockets unix peer=(label=@{profile_name}), # Allow unconfined processes to us via unix sockets unix (receive) peer=(label=unconfined), # Allow us to create abstract and anonymous sockets unix (create), # Allow us to getattr, getopt, setop and shutdown on unix sockets unix (getattr, getopt, setopt, shutdown), # Workaround https://launchpad.net/bugs/359338 until upstream handles stacked # filesystems generally. This does not appreciably decrease security with # Ubuntu profiles because the user is expected to have access to files owned # by him/her. Exceptions to this are explicit in the profiles. While this rule # grants access to those exceptions, the intended privacy is maintained due to # the encrypted contents of the files in this directory. Files in this # directory will also use filename encryption by default, so the files are # further protected. Also, with the use of 'owner', this rule properly # prevents access to the files from processes running under a different uid. # encrypted ~/.Private and old-style encrypted $HOME owner @{HOME}/.Private/ r, owner @{HOME}/.Private/** mrixwlk, # new-style encrypted $HOME owner @{HOMEDIRS}/.ecryptfs/*/.Private/ r, owner @{HOMEDIRS}/.ecryptfs/*/.Private/** mrixwlk, # Include additions to the abstraction include if exists