aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-graphical/recipes-security/security-manager/security-manager_%.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-profile-graphical/recipes-security/security-manager/security-manager_%.bbappend')
-rw-r--r--meta-agl-profile-graphical/recipes-security/security-manager/security-manager_%.bbappend6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-agl-profile-graphical/recipes-security/security-manager/security-manager_%.bbappend b/meta-agl-profile-graphical/recipes-security/security-manager/security-manager_%.bbappend
new file mode 100644
index 000000000..d6fcb40af
--- /dev/null
+++ b/meta-agl-profile-graphical/recipes-security/security-manager/security-manager_%.bbappend
@@ -0,0 +1,6 @@
+
+do_install_append() {
+ # Needed for wayland-0 socket access and memfd usage
+ echo "~APP~ System::Weston rw" >> ${D}${datadir}/security-manager/policy/app-rules-template.smack
+ echo "System::Weston ~APP~ rw" >> ${D}${datadir}/security-manager/policy/app-rules-template.smack
+}