logo

apparmor.d

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

gvfs-open (1180B)


  1. # vim:syntax=apparmor
  2. abi <abi/3.0>,
  3. # This abstraction is designed to be used in a child profile to limit what
  4. # confined application can invoke via gvfs-open helper.
  5. #
  6. # NOTE: most likely you want to use xdg-open abstraction instead for better
  7. # portability across desktop environments, unless you are sure that confined
  8. # application only uses /usr/bin/gvfs-open directly.
  9. #
  10. # Usage example:
  11. #
  12. # ```
  13. # profile foo /usr/bin/foo {
  14. # ...
  15. # /usr/bin/gvfs-open rPx -> foo//gvfs-open,
  16. # ...
  17. # } # end of main profile
  18. #
  19. # # out-of-line child profile
  20. # profile foo//gvfs-open {
  21. # include <abstractions/gvfs-open>
  22. #
  23. # # needed for ubuntu-* abstractions
  24. # include <abstractions/ubuntu-helpers>
  25. #
  26. # # Only allow to handle http[s]: and mailto: links
  27. # include <abstractions/ubuntu-browsers>
  28. # include <abstractions/ubuntu-email>
  29. #
  30. # # < add additional allowed applications here >
  31. # }
  32. # ```
  33. include <abstractions/base>
  34. # gvfs-open is deprecated, it launches gio open <uri>
  35. include <abstractions/gio-open>
  36. # Main executables
  37. /usr/bin/gvfs-open r,
  38. /{,usr/}bin/dash mr,
  39. # Include additions to the abstraction
  40. include if exists <abstractions/gvfs-open.d>