]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/: Fix name of /proc/sys/vm/hugetlb_shm_group
authorAhelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Sat, 31 May 2025 18:03:26 +0000 (20:03 +0200)
committerAlejandro Colomar <alx@kernel.org>
Sat, 31 May 2025 20:45:57 +0000 (22:45 +0200)
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>
man/man2/memfd_create.2
man/man2/mmap.2
man/man2/shmget.2
man/man5/proc_sys_vm.5

index 4cf30c15716ecfeaa0cd73c72c849d244615ab00..29a110ef792dd779f4c594082a2ed312fae07317 100644 (file)
@@ -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
index 255fa2353026e7c58b8c8b800765f7316da7c6a9..cf110dad9f930659ca0ff46d0658a3e6fb324466 100644 (file)
@@ -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
index 8101dbb50ac6fba122f6766ca624ca9884e45668..d273966a98eeb0ba21b1609666c0451a3b2a43c7 100644 (file)
@@ -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
index 4ee50a54f3d42ce8fb3cf4240fbed99a6be7339b..1ed32b8ffb78b0ec13680aae0e2528bed724fa22 100644 (file)
@@ -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