mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-11 20:55:19 +01:00
Create lxqt-globalkeysd
This commit is contained in:
parent
38e88cef14
commit
d5552d2f94
1 changed files with 42 additions and 0 deletions
42
apparmor.d/groups/lxqt/lxqt-globalkeysd
Normal file
42
apparmor.d/groups/lxqt/lxqt-globalkeysd
Normal file
|
@ -0,0 +1,42 @@
|
|||
# apparmor.d - Full set of apparmor profiles
|
||||
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
||||
# Copyright (C) 2024 Besanon <m231009ts@mailfence.com>
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
abi <abi/4.0>,
|
||||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = @{bin}/lxqt-globalkeysd
|
||||
profile lxqt-globalkeysd @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/bus-accessibility>
|
||||
include <abstractions/video>
|
||||
include <abstractions/lxqt>
|
||||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/qt5-shader-cache>
|
||||
include <abstractions/gvfs-open>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{bin}/screengrab rpx,
|
||||
@{bin}/lxqt-config-brightness rpx,
|
||||
|
||||
/usr/share/lxqt/globalkeyshortcuts.conf rw,
|
||||
|
||||
/var/lib/dbus/machine-id r,
|
||||
|
||||
owner @{user_config_dirs}/lxqt/ r,
|
||||
owner @{user_config_dirs}/lxqt/globalkeyshortcuts.conf.lock wrk,
|
||||
owner @{user_config_dirs}/lxqt/#@{int} wr,
|
||||
owner @{user_config_dirs}/lxqt/globalkeyshortcuts.conf.@{rand6} rw,
|
||||
owner @{user_config_dirs}/lxqt/globalkeyshortcuts.conf.@{rand6} l -> @{user_config_dirs}/lxqt/#@{int},
|
||||
|
||||
owner /tmp/@{int} r,
|
||||
|
||||
/dev/tty rw,
|
||||
|
||||
include if exists <local/lxqt-globalkeysd>
|
||||
}
|
||||
|
||||
# vim:syntax=apparmor
|
Loading…
Reference in a new issue