mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Comment on "memfd: improve userspace warnings for missing exec-related flags"
@ 2023-08-31 20:56 Larry Finger
  0 siblings, 0 replies; only message in thread
From: Larry Finger @ 2023-08-31 20:56 UTC (permalink / raw)
  To: Aleksa Sarai; +Cc: LKML

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-31 20:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-31 20:56 Comment on "memfd: improve userspace warnings for missing exec-related flags" Larry Finger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®