apparmor/profiles/apparmor.d/abstractions/ubuntu-xterm
Christian Boltz 9fc8e43c67
abstractions: remove '#' from 'include if exists'
This matches what we use in the profiles for local abstractions.

Also adjust the check in the Makefile to expect the variant without '#'.
2020-05-30 19:53:49 +02:00

18 lines
347 B
Text

# vim:syntax=apparmor
#
# for allowing access to xterm
#
abi <abi/3.0>,
#include <abstractions/consoles>
/dev/ptmx rw,
/{,var/}run/utmp r,
/etc/X11/app-defaults/XTerm r,
# do not use ux or Ux here. Use at a minimum ix
/usr/bin/xterm ix,
# Include additions to the abstraction
include if exists <abstractions/ubuntu-xterm.d>