logo

apparmor.d

Unnamed repository; edit this file 'description' to name the repository. git clone https://hacktivis.me/git/apparmor.d.git

consoles (931B)


  1. # vim:syntax=apparmor
  2. # ------------------------------------------------------------------
  3. #
  4. # Copyright (C) 2002-2005 Novell/SUSE
  5. #
  6. # This program is free software; you can redistribute it and/or
  7. # modify it under the terms of version 2 of the GNU General Public
  8. # License published by the Free Software Foundation.
  9. #
  10. # ------------------------------------------------------------------
  11. abi <abi/3.0>,
  12. # there are three common ways to refer to consoles
  13. /dev/console rw,
  14. /dev/tty rw,
  15. # this next entry is a tad unfortunate; /dev/tty will always be
  16. # associated with the controlling terminal by the kernel, but if a
  17. # program uses the /dev/pts/ interface, it actually has access to
  18. # -all- xterm, sshd, etc, terminals on the system.
  19. /dev/pts/[0-9]* rw,
  20. /dev/pts/ r,
  21. /usr/share/terminfo/** r,
  22. # Include additions to the abstraction
  23. include if exists <abstractions/consoles.d>