summaryrefslogtreecommitdiffstats
path: root/man2/getgroups.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/getgroups.2')
-rw-r--r--man2/getgroups.226
1 files changed, 13 insertions, 13 deletions
diff --git a/man2/getgroups.2 b/man2/getgroups.2
index 3d9be4b98..456abf4da 100644
--- a/man2/getgroups.2
+++ b/man2/getgroups.2
@@ -28,7 +28,7 @@ Standard C library
.P
.RS -4
Feature Test Macro Requirements for glibc (see
-.BR feature_test_macros (7)):
+.MR feature_test_macros 7 ):
.RE
.P
.BR setgroups ():
@@ -54,7 +54,7 @@ supplementary groups, then an error results.
It is unspecified whether the effective group ID of the calling process
is included in the returned list.
(Thus, an application should also call
-.BR getegid (2)
+.MR getegid 2
and add or remove the resulting value.)
.P
If
@@ -137,7 +137,7 @@ is denied in this user namespace.
See the description of
.IR /proc/ pid /setgroups
in
-.BR user_namespaces (7).
+.MR user_namespaces 7 .
.SH VERSIONS
.SS C library/kernel differences
At the kernel level, user IDs and group IDs are a per-thread attribute.
@@ -152,7 +152,7 @@ employ a signal-based technique to ensure
that when one thread changes credentials,
all of the other threads in the process also change their credentials.
For details, see
-.BR nptl (7).
+.MR nptl 7 .
.SH STANDARDS
.TP
.BR getgroups ()
@@ -191,10 +191,10 @@ is defined in
.IR <limits.h> .
The set of supplementary group IDs
is inherited from the parent process, and preserved across an
-.BR execve (2).
+.MR execve 2 .
.P
The maximum number of supplementary group IDs can be found at run time using
-.BR sysconf (3):
+.MR sysconf 3 :
.P
.in +4n
.EX
@@ -210,10 +210,10 @@ Since Linux 2.6.4, the maximum number of supplementary group IDs is also
exposed via the Linux-specific read-only file,
.IR /proc/sys/kernel/ngroups_max .
.SH SEE ALSO
-.BR getgid (2),
-.BR setgid (2),
-.BR getgrouplist (3),
-.BR group_member (3),
-.BR initgroups (3),
-.BR capabilities (7),
-.BR credentials (7)
+.MR getgid 2 ,
+.MR setgid 2 ,
+.MR getgrouplist 3 ,
+.MR group_member 3 ,
+.MR initgroups 3 ,
+.MR capabilities 7 ,
+.MR credentials 7