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>
.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
.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
.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
.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