summaryrefslogtreecommitdiff
path: root/mm/memfd.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-09-05 12:22:39 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2023-09-05 12:22:39 -0700
commit3c5c9b7cfd7d2a2b1e32c2284c82164c1aaa919f (patch)
tree16e2a65036143f0309bd1cc2135570719f573d07 /mm/memfd.c
parent6155a3b88573757de2649197af30f0e71a12aafe (diff)
parentf4b4f3ec1a310c3de9797271a9c06b7499470d69 (diff)
downloadlinux-3c5c9b7cfd7d2a2b1e32c2284c82164c1aaa919f.tar.gz
linux-3c5c9b7cfd7d2a2b1e32c2284c82164c1aaa919f.tar.bz2
linux-3c5c9b7cfd7d2a2b1e32c2284c82164c1aaa919f.zip
Merge tag 'mm-hotfixes-stable-2023-09-05-11-51' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Pull misc fixes from Andrew Morton: "Seven hotfixes. Four are cc:stable and the remainder pertain to issues which were introduced in the current merge window" * tag 'mm-hotfixes-stable-2023-09-05-11-51' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: sparc64: add missing initialization of folio in tlb_batch_add() mm: memory-failure: use rcu lock instead of tasklist_lock when collect_procs() revert "memfd: improve userspace warnings for missing exec-related flags". rcu: dump vmalloc memory info safely mm/vmalloc: add a safer version of find_vm_area() for debug tools/mm: fix undefined reference to pthread_once memcontrol: ensure memcg acquired by id is properly set up
Diffstat (limited to 'mm/memfd.c')
-rw-r--r--mm/memfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memfd.c b/mm/memfd.c
index 1cad1904fc26..2dba2cb6f0d0 100644
--- a/mm/memfd.c
+++ b/mm/memfd.c
@@ -316,7 +316,7 @@ SYSCALL_DEFINE2(memfd_create,
return -EINVAL;
if (!(flags & (MFD_EXEC | MFD_NOEXEC_SEAL))) {
- pr_info_ratelimited(
+ pr_warn_once(
"%s[%d]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set\n",
current->comm, task_pid_nr(current));
}