logo

apparmor.d

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

sbin.syslogd (1476B)


  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 syslogd /{usr/,}{bin,sbin}/syslogd {
  14. include <abstractions/base>
  15. include <abstractions/nameservice>
  16. include <abstractions/consoles>
  17. capability sys_tty_config,
  18. capability dac_override,
  19. capability dac_read_search,
  20. capability setuid,
  21. capability setgid,
  22. capability syslog,
  23. unix (receive) type=dgram,
  24. unix (receive) type=stream,
  25. /dev/log wl,
  26. /var/lib/*/dev/log wl,
  27. /dev/kmsg r,
  28. /proc/kmsg r,
  29. /dev/tty* w,
  30. /dev/xconsole rw,
  31. /etc/syslog.conf r,
  32. /etc/syslog.d/ r,
  33. /etc/syslog.d/* r,
  34. /{usr/,}{bin,sbin}/syslogd rmix,
  35. /var/log/** rw,
  36. @{run}/syslog.pid krwl,
  37. @{run}/syslogd.pid krwl,
  38. @{run}/utmp rw,
  39. /var/spool/compaq/nic/messages_fifo rw,
  40. # Site-specific additions and overrides. See local/README for details.
  41. include if exists <local/sbin.syslogd>
  42. }