feat(profiles): general update.
This commit is contained in:
parent
cdc10fdb31
commit
1cac6715db
24 changed files with 64 additions and 5 deletions
|
|
@ -41,8 +41,11 @@ profile firefox-crashreporter @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
owner "@{firefox_config_dirs}/firefox/Crash Reports/{,**}" rw,
|
||||
owner @{firefox_config_dirs}/*.*/crashes/{,**} rw,
|
||||
owner @{firefox_config_dirs}/*.*/crashes/events/@{uuid} rw,
|
||||
owner @{firefox_config_dirs}/*.*/extensions/*.xpi r,
|
||||
owner @{firefox_config_dirs}/*.*/minidumps/{,**} rw,
|
||||
owner @{firefox_config_dirs}/*.*/minidumps//@{uuid}.{dmp,extra} r,
|
||||
owner @{firefox_config_dirs}/*.*/storage/default/* r,
|
||||
|
||||
owner @{firefox_cache_dirs}/firefox/*.*/** r,
|
||||
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ profile firefox-minidump-analyzer @{exec_path} {
|
|||
owner @{firefox_config_dirs}/*.*/extensions/*.xpi r,
|
||||
owner @{firefox_config_dirs}/*.*/minidumps/ rw,
|
||||
owner @{firefox_config_dirs}/*.*/minidumps/@{uuid}.{dmp,extra} rw,
|
||||
owner @{firefox_config_dirs}/*.*/storage/default/* r,
|
||||
|
||||
owner @{firefox_cache_dirs}/firefox/*.*/startupCache/*Cache* r,
|
||||
|
||||
|
|
|
|||
|
|
@ -23,9 +23,13 @@ profile iio-sensor-proxy @{exec_path} {
|
|||
|
||||
@{sys}/bus/ r,
|
||||
@{sys}/bus/iio/devices/ r,
|
||||
@{sys}/bus/platform/devices/ r,
|
||||
@{sys}/class/ r,
|
||||
@{sys}/class/input/ r,
|
||||
@{sys}/devices/**/uevent r,
|
||||
@{sys}/devices/pci[0-9]*/**/ r,
|
||||
@{sys}/devices/pci[0-9]*/**/iio:*/** rw,
|
||||
@{sys}/devices/pci[0-9]*/**/name r,
|
||||
|
||||
/dev/iio:* r,
|
||||
|
||||
|
|
|
|||
|
|
@ -80,6 +80,8 @@ profile pipewire @{exec_path} flags=(attach_disconnected) {
|
|||
@{sys}/devices/pci[0-9]*/**/usb[0-9]/**/{idVendor,idProduct,removable,uevent} r,
|
||||
@{sys}/devices/virtual/dmi/id/{sys_vendor,product_version,product_name,bios_vendor} r,
|
||||
|
||||
owner @{PROC}/@{pid}/task/@{tid}/comm rw,
|
||||
|
||||
/dev/media[0-9]* rw,
|
||||
|
||||
include if exists <local/pipewire>
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
|||
@{exec_path} = @{bin}/update-mime-database
|
||||
profile update-mime-database @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
capability dac_override,
|
||||
|
|
|
|||
|
|
@ -54,9 +54,10 @@ profile upowerd @{exec_path} flags=(attach_disconnected) {
|
|||
@{run}/udev/data/+pci* r,
|
||||
@{run}/udev/data/+platform* r,
|
||||
@{run}/udev/data/+power_supply* r,
|
||||
@{run}/udev/data/+sound:card[0-9]* r, # For sound
|
||||
@{run}/udev/data/+sound:card[0-9]* r, # for sound
|
||||
@{run}/udev/data/c10:[0-9]* r, # for non-serial mice, misc features
|
||||
@{run}/udev/data/c13:[0-9]* r, # for /dev/input/*
|
||||
@{run}/udev/data/c116:[0-9]* r, # for ALSA
|
||||
@{run}/udev/data/c13:[0-9]* r, # for /dev/input/*
|
||||
|
||||
@{run}/systemd/inhibit/[0-9]*.ref rw,
|
||||
|
||||
|
|
|
|||
|
|
@ -81,6 +81,7 @@ profile gnome-control-center @{exec_path} flags=(attach_disconnected) {
|
|||
@{bin}/software-properties-gtk rPx,
|
||||
@{bin}/usermod rPx,
|
||||
@{lib}/@{multiarch}/webkit2gtk-{3,4}.0/WebKitNetworkProcess rix,
|
||||
@{lib}/cups/backend/snmp rPx,
|
||||
@{lib}/gnome-control-center-goa-helper rPx,
|
||||
@{lib}/gnome-control-center-print-renderer rPx,
|
||||
@{lib}/webkit2gtk-{3,4}.0/WebKitNetworkProcess rix,
|
||||
|
|
|
|||
|
|
@ -84,6 +84,7 @@ profile gsd-print-notifications @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
@{run}/cups/cups.sock rw,
|
||||
|
||||
owner @{PROC}/@{pid}/cgroup r,
|
||||
owner @{PROC}/@{pid}/fd/ r,
|
||||
|
||||
owner /dev/tty[0-9]* rw,
|
||||
|
|
|
|||
|
|
@ -109,6 +109,10 @@ profile tracker-extract @{exec_path} flags=(attach_disconnected) {
|
|||
@{run}/udev/data/c23[4-9]:[0-9]* r, # For dynamic assignment range 234 to 254
|
||||
@{run}/udev/data/c24[0-9]:[0-9]* r,
|
||||
@{run}/udev/data/c25[0-4]:[0-9]* r,
|
||||
@{run}/udev/data/c3[0-9]*:[0-9]* r, # For dynamic assignment range 384 to 511
|
||||
@{run}/udev/data/c4[0-9]*:[0-9]* r,
|
||||
@{run}/udev/data/c5[0-9]*:[0-9]* r,
|
||||
|
||||
@{run}/mount/utab r,
|
||||
|
||||
owner @{PROC}/@{pid}/fd/ r,
|
||||
|
|
|
|||
|
|
@ -76,6 +76,9 @@ profile tailscaled @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
@{bin}/systemctl mr,
|
||||
|
||||
@{PROC}/ r,
|
||||
@{PROC}/@{pid}/fd/ r,
|
||||
|
||||
/dev/net/tun rw,
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ profile systemd-backlight @{exec_path} {
|
|||
@{sys}/class/backlight/ r,
|
||||
|
||||
@{sys}/devices/pci[0-9]*/*:[0-9]*.[0-9]*/**/ r,
|
||||
@{sys}/devices/pci[0-9]*/**/ r,
|
||||
@{sys}/devices/pci[0-9]*/**/backlight/**/{max_brightness,actual_brightness} r,
|
||||
@{sys}/devices/pci[0-9]*/**/backlight/**/{uevent,type} r,
|
||||
@{sys}/devices/pci[0-9]*/**/backlight/**/brightness rw,
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
|||
@{exec_path} = @{bin}/systemd-sysusers
|
||||
profile systemd-sysusers @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
include <abstractions/systemd-common>
|
||||
|
||||
capability chown,
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ profile cockpit-bridge @{exec_path} {
|
|||
include <abstractions/python>
|
||||
|
||||
capability dac_read_search,
|
||||
capability net_admin,
|
||||
capability sys_nice,
|
||||
|
||||
network inet dgram,
|
||||
|
|
@ -41,8 +42,10 @@ profile cockpit-bridge @{exec_path} {
|
|||
/usr/share/cockpit/{,**} r,
|
||||
|
||||
/etc/cockpit/{,**} r,
|
||||
/etc/httpd/conf/mime.types r,
|
||||
/etc/login.defs r,
|
||||
/etc/machine-id r,
|
||||
/etc/mime.types r,
|
||||
/etc/motd r,
|
||||
/etc/shadow r,
|
||||
/etc/shells r,
|
||||
|
|
|
|||
|
|
@ -204,6 +204,7 @@ profile libvirtd @{exec_path} flags=(attach_disconnected) {
|
|||
@{sys}/devices/pci[0-9]*/**/mdev_supported_types/*/create w,
|
||||
@{sys}/devices/pci[0-9]*/**/net/*/{,**} r,
|
||||
@{sys}/devices/pci[0-9]*/**/remove w,
|
||||
@{sys}/devices/pci[0-9]*/**/resource r
|
||||
@{sys}/devices/pci[0-9]*/**/sriov_totalvfs r,
|
||||
|
||||
@{sys}/devices/system/cpu/cpu[0-9]*/cache/{,**} r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue