mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-18 00:48:10 +01:00
parent
1f16025c10
commit
4b5d1e1a79
6 changed files with 20 additions and 4 deletions
|
@ -62,6 +62,7 @@ profile child-open {
|
|||
/{usr/,}bin/filezilla rPx,
|
||||
/{usr/,}bin/flameshot rPx,
|
||||
/{usr/,}bin/geany rPx,
|
||||
/{usr/,}bin/gnome-calculator rPx,
|
||||
/{usr/,}bin/gnome-disk-image-mounter rPx,
|
||||
/{usr/,}bin/kgx rPUx,
|
||||
/{usr/,}bin/okular rPx,
|
||||
|
|
|
@ -12,8 +12,13 @@ profile cron-anacron @{exec_path} {
|
|||
|
||||
@{exec_path} r,
|
||||
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
/{usr/,}{s,}bin/anacron rPx,
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
/{usr/,}bin/cat rix,
|
||||
/{usr/,}bin/date rix,
|
||||
|
||||
@{sys}/class/power_supply/ r,
|
||||
@{sys}/devices/**/power_supply/{,**} r,
|
||||
|
||||
include if exists <local/cron-anacron>
|
||||
}
|
||||
|
|
|
@ -10,11 +10,12 @@ include <tunables/global>
|
|||
profile gsd-media-keys @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/audio>
|
||||
include <abstractions/dbus-strict>
|
||||
include <abstractions/dbus-session-strict>
|
||||
include <abstractions/dbus-accessibility-strict>
|
||||
include <abstractions/dbus-session-strict>
|
||||
include <abstractions/dbus-strict>
|
||||
include <abstractions/dconf-write>
|
||||
include <abstractions/fonts>
|
||||
include <abstractions/freedesktop.org>
|
||||
include <abstractions/gtk>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
|
@ -172,6 +173,8 @@ profile gsd-media-keys @{exec_path} flags=(attach_disconnected) {
|
|||
/var/lib/gdm{3,}/.config/pulse/client.conf r,
|
||||
/var/lib/gdm{3,}/.config/pulse/cookie rk,
|
||||
|
||||
/var/lib/flatpak/exports/share/applications/{,mimeinfo.cache} r,
|
||||
|
||||
owner @{user_config_dirs}/pulse/ rw,
|
||||
|
||||
owner @{user_share_dirs}/ r,
|
||||
|
@ -187,8 +190,9 @@ profile gsd-media-keys @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
@{run}/udev/data/c13:[0-9]* r, # for /dev/input/*
|
||||
|
||||
@{sys}/devices/platform/**/uevent r,
|
||||
@{sys}/devices/**/usb[0-9]/{,**} r,
|
||||
@{sys}/devices/platform/**/uevent r,
|
||||
@{sys}/devices/virtual/**/uevent r,
|
||||
|
||||
@{PROC}/1/cgroup r,
|
||||
owner @{PROC}/@{pid}/cgroup r,
|
||||
|
|
|
@ -43,6 +43,8 @@ profile systemd-coredump @{exec_path} flags=(attach_disconnected) {
|
|||
@{PROC}/@{pids}/fdinfo/[0-9]* r,
|
||||
@{PROC}/@{pids}/limits r,
|
||||
@{PROC}/@{pids}/mountinfo r,
|
||||
@{PROC}/@{pids}/ns/ r,
|
||||
@{PROC}/@{pids}/stat r,
|
||||
owner @{PROC}/@{pid}/setgroups r,
|
||||
|
||||
include if exists <local/systemd-coredump>
|
||||
|
|
|
@ -21,6 +21,8 @@ profile anacron @{exec_path} {
|
|||
|
||||
/var/spool/anacron/cron.* rwk,
|
||||
|
||||
@{HOME}/ r,
|
||||
|
||||
/tmp/file* rw,
|
||||
|
||||
include if exists <local/anacron>
|
||||
|
|
|
@ -18,6 +18,8 @@ profile run-parts @{exec_path} {
|
|||
/usr/share/update-notifier/notify-reboot-required rPx,
|
||||
/usr/share/update-notifier/notify-updates-outdated rPx,
|
||||
|
||||
/etc/ r,
|
||||
|
||||
# Crontrab
|
||||
/etc/cron.{hourly,daily,weekly,monthly}/ r,
|
||||
/etc/cron.{hourly,daily,weekly,monthly}/0anacron rPUx,
|
||||
|
|
Loading…
Reference in a new issue