meta-agl-profile-graphical: add SMACK labelling for weston 72/24472/4
authorScott Murray <scott.murray@konsulko.com>
Tue, 5 May 2020 19:04:46 +0000 (15:04 -0400)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 12 May 2020 23:34:44 +0000 (23:34 +0000)
commit8b1baf589ebad0862791c32c7a9b953071dec20a
treeeb1f281db04fa89f0b5fba0b1ff27042fc5a824f
parent07663d068cfaddb8ba4287a1c8cf4a8456873cb6
meta-agl-profile-graphical: add SMACK labelling for weston

The initial patch to allow disabling memfd usage in weston has
proven to be naive, as the v7 wayland seat resource changes in
Weston 8.0.0 are dependent on them.  To avoid needing to make more
invasive changes such as forcing the seat resource version back to
v6, drop the patch in favor of having Weston run under a
System::Weston SMACK label and adding the rules required to have it
work.

As well, use-XDG_RUNTIMESHARE_DIR.patch and the associated service
unit changes have been removed since they are not required now with
explicit labelling in place.

Bug-AGL: SPEC-3305, SPEC-3350

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I8aef287219a7f95992a82f4ec2ee8e1822ca4ce8
meta-agl-profile-graphical/recipes-graphics/wayland/weston-init/weston.conf.in
meta-agl-profile-graphical/recipes-graphics/wayland/weston/0005-add-memfd-create-option.patch [deleted file]
meta-agl-profile-graphical/recipes-graphics/wayland/weston/smack-weston [new file with mode: 0644]
meta-agl-profile-graphical/recipes-graphics/wayland/weston/use-XDG_RUNTIMESHARE_DIR.patch [deleted file]
meta-agl-profile-graphical/recipes-graphics/wayland/weston_8.0.0.bbappend
meta-agl-profile-graphical/recipes-security/security-manager/security-manager_%.bbappend [new file with mode: 0644]