[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Linux reports memfd_create() being called without MFD_EXEC or MFD_NO
From: |
Kerin Millar |
Subject: |
Re: Linux reports memfd_create() being called without MFD_EXEC or MFD_NOEXEC_SEAL set |
Date: |
Sat, 27 Apr 2024 17:06:53 +0100 |
On Sat, 27 Apr 2024 14:09:29 +0200
Andreas Schwab <schwab@linux-m68k.org> wrote:
> On Apr 27 2024, Kerin Millar wrote:
>
> > At some point after upgrading to bash-5.3-alpha, the following message
> > appeared in my kernel ring buffer.
> >
> > [700406.870502] bash[3089019]: memfd_create() called without MFD_EXEC or
> > MFD_NOEXEC_SEAL set
>
> This warning has been tuned down in later kernels, but nevertheless,
> bash should pass MFD_NOEXEC_SEAL (if defined) when it calls
> memfd_create.
Thanks. For now, I have applied the attached modification to my working copy.
--
Kerin Millar
noexec-seal.patch
Description: Binary data