mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
chore: minor guideline cosmetic.
This commit is contained in:
parent
edfa690e2b
commit
f91fc28711
@ -6,16 +6,13 @@
|
||||
|
||||
owner @{user_share_dirs}/sddm/wayland-session.log w,
|
||||
|
||||
owner @{run}/user/@{uid}/.hyprpaper_* rw,
|
||||
owner @{run}/user/@{uid}/.hyprpicker_* rw,
|
||||
owner @{run}/user/@{uid}/wayland-@{int}.lock rwk,
|
||||
owner @{run}/user/@{uid}/wayland-proxy-@{int} rw,
|
||||
|
||||
owner /tmp/.X@{int}-lock w,
|
||||
owner /dev/shm/@{uuid} rw,
|
||||
owner /dev/shm/dunst-@{rand6} rw,
|
||||
owner /dev/shm/grim-@{rand6} rw,
|
||||
owner /dev/shm/sway* rw,
|
||||
owner /dev/shm/dunst-@{rand6} rw,
|
||||
owner /dev/shm/@{uuid} rw,
|
||||
owner /dev/shm/wlroots-@{rand6} rw,
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
@ -15,23 +15,24 @@ profile hyprland @{exec_path} flags=(attach_disconnected) {
|
||||
|
||||
capability sys_ptrace,
|
||||
|
||||
ptrace read,
|
||||
|
||||
network netlink raw,
|
||||
|
||||
signal send,
|
||||
|
||||
@{exec_path} mr,
|
||||
ptrace read,
|
||||
|
||||
owner @{user_share_dirs}/hyprpm/** mr,
|
||||
@{exec_path} mr,
|
||||
|
||||
/usr/share/hyprland/{,*} r,
|
||||
/usr/share/libinput/{,*} r,
|
||||
|
||||
owner @{user_cache_dirs}/hyprland/{,**} rw,
|
||||
owner @{user_config_dirs}/hypr/** r,
|
||||
owner @{user_share_dirs}/hyprpm/** mr,
|
||||
|
||||
owner @{run}/user/@{uid}/gamescope-* rw,
|
||||
owner @{run}/user/@{uid}/.hyprpaper_* rw,
|
||||
owner @{run}/user/@{uid}/.hyprpicker_* rw,
|
||||
owner @{run}/user/@{uid}/hypr/{,**} rw,
|
||||
owner /dev/shm/.org.chromium.Chromium.@{rand6} rw,
|
||||
|
||||
@ -57,8 +58,8 @@ profile hyprland @{exec_path} flags=(attach_disconnected) {
|
||||
|
||||
owner @{PROC}/@{pid}/environ r,
|
||||
|
||||
/dev/input/event@{int} rw,
|
||||
/dev/tty r,
|
||||
/dev/input/event@{int} rw,
|
||||
/dev/tty r,
|
||||
owner /dev/tty@{int} rw,
|
||||
|
||||
include if exists <local/hyprland>
|
||||
|
Loading…
Reference in New Issue
Block a user