logo

apparmor.d

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

ubuntu-unity7-base (2558B)


  1. # vim:syntax=apparmor
  2. # ------------------------------------------------------------------
  3. #
  4. # Copyright (C) 2013-2014 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. #
  13. # Rules common to applications running under Unity 7
  14. #
  15. include <abstractions/gnome>
  16. include <abstractions/dbus-session-strict>
  17. include <abstractions/dbus-strict>
  18. #
  19. # Access required for connecting to/communication with Unity HUD
  20. #
  21. dbus (send)
  22. bus=session
  23. path="/com/canonical/hud",
  24. dbus (send)
  25. bus=session
  26. interface="com.canonical.hud.*",
  27. dbus (send)
  28. bus=session
  29. path="/com/canonical/hud/applications/*",
  30. dbus (receive)
  31. bus=session
  32. path="/com/canonical/hud",
  33. dbus (receive)
  34. bus=session
  35. interface="com.canonical.hud.*",
  36. #
  37. # Allow access for connecting to/communication with the appmenu
  38. #
  39. # dbusmenu
  40. dbus (send)
  41. bus=session
  42. interface="com.canonical.AppMenu.*",
  43. dbus (receive, send)
  44. bus=session
  45. path=/com/canonical/menu/**,
  46. # gmenu
  47. dbus (receive, send)
  48. bus=session
  49. interface=org.gtk.Actions,
  50. dbus (receive, send)
  51. bus=session
  52. interface=org.gtk.Menus,
  53. #
  54. # Access required for using freedesktop notifications
  55. #
  56. dbus (send)
  57. bus=session
  58. path=/org/freedesktop/Notifications
  59. member=GetCapabilities,
  60. dbus (send)
  61. bus=session
  62. path=/org/freedesktop/Notifications
  63. member=GetServerInformation,
  64. dbus (send)
  65. bus=session
  66. path=/org/freedesktop/Notifications
  67. member=Notify,
  68. dbus (receive)
  69. bus=session
  70. member="Notify"
  71. peer=(name="org.freedesktop.DBus"),
  72. dbus (receive)
  73. bus=session
  74. path=/org/freedesktop/Notifications
  75. member=NotificationClosed,
  76. dbus (send)
  77. bus=session
  78. path=/org/freedesktop/Notifications
  79. member=CloseNotification,
  80. # accessibility
  81. dbus (send)
  82. bus=session
  83. peer=(name=org.a11y.Bus),
  84. dbus (receive)
  85. bus=session
  86. interface=org.a11y.atspi*,
  87. dbus (receive, send)
  88. bus=accessibility,
  89. #
  90. # Deny potentially dangerous access
  91. #
  92. deny dbus bus=session path=/com/canonical/[Uu]nity/[Dd]ebug**,
  93. # Include additions to the abstraction
  94. include if exists <abstractions/ubuntu-unity7-base.d>