logo

apparmor.d

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

dbus-session-strict (1010B)


  1. # vim:syntax=apparmor
  2. # ------------------------------------------------------------------
  3. #
  4. # Copyright (C) 2011-2013 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. # unique per-machine identifier
  13. /etc/machine-id r,
  14. /var/lib/dbus/machine-id r,
  15. unix (connect, receive, send)
  16. type=stream
  17. peer=(addr="@/tmp/dbus-*"),
  18. # dbus with systemd and --enable-user-session
  19. owner @{run}/user/[0-9]*/bus rw,
  20. dbus send
  21. bus=session
  22. path=/org/freedesktop/DBus
  23. interface=org.freedesktop.DBus
  24. member={Hello,AddMatch,RemoveMatch,GetNameOwner,NameHasOwner,StartServiceByName}
  25. peer=(name=org.freedesktop.DBus),
  26. # Include additions to the abstraction
  27. include if exists <abstractions/dbus-session-strict.d>