feat(profile): general updtae.
This commit is contained in:
parent
cc139f1144
commit
7a53fc3a99
27 changed files with 158 additions and 184 deletions
|
|
@ -7,8 +7,10 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{name} = signal-desktop{,-beta}
|
||||
@{lib_dirs} = @{lib}/signal-desktop /opt/Signal{,?Beta}
|
||||
@{config_dirs} = @{user_config_dirs}/Signal{,?Beta}
|
||||
@{cache_dirs} = @{user_cache_dirs}/@{name}
|
||||
|
||||
@{exec_path} = @{lib_dirs}/chrome-sandbox
|
||||
profile signal-desktop-chrome-sandbox @{exec_path} {
|
||||
|
|
@ -19,7 +21,7 @@ profile signal-desktop-chrome-sandbox @{exec_path} {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{lib_dirs}/signal-desktop{,-beta} rPx,
|
||||
@{lib_dirs}/@{name} rPx,
|
||||
|
||||
@{PROC}/@{pid}/ r,
|
||||
@{PROC}/@{pid}/oom_adj w,
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@ profile spice-client-glib-usb-acl-helper @{exec_path} {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{PROC}/sys/kernel/cap_last_cap r,
|
||||
owner @{PROC}/@{pid}/stat r,
|
||||
|
||||
include if exists <local/spice-client-glib-usb-acl-helper>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ profile switcherooctl @{exec_path} {
|
|||
include <abstractions/bus-system>
|
||||
include <abstractions/python>
|
||||
|
||||
#aa:dbus own bus=system name=net.hadess.SwitcherooControl
|
||||
#aa:dbus talk bus=system name=net.hadess.SwitcherooControl label=switcheroo-control
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
|
|
|
|||
|
|
@ -115,9 +115,10 @@ profile tomb @{exec_path} {
|
|||
include <abstractions/base>
|
||||
include <abstractions/consoles>
|
||||
|
||||
capability dac_read_search,
|
||||
capability sys_admin,
|
||||
|
||||
umount @{MOUNTS}/{,*/},
|
||||
umount @{MOUNTS}/{,**/},
|
||||
|
||||
@{bin}/umount mr,
|
||||
|
||||
|
|
|
|||
|
|
@ -11,8 +11,6 @@ include <tunables/global>
|
|||
profile udisksd @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/bus-system>
|
||||
include <abstractions/bus/org.freedesktop.login1>
|
||||
include <abstractions/bus/org.freedesktop.PolicyKit1>
|
||||
include <abstractions/disks-write>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
|
|
@ -60,9 +58,11 @@ profile udisksd @{exec_path} flags=(attach_disconnected) {
|
|||
umount @{run}/udisks2/temp-mount-*/,
|
||||
umount /media/cdrom@{int}/,
|
||||
|
||||
signal (receive) set=(int) peer=@{p_systemd},
|
||||
signal receive set=int peer=@{p_systemd},
|
||||
|
||||
#aa:dbus own bus=system name=org.freedesktop.UDisks2
|
||||
#aa:dbus talk bus=system name=org.freedesktop.login1 label=systemd-logind
|
||||
#aa:dbus talk bus=system name=org.freedesktop.PolicyKit1 label=polkitd
|
||||
|
||||
dbus send bus=system path=/org/freedesktop/DBus
|
||||
interface=org.freedesktop.DBus
|
||||
|
|
@ -88,6 +88,7 @@ profile udisksd @{exec_path} flags=(attach_disconnected) {
|
|||
@{bin}/sgdisk rPx,
|
||||
@{bin}/systemctl rCx -> systemctl,
|
||||
@{bin}/systemd-escape rPx,
|
||||
@{bin}/xfs_db rPUx,
|
||||
|
||||
/etc/crypttab r,
|
||||
/etc/fstab r,
|
||||
|
|
|
|||
|
|
@ -10,20 +10,13 @@ include <tunables/global>
|
|||
@{exec_path} = @{bin}/wpa_gui
|
||||
profile wpa-gui @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/dri-enumerate>
|
||||
include <abstractions/graphics>
|
||||
include <abstractions/fontconfig-cache-read>
|
||||
include <abstractions/fonts>
|
||||
include <abstractions/freedesktop.org>
|
||||
include <abstractions/gtk>
|
||||
include <abstractions/mesa>
|
||||
include <abstractions/desktop>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/qt5>
|
||||
include <abstractions/X>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/usr/share/hwdata/pnp.ids r,
|
||||
|
||||
owner @{tmp}/wpa_ctrl_@{pid}-[0-9] w,
|
||||
owner /dev/shm/#@{int} rw,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue