mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-06 09:21:00 +01:00

This matches what we use in the profiles for local abstractions. Also adjust the check in the Makefile to expect the variant without '#'.
18 lines
347 B
Text
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>
|