bug-bash
[Top][All Lists]
Advanced

[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: Chet Ramey
Subject: Re: Linux reports memfd_create() being called without MFD_EXEC or MFD_NOEXEC_SEAL set
Date: Sun, 28 Apr 2024 16:19:25 -0400
User-agent: Mozilla Thunderbird

On 4/28/24 2:59 PM, Andreas Schwab wrote:
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

It's not worth arguing about.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]