From 3f727aab6e5f29e756ce9f7a89019869c7b07c61 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ahelenia=20Ziemia=C5=84ska?= Date: Sat, 31 May 2025 20:03:26 +0200 Subject: [PATCH] man/: Fix name of /proc/sys/vm/hugetlb_shm_group MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit sysctl_hugetlb_shm_group is the name of the variable in "mm/hugetlb.c". Fixes: 090fdddb4342 (2021-05-17; "memfd_create.2, mmap.2, shmget.2: Document the EPERM for huge page allocations") Fixes: 6cee0ddeb414 (2021-05-17; "proc.5: Document /proc/sys/vm/sysctl_hugetlb_shm_group") Signed-off-by: Ahelenia Ziemiańska Message-ID: <22436441b7bac0177213c99c55187c4af085d4ca.1748714599.git.nabijaczleweli@nabijaczleweli.xyz> Signed-off-by: Alejandro Colomar --- man/man2/memfd_create.2 | 4 ++-- man/man2/mmap.2 | 4 ++-- man/man2/shmget.2 | 4 ++-- man/man5/proc_sys_vm.5 | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/man/man2/memfd_create.2 b/man/man2/memfd_create.2 index 4cf30c157..29a110ef7 100644 --- a/man/man2/memfd_create.2 +++ b/man/man2/memfd_create.2 @@ -195,9 +195,9 @@ flag was specified, but the caller was not privileged (did not have the .B CAP_IPC_LOCK capability) and is not a member of the -.I sysctl_hugetlb_shm_group +.I hugetlb_shm_group group; see the description of -.I /proc/sys/vm/sysctl_hugetlb_shm_group +.I /proc/sys/vm/hugetlb_shm_group in .BR proc (5). .SH STANDARDS diff --git a/man/man2/mmap.2 b/man/man2/mmap.2 index 255fa2353..cf110dad9 100644 --- a/man/man2/mmap.2 +++ b/man/man2/mmap.2 @@ -614,9 +614,9 @@ flag was specified, but the caller was not privileged (did not have the .B CAP_IPC_LOCK capability) and is not a member of the -.I sysctl_hugetlb_shm_group +.I hugetlb_shm_group group; see the description of -.I /proc/sys/vm/sysctl_hugetlb_shm_group +.I /proc/sys/vm/hugetlb_shm_group in .BR proc_sys (5). .TP diff --git a/man/man2/shmget.2 b/man/man2/shmget.2 index 8101dbb50..d273966a9 100644 --- a/man/man2/shmget.2 +++ b/man/man2/shmget.2 @@ -251,9 +251,9 @@ flag was specified, but the caller was not privileged (did not have the .B CAP_IPC_LOCK capability) and is not a member of the -.I sysctl_hugetlb_shm_group +.I hugetlb_shm_group group; see the description of -.I /proc/sys/vm/sysctl_hugetlb_shm_group +.I /proc/sys/vm/hugetlb_shm_group in .BR proc (5). .SH STANDARDS diff --git a/man/man5/proc_sys_vm.5 b/man/man5/proc_sys_vm.5 index 4ee50a54f..1ed32b8ff 100644 --- a/man/man5/proc_sys_vm.5 +++ b/man/man5/proc_sys_vm.5 @@ -85,7 +85,7 @@ user should run .BR sync (1) first. .TP -.IR /proc/sys/vm/sysctl_hugetlb_shm_group " (since Linux 2.6.7)" +.IR /proc/sys/vm/hugetlb_shm_group " (since Linux 2.6.7)" This writable file contains a group ID that is allowed to allocate memory using huge pages. If a process has a filesystem group ID or any supplementary group ID that -- 2.47.2