diff options
author | Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> | 2025-05-31 20:03:26 +0200 |
---|---|---|
committer | Alejandro Colomar <alx@kernel.org> | 2025-05-31 22:45:57 +0200 |
commit | 3f727aab6e5f29e756ce9f7a89019869c7b07c61 (patch) | |
tree | 55dfaf47d5c4e12d9e0f21b3144f1c1d1e641b74 | |
parent | dce426993ba8f5f549b0ea8fb872ed942b099509 (diff) | |
download | man-pages-3f727aab6e5f29e756ce9f7a89019869c7b07c61.tar.gz |
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 <nabijaczleweli@nabijaczleweli.xyz>
Message-ID: <22436441b7bac0177213c99c55187c4af085d4ca.1748714599.git.nabijaczleweli@nabijaczleweli.xyz>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r-- | man/man2/memfd_create.2 | 4 | ||||
-rw-r--r-- | man/man2/mmap.2 | 4 | ||||
-rw-r--r-- | man/man2/shmget.2 | 4 | ||||
-rw-r--r-- | 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 4cf30c1571..29a110ef79 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 255fa23530..cf110dad9f 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 8101dbb50a..d273966a98 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 4ee50a54f3..1ed32b8ffb 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 |