Skip to content
Snippets Groups Projects
Commit bedd171d authored by sami uddin's avatar sami uddin
Browse files

shared: memfd_create: try MFD_NOEXEC_SEAL


Effective from Linux 6.3 onward, this creates the memfd without execute
permissions and prevents that setting from ever being changed. A
run-time fallback is made to not using MFD_NOEXEC_SEAL when
weston compiled on Linux >= 6.3 is run on Linux < 6.3.

Signed-off-by: default avatarSami Uddin <sami.uddin@astc-design.com>
parent 27bf066c
No related branches found
Loading
Pipeline #1178169 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment