mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 07:54:17 +01:00
Create xdg-desktop-portal-hyprland
This commit is contained in:
parent
a1eaf58427
commit
21bef5a042
40
apparmor.d/groups/freedesktop/xdg-desktop-portal-hyprland
Normal file
40
apparmor.d/groups/freedesktop/xdg-desktop-portal-hyprland
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2024 odomingao
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
abi <abi/3.0>,
|
||||||
|
|
||||||
|
include <tunables/global>
|
||||||
|
|
||||||
|
@{exec_path} = @{lib}/xdg-desktop-portal-hyprland
|
||||||
|
profile xdg-desktop-portal-hyprland @{exec_path} {
|
||||||
|
include <abstractions/base>
|
||||||
|
include <abstractions/audio>
|
||||||
|
include <abstractions/audio-client>
|
||||||
|
include <abstractions/dconf-write>
|
||||||
|
include <abstractions/desktop>
|
||||||
|
include <abstractions/dri-enumerate>
|
||||||
|
include <abstractions/graphics>
|
||||||
|
include <abstractions/nameservice-strict>
|
||||||
|
|
||||||
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
@{sh_path} ix,
|
||||||
|
@{bin}/hyprland-share-picker rix,
|
||||||
|
@{bin}/slurp rix,
|
||||||
|
|
||||||
|
owner /tmp/hypr/ rw,
|
||||||
|
owner /tmp/hypr/\#@{int} rwkl,
|
||||||
|
owner /tmp/hypr/hyprland-share-picker.conf* rwkl,
|
||||||
|
|
||||||
|
/sys/devices/virtual/dmi/id/bios_vendor r,
|
||||||
|
/sys/devices/virtual/dmi/id/board_vendor r,
|
||||||
|
/sys/devices/virtual/dmi/id/product_name r,
|
||||||
|
/sys/devices/virtual/dmi/id/sys_vendor r,
|
||||||
|
|
||||||
|
owner @{PROC}/@{pid}/cmdline r,
|
||||||
|
|
||||||
|
include if exists <local/xdg-desktop-portal-hyprland>
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim:syntax=apparmor
|
Loading…
Reference in New Issue
Block a user