logo

apparmor.d

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

nss-systemd (1248B)


  1. # ------------------------------------------------------------------
  2. #
  3. # Copyright (C) 2002-2009 Novell/SUSE
  4. # Copyright (C) 2009-2011 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. # libnss-systemd
  13. #
  14. # https://systemd.io/USER_GROUP_API/
  15. # https://systemd.io/USER_RECORD/
  16. # https://www.freedesktop.org/software/systemd/man/nss-systemd.html
  17. #
  18. # Allow User/Group lookups via common VarLink socket APIs. Applications need
  19. # to either consult all of them or the io.systemd.Multiplexer frontend.
  20. @{run}/systemd/userdb/ r,
  21. @{run}/systemd/userdb/io.systemd.Multiplexer rw,
  22. @{run}/systemd/userdb/io.systemd.DynamicUser rw, # systemd-exec users
  23. @{run}/systemd/userdb/io.systemd.Home rw, # systemd-home dirs
  24. @{run}/systemd/userdb/io.systemd.NameServiceSwitch rw, # UNIX/glibc NSS
  25. @{run}/systemd/userdb/io.systemd.Machine rw, # systemd-machined
  26. @{PROC}/sys/kernel/random/boot_id r,
  27. include if exists <abstractions/nss-systemd.d>