Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kexec.c: add MFD_NOEXEC_SEAL flag explicitly #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ChenQi1989
Copy link

Add MFD_NOEXEC_SEAL to avoid kernel warning like below:

kexec[970]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set

For old kernels, there will be no MFD_NOEXEC_SEAL definition, so fallback to define it to 0.

Add MFD_NOEXEC_SEAL to avoid kernel warning like below:

  kexec[970]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set

For old kernels, there will be no MFD_NOEXEC_SEAL definition, so fallback
to define it to 0.

Signed-off-by: Chen Qi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant