# vim:syntax=apparmor
#
# for allowing access to konsole
#

  abi <abi/3.0>,

  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>
