You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linux kernel 6.3+ wants either the MFD_EXEC or MFD_NOEXEC_SEAL flag to be passed to memfd_create in order to seal the executable bit at creation time:
[ 1.229444] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=851 'lxd'
Updating the memfd_create calls should be fairly straightforward (all MFD_NOEXEC_SEAL at a glance except for rexec.c), but a compatibility header is probably also necessary because these flags are new.
The text was updated successfully, but these errors were encountered:
Since Linux kernel 6.3, one of these flags must be passed to avoid a
warning being printed in the kernel log:
[ 1.229444] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=851 'lxd'
Fixeslxc#4315
Signed-off-by: Danny Lin <danny@kdrag0n.dev>
Linux kernel 6.3+ wants either the
MFD_EXEC
orMFD_NOEXEC_SEAL
flag to be passed tomemfd_create
in order to seal the executable bit at creation time:Updating the
memfd_create
calls should be fairly straightforward (allMFD_NOEXEC_SEAL
at a glance except for rexec.c), but a compatibility header is probably also necessary because these flags are new.The text was updated successfully, but these errors were encountered: