lkml.org 
[lkml]   [2023]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectComment on "memfd: improve userspace warnings for missing exec-related flags"
Aleksa,

In commit 434ed3350f57 ("memfd: improve userspace warnings for missing
exec-related flags"), your changing of pr_warn_once() to pr_info_ratelimited()
was justified as it would "... incentivise userspace to switch to passing
MFD_EXEC and MFD_NOEXEC_SEAL, we need to provide a warning on each attempt to
call memfd_create() without the new flags."

It would be easier to get userspace to implement these flags if they were
documented somewhere other than the kernel source. The man page for
memfd_create() does not mention them at all.

Larry

\
 
 \ /
  Last update: 2023-08-31 22:57    [W:0.018 / U:2.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site