[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: |
Andreas Schwab |
Subject: |
Re: Linux reports memfd_create() being called without MFD_EXEC or MFD_NOEXEC_SEAL set |
Date: |
Sun, 28 Apr 2024 20:59:15 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
On Apr 28 2024, Chet Ramey wrote:
> On 4/27/24 8:09 AM, Andreas Schwab 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.
>
> OK, I'll bite. What does that buy me?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=105ff5339f49
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."