On Mon, Oct 9, 2023 at 6:34 PM Catalin Marinas <catalin.marinas@xxxxxxx> wrote: > > On Tue, Oct 03, 2023 at 05:50:10PM +0200, Florent Revest wrote: > > +.B PR_MDWE_REFUSE_EXEC_GAIN > > +New memory mapping protections can't be writable and executable. Non-executable > > +mappings can't become executable. > > +.TP > > +.B PR_MDWE_NO_INHERIT " (since Linux 6.6)" > > +.\" commit 2a87e5520554034e8c423479740f95bea4a086a0 > > +Do not propagate MDWE protection to child processes on > > Should this mention that PR_MDWE_NO_INHERIT requires > PR_MDWE_REFUSE_EXEC_GAIN (unless I forgot how this was supposed to > work). Yes! :) That's a good point, thank you Catalin