feat(profile): general update.
This commit is contained in:
parent
5861da3f33
commit
735f5de518
50 changed files with 127 additions and 80 deletions
|
|
@ -13,7 +13,6 @@ profile debconf-apt-progress @{exec_path} flags=(complain) {
|
||||||
include <abstractions/perl>
|
include <abstractions/perl>
|
||||||
|
|
||||||
@{exec_path} r,
|
@{exec_path} r,
|
||||||
@{bin}/perl r,
|
|
||||||
|
|
||||||
@{bin}/apt-get rPx,
|
@{bin}/apt-get rPx,
|
||||||
|
|
||||||
|
|
@ -21,7 +20,6 @@ profile debconf-apt-progress @{exec_path} flags=(complain) {
|
||||||
/usr/share/debconf/frontend rPx,
|
/usr/share/debconf/frontend rPx,
|
||||||
#/usr/share/debconf/frontend rCx -> frontend,
|
#/usr/share/debconf/frontend rCx -> frontend,
|
||||||
|
|
||||||
|
|
||||||
profile frontend flags=(complain) {
|
profile frontend flags=(complain) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/consoles>
|
include <abstractions/consoles>
|
||||||
|
|
@ -29,7 +27,6 @@ profile debconf-apt-progress @{exec_path} flags=(complain) {
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
|
||||||
/usr/share/debconf/frontend r,
|
/usr/share/debconf/frontend r,
|
||||||
@{bin}/perl r,
|
|
||||||
|
|
||||||
@{bin}/debconf-apt-progress rPx,
|
@{bin}/debconf-apt-progress rPx,
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,6 @@ profile dpkg @{exec_path} {
|
||||||
# Package maintainer's scripts
|
# Package maintainer's scripts
|
||||||
/var/lib/dpkg/info/*.@{dpkg_script_ext} rPUx,
|
/var/lib/dpkg/info/*.@{dpkg_script_ext} rPUx,
|
||||||
/var/lib/dpkg/info/*.control r,
|
/var/lib/dpkg/info/*.control r,
|
||||||
|
|
||||||
/var/lib/dpkg/tmp.ci/@{dpkg_script_ext} rPUx,
|
/var/lib/dpkg/tmp.ci/@{dpkg_script_ext} rPUx,
|
||||||
|
|
||||||
# For shell pwd
|
# For shell pwd
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,8 @@ profile anacron @{exec_path} {
|
||||||
|
|
||||||
@{HOME}/ r,
|
@{HOME}/ r,
|
||||||
|
|
||||||
/tmp/file* rw,
|
@{tmp}/file@{rand6} rw,
|
||||||
|
/tmp/anacron-@{rand6} rw,
|
||||||
|
|
||||||
profile run-parts {
|
profile run-parts {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
|
@ -38,6 +39,7 @@ profile anacron @{exec_path} {
|
||||||
|
|
||||||
owner @{tmp}/#@{int} rw,
|
owner @{tmp}/#@{int} rw,
|
||||||
owner @{tmp}/file@{rand6} rw,
|
owner @{tmp}/file@{rand6} rw,
|
||||||
|
/tmp/anacron-@{rand6} rw,
|
||||||
|
|
||||||
include if exists <local/anacron_run-parts>
|
include if exists <local/anacron_run-parts>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -49,6 +49,7 @@ profile lvm @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
/dev/**/ r,
|
/dev/**/ r,
|
||||||
/dev/mapper/control rw,
|
/dev/mapper/control rw,
|
||||||
|
/dev/root r,
|
||||||
|
|
||||||
include if exists <local/lvm>
|
include if exists <local/lvm>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -29,14 +29,14 @@ profile ufw @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
@{python_path} rix,
|
||||||
@{bin}/ r,
|
@{bin}/ r,
|
||||||
@{bin}/cat ix,
|
@{bin}/cat rix,
|
||||||
@{bin}/env r,
|
@{bin}/env r,
|
||||||
@{python_path} ix,
|
@{bin}/sysctl rix,
|
||||||
@{bin}/sysctl ix,
|
@{bin}/xtables-legacy-multi rix,
|
||||||
@{bin}/xtables-legacy-multi ix,
|
@{bin}/xtables-nft-multi rix,
|
||||||
@{bin}/xtables-nft-multi ix,
|
@{lib}/ufw/ufw-init rix,
|
||||||
@{lib}/ufw/ufw-init ix,
|
|
||||||
|
|
||||||
/etc/default/ufw rw,
|
/etc/default/ufw rw,
|
||||||
/etc/ufw/ rw,
|
/etc/ufw/ rw,
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ profile plymouthd @{exec_path} {
|
||||||
include <abstractions/consoles>
|
include <abstractions/consoles>
|
||||||
include <abstractions/dri>
|
include <abstractions/dri>
|
||||||
include <abstractions/fonts>
|
include <abstractions/fonts>
|
||||||
|
include <abstractions/X-strict>
|
||||||
|
|
||||||
capability checkpoint_restore,
|
capability checkpoint_restore,
|
||||||
capability dac_override,
|
capability dac_override,
|
||||||
|
|
|
||||||
|
|
@ -51,6 +51,10 @@ profile wireplumber @{exec_path} {
|
||||||
|
|
||||||
owner @{run}/user/@{uid}/pipewire-@{int} rw,
|
owner @{run}/user/@{uid}/pipewire-@{int} rw,
|
||||||
|
|
||||||
|
/dev/shm/lttng-ust-wait-@{int} r,
|
||||||
|
owner /dev/shm/lttng-ust-wait-@{int}-@{uid} rw,
|
||||||
|
owner /dev/shm/lttng-ust-wait-@{int}-@{int} rw,
|
||||||
|
|
||||||
@{run}/systemd/users/@{uid} r,
|
@{run}/systemd/users/@{uid} r,
|
||||||
|
|
||||||
@{run}/udev/data/c14:@{int} r, # Open Sound System (OSS)
|
@{run}/udev/data/c14:@{int} r, # Open Sound System (OSS)
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,7 @@ profile xdg-desktop-icon @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/app/bus>
|
include <abstractions/app/bus>
|
||||||
include <abstractions/bus-session>
|
include <abstractions/bus-session>
|
||||||
|
|
||||||
include if exists <local/xdg-desktop-icon_bus>
|
include if exists <local/xdg-desktop-icon_bus>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@ profile xdg-desktop-portal @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/bus/org.freedesktop.NetworkManager>
|
include <abstractions/bus/org.freedesktop.NetworkManager>
|
||||||
include <abstractions/bus/org.freedesktop.RealtimeKit1>
|
include <abstractions/bus/org.freedesktop.RealtimeKit1>
|
||||||
include <abstractions/dconf-write>
|
include <abstractions/dconf-write>
|
||||||
|
include <abstractions/devices-usb-read>
|
||||||
include <abstractions/freedesktop.org>
|
include <abstractions/freedesktop.org>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
include <abstractions/thumbnails-cache-read>
|
include <abstractions/thumbnails-cache-read>
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,11 @@ profile xdg-desktop-portal-gnome @{exec_path} flags=(attach_disconnected) {
|
||||||
#aa:dbus talk bus=session name=org.gnome.Mutter label=gnome-shell
|
#aa:dbus talk bus=session name=org.gnome.Mutter label=gnome-shell
|
||||||
#aa:dbus talk bus=session name=org.gnome.Shell.Screenshot label=gnome-shell
|
#aa:dbus talk bus=session name=org.gnome.Shell.Screenshot label=gnome-shell
|
||||||
|
|
||||||
|
dbus send bus=session path=/org/freedesktop/portal/desktop
|
||||||
|
interface=org.freedesktop.impl.portal.Background
|
||||||
|
member=RunningApplicationsChanged
|
||||||
|
peer=(name=org.freedesktop.DBus, label=xdg-desktop-portal),
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
/ r,
|
/ r,
|
||||||
|
|
|
||||||
|
|
@ -31,8 +31,9 @@ profile epiphany-search-provider @{exec_path} {
|
||||||
owner @{user_cache_dirs}/epiphany/{,**} rwk,
|
owner @{user_cache_dirs}/epiphany/{,**} rwk,
|
||||||
owner @{user_share_dirs}/epiphany/{,**} rwk,
|
owner @{user_share_dirs}/epiphany/{,**} rwk,
|
||||||
|
|
||||||
|
owner @{tmp}/ContentRuleList-@{rand6} rw,
|
||||||
owner @{tmp}/ContentRuleList@{rand6} rw,
|
owner @{tmp}/ContentRuleList@{rand6} rw,
|
||||||
owner @{tmp}/Serialized* rw,
|
owner @{tmp}/SerializedNFA-@{rand6} rw,
|
||||||
|
|
||||||
@{sys}/devices/virtual/dmi/id/chassis_type r,
|
@{sys}/devices/virtual/dmi/id/chassis_type r,
|
||||||
@{sys}/firmware/acpi/pm_profile r,
|
@{sys}/firmware/acpi/pm_profile r,
|
||||||
|
|
|
||||||
|
|
@ -31,25 +31,26 @@ profile gdm-session-worker @{exec_path} flags=(attach_disconnected) {
|
||||||
network netlink raw,
|
network netlink raw,
|
||||||
network unix stream,
|
network unix stream,
|
||||||
|
|
||||||
signal (receive) set=term peer=gdm,
|
signal receive set=term peer=gdm,
|
||||||
signal (send) set=(hup term) peer=gdm-session,
|
signal send set=(hup term) peer=gdm-session,
|
||||||
signal (send) set=hup peer=at-spi*,
|
signal send set=hup peer=at-spi*,
|
||||||
signal (send) set=hup peer=dbus-accessibility,
|
signal send set=hup peer=dbus-accessibility,
|
||||||
signal (send) set=hup peer=dbus-session,
|
signal send set=hup peer=dbus-session,
|
||||||
signal (send) set=hup peer=dconf-service,
|
signal send set=hup peer=dconf-service,
|
||||||
signal (send) set=hup peer=gjs-console,
|
signal send set=hup peer=gjs-console,
|
||||||
signal (send) set=hup peer=gnome-*,
|
signal send set=hup peer=gnome-*,
|
||||||
signal (send) set=hup peer=gsd-*,
|
signal send set=hup peer=gsd-*,
|
||||||
signal (send) set=hup peer=ibus-*,
|
signal send set=hup peer=ibus-*,
|
||||||
signal (send) set=hup peer=mutter-x11-frames,
|
signal send set=hup peer=mutter-x11-frames,
|
||||||
signal (send) set=hup peer=tracker-miner,
|
signal send set=hup peer=tracker-miner,
|
||||||
signal (send) set=hup peer=xdg-*,
|
signal send set=hup peer=xdg-*,
|
||||||
signal (send) set=hup peer=xorg,
|
signal send set=hup peer=xorg,
|
||||||
signal (send) set=hup peer=xwayland,
|
signal send set=hup peer=xwayland,
|
||||||
|
|
||||||
unix (bind) type=stream addr=@@{udbus}/bus/gdm-session-wor/system,
|
unix (bind) type=stream addr=@@{udbus}/bus/gdm-session-wor/system,
|
||||||
|
|
||||||
#aa:dbus talk bus=system name=org.freedesktop.Accounts label=accounts-daemon
|
#aa:dbus talk bus=system name=org.freedesktop.Accounts label=accounts-daemon
|
||||||
|
#aa:dbus talk bus=system name=org.freedesktop.home1.Manager label=systemd-homed
|
||||||
|
|
||||||
dbus send bus=system path=/org/freedesktop/login1
|
dbus send bus=system path=/org/freedesktop/login1
|
||||||
interface=org.freedesktop.login1.Manager
|
interface=org.freedesktop.login1.Manager
|
||||||
|
|
|
||||||
|
|
@ -82,6 +82,7 @@ profile gjs-console @{exec_path} flags=(attach_disconnected) {
|
||||||
owner @{PROC}/@{pid}/mounts r,
|
owner @{PROC}/@{pid}/mounts r,
|
||||||
owner @{PROC}/@{pid}/stat r,
|
owner @{PROC}/@{pid}/stat r,
|
||||||
owner @{PROC}/@{pid}/task/ r,
|
owner @{PROC}/@{pid}/task/ r,
|
||||||
|
owner @{PROC}/@{pid}/task/@{tid}/comm rw,
|
||||||
owner @{PROC}/@{pid}/task/@{tid}/stat r,
|
owner @{PROC}/@{pid}/task/@{tid}/stat r,
|
||||||
|
|
||||||
/dev/ r,
|
/dev/ r,
|
||||||
|
|
|
||||||
|
|
@ -32,8 +32,8 @@ profile gnome-control-center @{exec_path} flags=(attach_disconnected) {
|
||||||
network inet6 stream,
|
network inet6 stream,
|
||||||
network netlink raw,
|
network netlink raw,
|
||||||
|
|
||||||
signal (send) set=(kill) peer=unconfined,
|
signal send set=kill peer=unconfined,
|
||||||
signal (send) set=(kill) peer=passwd,
|
signal send set=kill peer=passwd,
|
||||||
|
|
||||||
unix (send, receive, connect) type=stream peer=(addr="@/home/*/.cache/ibus/dbus-????????", label=ibus-daemon),
|
unix (send, receive, connect) type=stream peer=(addr="@/home/*/.cache/ibus/dbus-????????", label=ibus-daemon),
|
||||||
|
|
||||||
|
|
@ -113,6 +113,7 @@ profile gnome-control-center @{exec_path} flags=(attach_disconnected) {
|
||||||
owner @{HOME}/@{XDG_WALLPAPERS_DIR}/{,**} r,
|
owner @{HOME}/@{XDG_WALLPAPERS_DIR}/{,**} r,
|
||||||
|
|
||||||
owner @{user_cache_dirs}/gnome-control-center/{,**} rw,
|
owner @{user_cache_dirs}/gnome-control-center/{,**} rw,
|
||||||
|
owner @{user_cache_dirs}/thumbnails/fail/gnome-thumbnail-factory/@{hex32}.png.@{rand6} rw,
|
||||||
|
|
||||||
owner @{user_config_dirs}/background rw,
|
owner @{user_config_dirs}/background rw,
|
||||||
owner @{user_config_dirs}/gnome-control-center/{,**} rw,
|
owner @{user_config_dirs}/gnome-control-center/{,**} rw,
|
||||||
|
|
@ -195,6 +196,7 @@ profile gnome-control-center @{exec_path} flags=(attach_disconnected) {
|
||||||
profile pkexec {
|
profile pkexec {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/app/pkexec>
|
include <abstractions/app/pkexec>
|
||||||
|
|
||||||
include if exists <local/gnome-control-center_pkexec>
|
include if exists <local/gnome-control-center_pkexec>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,11 @@ profile gnome-remote-desktop-daemon @{exec_path} {
|
||||||
include <abstractions/graphics>
|
include <abstractions/graphics>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
|
||||||
|
network inet dgram,
|
||||||
network inet stream,
|
network inet stream,
|
||||||
|
network inet6 dgram,
|
||||||
network inet6 stream,
|
network inet6 stream,
|
||||||
|
network netlink raw,
|
||||||
|
|
||||||
#aa:dbus own bus=system name=org.gnome.RemoteDesktop
|
#aa:dbus own bus=system name=org.gnome.RemoteDesktop
|
||||||
#aa:dbus talk bus=system name=org.gnome.DisplayManager label=gdm
|
#aa:dbus talk bus=system name=org.gnome.DisplayManager label=gdm
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,7 @@ profile localsearch @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
owner /var/tmp/etilqs_@{hex15} rw,
|
owner /var/tmp/etilqs_@{hex15} rw,
|
||||||
owner /var/tmp/etilqs_@{hex16} rw,
|
owner /var/tmp/etilqs_@{hex16} rw,
|
||||||
|
owner @{tmp}/etilqs_@{hex12}@{hex2} rw,
|
||||||
owner @{tmp}/etilqs_@{hex15} rw,
|
owner @{tmp}/etilqs_@{hex15} rw,
|
||||||
owner @{tmp}/etilqs_@{hex16} rw,
|
owner @{tmp}/etilqs_@{hex16} rw,
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -30,11 +30,6 @@ profile tracker-extract @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
#aa:dbus talk bus=session name=org.freedesktop.Tracker3 label=tracker-miner interface+=org.freedesktop.DBus.Peer
|
#aa:dbus talk bus=session name=org.freedesktop.Tracker3 label=tracker-miner interface+=org.freedesktop.DBus.Peer
|
||||||
|
|
||||||
dbus send bus=session path=/org/gtk/vfs/metadata
|
|
||||||
interface=org.gtk.vfs.Metadata
|
|
||||||
member={GetTreeFromDevice,Remove}
|
|
||||||
peer=(name=:*, label=gvfsd-metadata),
|
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
/usr/share/dconf/profile/gdm r,
|
/usr/share/dconf/profile/gdm r,
|
||||||
|
|
|
||||||
|
|
@ -33,26 +33,7 @@ profile grub-probe @{exec_path} {
|
||||||
@{PROC}/@{pids}/mountinfo r,
|
@{PROC}/@{pids}/mountinfo r,
|
||||||
@{PROC}/devices r,
|
@{PROC}/devices r,
|
||||||
|
|
||||||
/dev/*vg*/ r,
|
/dev/**/ r,
|
||||||
/dev/bsg/ r,
|
|
||||||
/dev/bus/ r,
|
|
||||||
/dev/bus/usb/ r,
|
|
||||||
/dev/bus/usb/@{int}/ r,
|
|
||||||
/dev/char/ r,
|
|
||||||
/dev/cpu/ r,
|
|
||||||
/dev/cpu/@{int}/ r,
|
|
||||||
/dev/dma_heap/ r,
|
|
||||||
/dev/dri/ r,
|
|
||||||
/dev/dri/by-path/ r,
|
|
||||||
/dev/hugepages/ r,
|
|
||||||
/dev/input/ r,
|
|
||||||
/dev/input/by-id/ r,
|
|
||||||
/dev/input/by-path/ r,
|
|
||||||
/dev/mapper/control rw,
|
|
||||||
/dev/mqueue/ r,
|
|
||||||
/dev/shm/ r,
|
|
||||||
/dev/snd/ r,
|
|
||||||
/dev/snd/by-path/ r,
|
|
||||||
|
|
||||||
include if exists <local/grub-probe>
|
include if exists <local/grub-probe>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ abi <abi/4.0>,
|
||||||
include <tunables/global>
|
include <tunables/global>
|
||||||
|
|
||||||
@{exec_path} = @{bin}/hyprlock
|
@{exec_path} = @{bin}/hyprlock
|
||||||
profile hyprlock @{exec_path} {
|
profile hyprlock @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/authentication>
|
include <abstractions/authentication>
|
||||||
include <abstractions/fonts>
|
include <abstractions/fonts>
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,11 @@ profile netplan-generate @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
/etc/netplan/{,*} r,
|
/etc/netplan/{,*} r,
|
||||||
|
|
||||||
|
@{run}/NetworkManager/conf.d/@{int}-globally-managed-devices.conf rw,
|
||||||
|
@{run}/NetworkManager/conf.d/@{int}-globally-managed-devices.conf.@{rand6} rw,
|
||||||
|
@{run}/NetworkManager/system-connections/ r,
|
||||||
|
@{run}/NetworkManager/system-connections/* rw,
|
||||||
|
|
||||||
@{run}/systemd/generator/multi-user.target.wants/ w,
|
@{run}/systemd/generator/multi-user.target.wants/ w,
|
||||||
@{run}/systemd/generator/multi-user.target.wants/systemd-networkd.service w,
|
@{run}/systemd/generator/multi-user.target.wants/systemd-networkd.service w,
|
||||||
@{run}/systemd/generator/netplan.stamp w,
|
@{run}/systemd/generator/netplan.stamp w,
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,6 @@ profile pkexec @{exec_path} {
|
||||||
|
|
||||||
/etc/default/locale r,
|
/etc/default/locale r,
|
||||||
|
|
||||||
@{PROC}/@{pid}/fdinfo/@{int} r,
|
|
||||||
@{PROC}/@{pid}/stat r,
|
@{PROC}/@{pid}/stat r,
|
||||||
owner @{PROC}/@{pid}/fd/ r,
|
owner @{PROC}/@{pid}/fd/ r,
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -51,6 +51,7 @@ profile polkitd @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
@{att}/@{run}/systemd/notify w,
|
@{att}/@{run}/systemd/notify w,
|
||||||
@{att}/@{run}/systemd/userdb/io.systemd.DynamicUser rw,
|
@{att}/@{run}/systemd/userdb/io.systemd.DynamicUser rw,
|
||||||
|
@{att}/@{run}/systemd/userdb/io.systemd.Home rw,
|
||||||
@{att}/@{run}/systemd/userdb/io.systemd.Multiplexer rw,
|
@{att}/@{run}/systemd/userdb/io.systemd.Multiplexer rw,
|
||||||
|
|
||||||
@{run}/systemd/sessions/* r,
|
@{run}/systemd/sessions/* r,
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,8 @@ profile sysctl @{exec_path} {
|
||||||
/etc/sysctl.d/{,**} r,
|
/etc/sysctl.d/{,**} r,
|
||||||
/usr/lib/sysctl.d/{,**} r,
|
/usr/lib/sysctl.d/{,**} r,
|
||||||
|
|
||||||
|
/etc/ufw/sysctl.conf r, # Add support for ufw
|
||||||
|
|
||||||
@{PROC}/sys/ r,
|
@{PROC}/sys/ r,
|
||||||
@{PROC}/sys/** rw,
|
@{PROC}/sys/** rw,
|
||||||
|
|
||||||
|
|
@ -31,8 +33,6 @@ profile sysctl @{exec_path} {
|
||||||
deny network inet6 stream,
|
deny network inet6 stream,
|
||||||
deny network inet stream,
|
deny network inet stream,
|
||||||
|
|
||||||
/etc/ufw/sysctl.conf r, # Add support for ufw
|
|
||||||
|
|
||||||
include if exists <local/sysctl>
|
include if exists <local/sysctl>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -37,8 +37,10 @@ profile chpasswd @{exec_path} {
|
||||||
/etc/shadow.lock w,
|
/etc/shadow.lock w,
|
||||||
/etc/shadow+ rw,
|
/etc/shadow+ rw,
|
||||||
|
|
||||||
/etc/pam.d/chpasswd r,
|
/etc/pam.d/* r,
|
||||||
/etc/pam.d/common-* r,
|
/etc/security/pwquality.conf r,
|
||||||
|
|
||||||
|
@{PROC}/@{pid}/loginuid r,
|
||||||
|
|
||||||
include if exists <local/chpasswd>
|
include if exists <local/chpasswd>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,6 @@ profile snap @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/bus-session>
|
include <abstractions/bus-session>
|
||||||
include <abstractions/bus-system>
|
include <abstractions/bus-system>
|
||||||
include <abstractions/bus/org.freedesktop.systemd1>
|
|
||||||
include <abstractions/consoles>
|
include <abstractions/consoles>
|
||||||
include <abstractions/disks-read>
|
include <abstractions/disks-read>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,8 @@ profile snap-update-ns @{exec_path} {
|
||||||
owner /snap/{,**} rw,
|
owner /snap/{,**} rw,
|
||||||
|
|
||||||
owner /var/ rw,
|
owner /var/ rw,
|
||||||
|
owner /var/lib/ rw,
|
||||||
|
owner /var/lib/snapd/ rw,
|
||||||
owner /var/snap/ rw,
|
owner /var/snap/ rw,
|
||||||
owner /var/snap/**/ rw,
|
owner /var/snap/**/ rw,
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -160,9 +160,9 @@ profile snapd @{exec_path} {
|
||||||
@{sys}/fs/cgroup/cgroup.controllers r,
|
@{sys}/fs/cgroup/cgroup.controllers r,
|
||||||
@{sys}/fs/cgroup/system.slice/{,**/} r,
|
@{sys}/fs/cgroup/system.slice/{,**/} r,
|
||||||
@{sys}/fs/cgroup/system.slice/snap*.service/cgroup.procs r,
|
@{sys}/fs/cgroup/system.slice/snap*.service/cgroup.procs r,
|
||||||
@{sys}/fs/cgroup/user.slice/ r,
|
@{sys}/fs/cgroup/*.slice/ r,
|
||||||
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/{,**/} r,
|
@{sys}/fs/cgroup/*.slice/*.service/{,**/} r,
|
||||||
@{sys}/fs/cgroup/user.slice/user-@{uid}.slice/user@@{uid}.service/app.slice/snap*.service/cgroup.procs r,
|
@{sys}/fs/cgroup/*.slice/*-@{uid}.slice/*@@{uid}.service/app.slice/snap*.service/cgroup.procs r,
|
||||||
@{sys}/kernel/kexec_loaded r,
|
@{sys}/kernel/kexec_loaded r,
|
||||||
@{sys}/kernel/security/apparmor/.notify r,
|
@{sys}/kernel/security/apparmor/.notify r,
|
||||||
@{sys}/kernel/security/apparmor/features/{,**} r,
|
@{sys}/kernel/security/apparmor/features/{,**} r,
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@ abi <abi/4.0>,
|
||||||
include <tunables/global>
|
include <tunables/global>
|
||||||
|
|
||||||
@{exec_path} = @{bin}/ssh-keygen
|
@{exec_path} = @{bin}/ssh-keygen
|
||||||
|
|
||||||
profile ssh-keygen @{exec_path} {
|
profile ssh-keygen @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/consoles>
|
include <abstractions/consoles>
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@ profile localectl @{exec_path} {
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
@{pager_path} rPx -> child-pager,
|
@{pager_path} rPx -> child-pager,
|
||||||
|
@{bin}/pkttyagent rPx,
|
||||||
|
|
||||||
/usr/share/kbd/keymaps/{,**} r,
|
/usr/share/kbd/keymaps/{,**} r,
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@ profile loginctl @{exec_path} flags=(attach_disconnected) {
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
@{pager_path} rPx -> child-pager,
|
@{pager_path} rPx -> child-pager,
|
||||||
|
@{bin}/ssh rPx,
|
||||||
|
|
||||||
@{PROC}/sys/fs/nr_open r,
|
@{PROC}/sys/fs/nr_open r,
|
||||||
owner @{PROC}/@{pid}/cgroup r,
|
owner @{PROC}/@{pid}/cgroup r,
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ profile systemd-homed @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
@{lib}/systemd/systemd-homework rPx,
|
@{lib}/systemd/systemd-homework rPx -> systemd-homed//&systemd-homework,
|
||||||
@{bin}/mkfs.btrfs rPx,
|
@{bin}/mkfs.btrfs rPx,
|
||||||
@{bin}/mkfs.fat rPx,
|
@{bin}/mkfs.fat rPx,
|
||||||
@{bin}/mke2fs rPx,
|
@{bin}/mke2fs rPx,
|
||||||
|
|
|
||||||
|
|
@ -141,6 +141,7 @@ profile systemd-logind @{exec_path} flags=(attach_disconnected) {
|
||||||
/dev/input/event@{int} rw, # Input devices (keyboard, mouse, etc)
|
/dev/input/event@{int} rw, # Input devices (keyboard, mouse, etc)
|
||||||
/dev/mqueue/ r,
|
/dev/mqueue/ r,
|
||||||
/dev/tty@{int} rw,
|
/dev/tty@{int} rw,
|
||||||
|
owner @{att}/dev/tty@{int} rw,
|
||||||
owner /dev/shm/{,**/} rw,
|
owner /dev/shm/{,**/} rw,
|
||||||
|
|
||||||
include if exists <local/systemd-logind>
|
include if exists <local/systemd-logind>
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ profile systemd-machine-id-setup @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
@{att}/ r,
|
||||||
/ r,
|
/ r,
|
||||||
/etc/ r,
|
/etc/ r,
|
||||||
/etc/machine-id rw,
|
/etc/machine-id rw,
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,7 @@ profile systemd-userdbd @{exec_path} flags=(attach_disconnected,mediate_deleted)
|
||||||
|
|
||||||
@{att}/@{run}/systemd/notify w,
|
@{att}/@{run}/systemd/notify w,
|
||||||
@{att}/@{run}/systemd/userdb/io.systemd.DynamicUser rw,
|
@{att}/@{run}/systemd/userdb/io.systemd.DynamicUser rw,
|
||||||
|
@{att}/@{run}/systemd/userdb/io.systemd.Home rw,
|
||||||
|
|
||||||
@{run}/systemd/userdb/{,**} rw,
|
@{run}/systemd/userdb/{,**} rw,
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -38,8 +38,7 @@ profile cockpit-session @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
@{att}/@{run}/systemd/sessions/*.ref rw,
|
@{att}/@{run}/systemd/sessions/*.ref rw,
|
||||||
|
|
||||||
@{run}/cockpit/active.motd r,
|
@{run}/cockpit/* r,
|
||||||
@{run}/cockpit/inactive.motd r,
|
|
||||||
@{run}/faillock/@{user} rwk,
|
@{run}/faillock/@{user} rwk,
|
||||||
@{run}/motd.d/{,*} r,
|
@{run}/motd.d/{,*} r,
|
||||||
@{run}/utmp rwk,
|
@{run}/utmp rwk,
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = @{lib}/cockpit/cockpit-ws
|
@{exec_path} = @{lib}/cockpit/cockpit-ws
|
||||||
profile cockpit-ws @{exec_path} {
|
profile cockpit-ws @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/consoles>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,9 @@ profile docker-proxy @{exec_path} {
|
||||||
|
|
||||||
network inet stream,
|
network inet stream,
|
||||||
network inet6 stream,
|
network inet6 stream,
|
||||||
|
network netlink raw,
|
||||||
|
|
||||||
signal (receive) set=int peer=dockerd,
|
signal receive set=int peer=dockerd,
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -66,6 +66,7 @@ profile dockerd @{exec_path} flags=(attach_disconnected) {
|
||||||
@{bin}/apparmor_parser rPx,
|
@{bin}/apparmor_parser rPx,
|
||||||
@{bin}/containerd rPx,
|
@{bin}/containerd rPx,
|
||||||
@{bin}/docker-init rCx -> init,
|
@{bin}/docker-init rCx -> init,
|
||||||
|
@{lib}/docker/docker-init rCx -> init,
|
||||||
@{bin}/docker-proxy rPx,
|
@{bin}/docker-proxy rPx,
|
||||||
@{bin}/git rCx -> git,
|
@{bin}/git rCx -> git,
|
||||||
@{bin}/kmod rPx,
|
@{bin}/kmod rPx,
|
||||||
|
|
@ -129,6 +130,7 @@ profile dockerd @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
|
||||||
@{bin}/docker-init mr,
|
@{bin}/docker-init mr,
|
||||||
|
@{lib}/docker/docker-init mr,
|
||||||
|
|
||||||
include if exists <local/dockerd_init>
|
include if exists <local/dockerd_init>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@ profile appstreamcli @{exec_path} flags=(complain) {
|
||||||
|
|
||||||
/usr/share/app-info/{,**} r,
|
/usr/share/app-info/{,**} r,
|
||||||
/usr/share/appdata/ r,
|
/usr/share/appdata/ r,
|
||||||
|
/usr/share/byobu/desktop/{,**} r,
|
||||||
/usr/share/gvfs/remote-volume-monitors/{,**} r,
|
/usr/share/gvfs/remote-volume-monitors/{,**} r,
|
||||||
/usr/share/metainfo/ r,
|
/usr/share/metainfo/ r,
|
||||||
/usr/share/metainfo/*.{metainfo,appdata}.xml r,
|
/usr/share/metainfo/*.{metainfo,appdata}.xml r,
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,8 @@ profile auditd @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
/var/log/audit/{,**} rw,
|
/var/log/audit/{,**} rw,
|
||||||
|
|
||||||
|
@{att}/@{run}/systemd/userdb/io.systemd.DynamicUser rw,
|
||||||
|
|
||||||
owner @{run}/auditd.pid rwl,
|
owner @{run}/auditd.pid rwl,
|
||||||
owner @{run}/auditd.state rw,
|
owner @{run}/auditd.state rw,
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ abi <abi/4.0>,
|
||||||
include <tunables/global>
|
include <tunables/global>
|
||||||
|
|
||||||
@{exec_path} = @{bin}/exim4
|
@{exec_path} = @{bin}/exim4
|
||||||
profile exim4 @{exec_path} {
|
profile exim4 @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/bus-system>
|
include <abstractions/bus-system>
|
||||||
include <abstractions/consoles>
|
include <abstractions/consoles>
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ profile freetube @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/common/electron>
|
include <abstractions/common/electron>
|
||||||
include <abstractions/consoles>
|
include <abstractions/consoles>
|
||||||
include <abstractions/user-download-strict>
|
include <abstractions/user-download-strict>
|
||||||
|
include <abstractions/video>
|
||||||
|
|
||||||
network inet dgram,
|
network inet dgram,
|
||||||
network inet6 dgram,
|
network inet6 dgram,
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,8 @@ profile fwupdmgr @{exec_path} flags=(attach_disconnected) {
|
||||||
owner /var/cache/private/fwupdmgr/fwupd/lvfs-metadata.xml.gz{,.asc}.* rw,
|
owner /var/cache/private/fwupdmgr/fwupd/lvfs-metadata.xml.gz{,.asc}.* rw,
|
||||||
owner /var/cache/private/fwupdmgr/fwupd/lvfs-metadata.xml.gz{,.asc} rw,
|
owner /var/cache/private/fwupdmgr/fwupd/lvfs-metadata.xml.gz{,.asc} rw,
|
||||||
|
|
||||||
|
owner /var/lib/fwupd/.cache/ w,
|
||||||
|
|
||||||
@{user_cache_dirs}/dconf/user rw,
|
@{user_cache_dirs}/dconf/user rw,
|
||||||
owner @{user_cache_dirs}/ rw,
|
owner @{user_cache_dirs}/ rw,
|
||||||
owner @{user_cache_dirs}/fwupd/ rw,
|
owner @{user_cache_dirs}/fwupd/ rw,
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = @{bin}/landscape-sysinfo
|
@{exec_path} = @{bin}/landscape-sysinfo
|
||||||
profile landscape-sysinfo @{exec_path} {
|
profile landscape-sysinfo @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/consoles>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
include <abstractions/python>
|
include <abstractions/python>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ include <tunables/global>
|
||||||
@{exec_path} = /usr/share/landscape/landscape-sysinfo.wrapper
|
@{exec_path} = /usr/share/landscape/landscape-sysinfo.wrapper
|
||||||
profile landscape-sysinfo.wrapper @{exec_path} {
|
profile landscape-sysinfo.wrapper @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
|
include <abstractions/consoles>
|
||||||
|
|
||||||
capability dac_override,
|
capability dac_override,
|
||||||
capability fowner,
|
capability fowner,
|
||||||
|
|
|
||||||
|
|
@ -10,9 +10,12 @@ include <tunables/global>
|
||||||
profile motd @{exec_path} {
|
profile motd @{exec_path} {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
|
include <abstractions/ssl_certs>
|
||||||
|
|
||||||
network inet dgram,
|
network inet dgram,
|
||||||
|
network inet stream,
|
||||||
network inet6 dgram,
|
network inet6 dgram,
|
||||||
|
network inet6 stream,
|
||||||
network netlink raw,
|
network netlink raw,
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
@ -20,8 +23,11 @@ profile motd @{exec_path} {
|
||||||
@{sh_path} rix,
|
@{sh_path} rix,
|
||||||
@{coreutils_path} rix,
|
@{coreutils_path} rix,
|
||||||
@{bin}/cloud-id rix,
|
@{bin}/cloud-id rix,
|
||||||
|
@{bin}/systemctl rCx -> systemctl,
|
||||||
@{bin}/hostname rPx,
|
@{bin}/hostname rPx,
|
||||||
@{bin}/snap rPx,
|
@{bin}/snap rPx,
|
||||||
|
@{bin}/dpkg rPx -> child-dpkg,
|
||||||
|
@{bin}/systemd-detect-virt rPx,
|
||||||
@{bin}/wget rix,
|
@{bin}/wget rix,
|
||||||
|
|
||||||
@{lib}/ubuntu-release-upgrader/release-upgrade-motd rPx,
|
@{lib}/ubuntu-release-upgrader/release-upgrade-motd rPx,
|
||||||
|
|
@ -34,20 +40,35 @@ profile motd @{exec_path} {
|
||||||
/etc/default/motd-news r,
|
/etc/default/motd-news r,
|
||||||
/etc/lsb-release r,
|
/etc/lsb-release r,
|
||||||
/etc/update-motd.d/* r,
|
/etc/update-motd.d/* r,
|
||||||
|
/etc/cloud/cloud.cfg r,
|
||||||
|
/etc/cloud/cloud.cfg.d/{,*} r,
|
||||||
|
|
||||||
/var/cache/motd-news rw,
|
/var/cache/motd-news rw,
|
||||||
/var/lib/update-notifier/updates-available r,
|
/var/lib/update-notifier/updates-available r,
|
||||||
/var/lib/ubuntu-advantage/messages/motd-esm-announce r,
|
/var/lib/ubuntu-advantage/messages/motd-esm-announce r,
|
||||||
|
|
||||||
/tmp/tmp.@{rand10} w,
|
/tmp/tmp.@{rand10} rw,
|
||||||
|
|
||||||
@{run}/motd.d/{,*} r,
|
@{run}/motd.d/{,*} r,
|
||||||
@{run}/motd.dynamic.new rw,
|
@{run}/motd.dynamic.new rw,
|
||||||
|
@{run}/reboot-required r,
|
||||||
|
|
||||||
@{PROC}/@{pids}/mounts r,
|
@{PROC}/@{pids}/mounts r,
|
||||||
|
|
||||||
/dev/tty@{int} rw,
|
/dev/tty@{int} rw,
|
||||||
|
|
||||||
|
profile systemctl {
|
||||||
|
include <abstractions/base>
|
||||||
|
include <abstractions/app/systemctl>
|
||||||
|
|
||||||
|
capability net_admin,
|
||||||
|
capability sys_ptrace,
|
||||||
|
|
||||||
|
@{run}/systemd/private rw,
|
||||||
|
|
||||||
|
include if exists <local/motd_systemctl>
|
||||||
|
}
|
||||||
|
|
||||||
include if exists <local/motd>
|
include if exists <local/motd>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,8 @@ profile qemu-ga @{exec_path} {
|
||||||
@{sys}/devices/system/node/ r,
|
@{sys}/devices/system/node/ r,
|
||||||
@{sys}/devices/system/node/node@{int}/meminfo r,
|
@{sys}/devices/system/node/node@{int}/meminfo r,
|
||||||
|
|
||||||
|
@{PROC}/sys/vm/max_map_count r,
|
||||||
|
|
||||||
/dev/vport@{int}p@{int} rw,
|
/dev/vport@{int}p@{int} rw,
|
||||||
|
|
||||||
profile systemctl {
|
profile systemctl {
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ profile remmina @{exec_path} {
|
||||||
network inet6 dgram,
|
network inet6 dgram,
|
||||||
network netlink raw,
|
network netlink raw,
|
||||||
|
|
||||||
#aa:dbus own bus=session name=org.remmina.Remmina
|
#aa:dbus own bus=session name=org.remmina.Remmina interface+=org.gtk.Actions
|
||||||
#aa:dbus talk bus=session name=org.ayatana.NotificationItem label=gnome-shell
|
#aa:dbus talk bus=session name=org.ayatana.NotificationItem label=gnome-shell
|
||||||
#aa:dbus talk bus=session name=org.gtk.vfs label="gvfsd{,-*}"
|
#aa:dbus talk bus=session name=org.gtk.vfs label="gvfsd{,-*}"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,22 +11,19 @@ include <tunables/global>
|
||||||
profile tlp @{exec_path} flags=(attach_disconnected) {
|
profile tlp @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/bus-system>
|
include <abstractions/bus-system>
|
||||||
include <abstractions/disks-read>
|
|
||||||
include <abstractions/graphics>
|
|
||||||
include <abstractions/bus/org.freedesktop.PolicyKit1>
|
include <abstractions/bus/org.freedesktop.PolicyKit1>
|
||||||
|
include <abstractions/consoles>
|
||||||
|
include <abstractions/devices-usb-read>
|
||||||
|
include <abstractions/disks-read>
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
include <abstractions/perl>
|
|
||||||
|
|
||||||
capability dac_read_search,
|
capability dac_read_search,
|
||||||
capability net_admin,
|
|
||||||
capability sys_nice,
|
capability sys_nice,
|
||||||
capability sys_rawio,
|
capability sys_rawio,
|
||||||
capability sys_tty_config,
|
capability sys_tty_config,
|
||||||
|
|
||||||
network netlink raw,
|
network netlink raw,
|
||||||
|
|
||||||
ptrace read peer=unconfined,
|
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
@{sh_path} rix,
|
@{sh_path} rix,
|
||||||
|
|
@ -72,10 +69,16 @@ profile tlp @{exec_path} flags=(attach_disconnected) {
|
||||||
@{run}/udev/data/+platform:* r,
|
@{run}/udev/data/+platform:* r,
|
||||||
|
|
||||||
@{sys}/bus/pci/devices/ r,
|
@{sys}/bus/pci/devices/ r,
|
||||||
|
@{sys}/class/net/ r,
|
||||||
|
@{sys}/class/power_supply/ r,
|
||||||
@{sys}/devices/@{pci}/ r,
|
@{sys}/devices/@{pci}/ r,
|
||||||
@{sys}/devices/@{pci}/{,**/}power/control w,
|
@{sys}/devices/@{pci}/{,**/}power/control w,
|
||||||
|
@{sys}/devices/@{pci}/**/host@{int}/**/link_power_management_policy w,
|
||||||
@{sys}/devices/@{pci}/class r,
|
@{sys}/devices/@{pci}/class r,
|
||||||
|
@{sys}/devices/**/net/**/uevent r,
|
||||||
@{sys}/devices/system/cpu/cpufreq/policy@{int}/energy_performance_preference rw,
|
@{sys}/devices/system/cpu/cpufreq/policy@{int}/energy_performance_preference rw,
|
||||||
|
@{sys}/devices/virtual/dmi/id/product_version r,
|
||||||
|
@{sys}/devices/virtual/net/**/uevent r,
|
||||||
@{sys}/firmware/acpi/platform_profile* rw,
|
@{sys}/firmware/acpi/platform_profile* rw,
|
||||||
@{sys}/firmware/acpi/pm_profile* rw,
|
@{sys}/firmware/acpi/pm_profile* rw,
|
||||||
@{sys}/module/*/parameters/power_save rw,
|
@{sys}/module/*/parameters/power_save rw,
|
||||||
|
|
@ -100,6 +103,8 @@ profile tlp @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/app/udevadm>
|
include <abstractions/app/udevadm>
|
||||||
|
|
||||||
|
@{run}/tlp/lock_tlp rw,
|
||||||
|
|
||||||
include if exists <local/tlp_udevadm>
|
include if exists <local/tlp_udevadm>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue