Update hyprlock
This commit is contained in:
parent
419ecb8b81
commit
3a37efb551
1 changed files with 5 additions and 15 deletions
|
|
@ -8,31 +8,22 @@ include <tunables/global>
|
|||
|
||||
@{exec_path} = @{bin}/hyprlock
|
||||
|
||||
profile hyprlock /{,usr/}{,s}bin/hyprlock {
|
||||
profile hyprlock @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/dri>
|
||||
include <abstractions/authentication>
|
||||
include <abstractions/fonts>
|
||||
include <abstractions/mesa>
|
||||
include <abstractions/graphics>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/opencl-mesa>
|
||||
include <abstractions/vulkan>
|
||||
include <abstractions/vulkan-strict>
|
||||
|
||||
capability audit_write,
|
||||
|
||||
network netlink raw,
|
||||
|
||||
@{exec_path} mr,
|
||||
@{bin}/unix_chkpwd mrix,
|
||||
|
||||
/etc/login.defs r,
|
||||
/etc/pam.d/* r,
|
||||
/etc/security/faillock.conf r,
|
||||
/etc/shells r,
|
||||
owner /etc/shadow r,
|
||||
|
||||
owner @{XDG_PICTURES_DIR}/** r,
|
||||
owner @{XDG_WALLPAPERS_DIR}/** r,
|
||||
owner @{HOME}/@{XDG_WALLPAPERS_DIR}/** r,
|
||||
owner @{user_pictures_dirs}/** r,
|
||||
|
||||
owner @{user_config_dirs}/hypr/hyprlock.conf r,
|
||||
|
||||
|
|
@ -44,4 +35,3 @@ profile hyprlock /{,usr/}{,s}bin/hyprlock {
|
|||
}
|
||||
|
||||
# vim:syntax=apparmor
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue