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

Local policy may want to extend or override abstractions, so add support for including local updates to them. Acked-by: Christian Boltz <apparmor@cboltz.de> Acked-by: intrigeri <intrigeri@boum.org> Signed-off-by: John Johansen <john.johansen@canonical.com>
20 lines
438 B
Text
20 lines
438 B
Text
# vim:syntax=apparmor
|
|
#
|
|
# for allowing access to konsole
|
|
#
|
|
|
|
#include <abstractions/consoles>
|
|
#include <abstractions/kde>
|
|
capability sys_ptrace,
|
|
@{PROC}/@{pid}/status r,
|
|
@{PROC}/@{pid}/stat r,
|
|
@{PROC}/@{pid}/cmdline r,
|
|
/{,var/}run/utmp r,
|
|
/dev/ptmx rw,
|
|
|
|
# do not use ux or Ux here. Use at a minimum ix
|
|
/usr/bin/konsole ix,
|
|
|
|
|
|
# Include additions to the abstraction
|
|
#include if exists <abstractions/ubuntu-konsole.d>
|