From: Ahelenia Ziemiańska Date: Sat, 31 May 2025 18:03:26 +0000 (+0200) Subject: man/: Fix name of /proc/sys/vm/hugetlb_shm_group X-Git-Tag: man-pages-6.15~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3f727aab6e5f29e756ce9f7a89019869c7b07c61;p=thirdparty%2Fman-pages.git man/: Fix name of /proc/sys/vm/hugetlb_shm_group 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 --- 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