meta-agl-profile-graphical: disable memfd usage in weston
authorScott Murray <scott.murray@konsulko.com>
Thu, 2 Apr 2020 15:49:45 +0000 (11:49 -0400)
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>
Mon, 27 Apr 2020 15:12:24 +0000 (17:12 +0200)
commite2c93c5b5ba29f3e4b901f870d2e11e5e485da35
tree80761dbb80dcf059e1338cad4bba2000a543b037
parentbe9c8115c8f9665586b874098a91f925a6896d95
meta-agl-profile-graphical: disable memfd usage in weston

The YP dunfell release's Weston 8.0.0 is the first version to switch
to hard-coded usage of memfd's for its shared memory access if the
memfd_create system call is available in libc. At the moment, this
is problematic since accesses to the non-filesystem file descriptors
get blocked by SMACK. For now, while a longer-term solution is
worked out in SPEC-3305, patch Weston to allow disabling memfs usage
at build time, and do so by using the option in our bbappend.

Bug-AGL: SPEC-3302, SPEC-3305

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ie217c63cd4f43e3de1e802cb026c1ee2905bc5b7
meta-agl-profile-graphical/recipes-graphics/wayland/weston/0004-unconditionally-include-mman.h.patch [new file with mode: 0644]
meta-agl-profile-graphical/recipes-graphics/wayland/weston/0005-add-memfd-create-option.patch [new file with mode: 0644]
meta-agl-profile-graphical/recipes-graphics/wayland/weston_8.0.0.bbappend