aboutsummaryrefslogtreecommitdiff
path: root/straper/db/public/apparmor/apparmor.d/abstractions/wayland
blob: 27563d5cf65f2402fe27abc96299806e318b1b3c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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.
#
# ------------------------------------------------------------------

  abi <abi/4.0>,

  owner @{run}/user/*/wayland-[0-9]* rw,
  owner @{run}/user/*/{mesa,mutter,sdl,wayland-cursor,weston,xwayland}-shared-* rw,

  #For compositors based on wlroots
  owner /dev/shm/wlroots-* rw,

  # Include additions to the abstraction
  include if exists <abstractions/wayland.d>