From 39711cf6c2ec5a3b4480dcb4800cc3802bda5bf2 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Fri, 20 Mar 2026 19:16:32 +0100 Subject: feat: first fully successful run e2e on straper --- .../apparmor/apparmor.d/abstractions/gvfs-open | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 straper/db/public/apparmor/apparmor.d/abstractions/gvfs-open (limited to 'straper/db/public/apparmor/apparmor.d/abstractions/gvfs-open') diff --git a/straper/db/public/apparmor/apparmor.d/abstractions/gvfs-open b/straper/db/public/apparmor/apparmor.d/abstractions/gvfs-open new file mode 100644 index 0000000..06b3585 --- /dev/null +++ b/straper/db/public/apparmor/apparmor.d/abstractions/gvfs-open @@ -0,0 +1,47 @@ +# vim:syntax=apparmor + + abi , + +# This abstraction is designed to be used in a child profile to limit what +# confined application can invoke via gvfs-open helper. +# +# NOTE: most likely you want to use xdg-open abstraction instead for better +# portability across desktop environments, unless you are sure that confined +# application only uses /usr/bin/gvfs-open directly. +# +# Usage example: +# +# ``` +# profile foo /usr/bin/foo { +# ... +# /usr/bin/gvfs-open rPx -> foo//gvfs-open, +# ... +# } # end of main profile +# +# # out-of-line child profile +# profile foo//gvfs-open { +# include +# +# # needed for ubuntu-* abstractions +# include +# +# # Only allow to handle http[s]: and mailto: links +# include +# include +# +# # < add additional allowed applications here > +# } +# ``` + + include + + # gvfs-open is deprecated, it launches gio open + include + + # Main executables + + /usr/bin/gvfs-open r, + /{,usr/}bin/dash mr, + + # Include additions to the abstraction + include if exists -- cgit v1.3