mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-05 17:01:00 +01:00
Profile abstractions: add wayland/weston abstraction
Merged from trunk commit 3566. Add a basic wayland abstraction. Include the wayland abstraction from the gnome one. This is the least invasive solution to the problem I'm trying to solve right now (Evince not starting in GNOME on Wayland, and probably similar issues for other GNOME applications I suppose). Bug: https://bugs.debian.org/827335 Bug: https://bugs.debian.org/807880
This commit is contained in:
parent
c79607927d
commit
ed68e397aa
2 changed files with 13 additions and 0 deletions
|
@ -15,6 +15,7 @@
|
|||
#include <abstractions/freedesktop.org>
|
||||
#include <abstractions/xdg-desktop>
|
||||
#include <abstractions/user-tmp>
|
||||
#include <abstractions/wayland>
|
||||
|
||||
# systemwide gtk defaults
|
||||
/etc/gnome/gtkrc* r,
|
||||
|
|
12
profiles/apparmor.d/abstractions/wayland
Normal file
12
profiles/apparmor.d/abstractions/wayland
Normal file
|
@ -0,0 +1,12 @@
|
|||
# vim:syntax=apparmor
|
||||
# ------------------------------------------------------------------
|
||||
#
|
||||
# Copyright (C) 2016 intrigeri <intrigeri@boum.org>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of version 2 of the GNU General Public
|
||||
# License published by the Free Software Foundation.
|
||||
#
|
||||
# ------------------------------------------------------------------
|
||||
|
||||
owner /{,var/}run/user/*/weston-shared-* rw,
|
Loading…
Add table
Reference in a new issue