logo

apparmor.d

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

sbin.klogd (1000B)


  1. # ------------------------------------------------------------------
  2. #
  3. # Copyright (C) 2002-2009 Novell/SUSE
  4. # Copyright (C) 2010 Canonical Ltd.
  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. include <tunables/global>
  13. profile klogd /{usr/,}{bin,sbin}/klogd {
  14. include <abstractions/base>
  15. capability sys_admin, # for backward compatibility with kernel <= 2.6.37
  16. capability syslog,
  17. network inet stream,
  18. /boot/System.map* r,
  19. @{PROC}/kmsg r,
  20. @{PROC}/kallsyms r,
  21. /dev/tty rw,
  22. /{usr/,}{bin,sbin}/klogd rmix,
  23. /var/log/boot.msg rwl,
  24. @{run}/klogd.pid krwl,
  25. @{run}/klogd/klogd.pid krwl,
  26. @{run}/klogd/kmsg r,
  27. # Site-specific additions and overrides. See local/README for details.
  28. include if exists <local/sbin.klogd>
  29. }