mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-01-30 23:05:11 +01:00
xwayland: small fixes.
This commit is contained in:
parent
a48b6eed2e
commit
9f17f48c6e
2 changed files with 6 additions and 3 deletions
|
@ -25,7 +25,7 @@ profile xwayland @{exec_path} flags=(attach_disconnected) {
|
||||||
/dev/dri/renderD[0-9]* rw,
|
/dev/dri/renderD[0-9]* rw,
|
||||||
|
|
||||||
# TMP files
|
# TMP files
|
||||||
owner /tmp/server-[0-9].xkm rwk,
|
owner /tmp/server-[0-9]*.xkm rwk,
|
||||||
|
|
||||||
# Display Xserver on a specific TTY
|
# Display Xserver on a specific TTY
|
||||||
/dev/tty[0-9]* rw,
|
/dev/tty[0-9]* rw,
|
||||||
|
|
|
@ -7,7 +7,7 @@ abi <abi/3.0>,
|
||||||
include <tunables/global>
|
include <tunables/global>
|
||||||
|
|
||||||
@{exec_path} = /{usr/,}bin/xkbcomp
|
@{exec_path} = /{usr/,}bin/xkbcomp
|
||||||
profile xkbcomp @{exec_path} {
|
profile xkbcomp @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/deny-root-dir-access>
|
include <abstractions/deny-root-dir-access>
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ profile xkbcomp @{exec_path} {
|
||||||
|
|
||||||
owner @{HOME}/*.{xkb,xkm} rw,
|
owner @{HOME}/*.{xkb,xkm} rw,
|
||||||
|
|
||||||
owner /tmp/server-[0-9].xkm rwk,
|
owner /tmp/server-[0-9]*.xkm rwk,
|
||||||
|
|
||||||
# file_inherit
|
# file_inherit
|
||||||
owner /dev/tty[0-9]* rw,
|
owner /dev/tty[0-9]* rw,
|
||||||
|
@ -31,5 +31,8 @@ profile xkbcomp @{exec_path} {
|
||||||
owner /var/log/lightdm/x-[0-9]*.log w,
|
owner /var/log/lightdm/x-[0-9]*.log w,
|
||||||
/dev/dri/card[0-9]* rw,
|
/dev/dri/card[0-9]* rw,
|
||||||
|
|
||||||
|
/dev/tty[0-9]* rw,
|
||||||
|
/dev/tty rw,
|
||||||
|
|
||||||
include if exists <local/xkbcomp>
|
include if exists <local/xkbcomp>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue