logo

apparmor.d

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

usr.sbin.mdnsd (984B)


  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 mdnsd /usr/{bin,sbin}/mdnsd {
  14. include <abstractions/base>
  15. include <abstractions/consoles>
  16. include <abstractions/nameservice>
  17. capability net_bind_service,
  18. capability setgid,
  19. capability setuid,
  20. capability sys_chroot,
  21. capability sys_resource,
  22. network netlink dgram,
  23. /usr/{bin,sbin}/mdnsd rmix,
  24. @{PROC}/net/ r,
  25. @{PROC}/net/unix r,
  26. @{run}/mdnsd lw,
  27. @{run}/mdnsd.pid w,
  28. # Site-specific additions and overrides. See local/README for details.
  29. include if exists <local/usr.sbin.mdnsd>
  30. }