setfsgid.2: tfix
PATCH 1/1 setfsgid.2: tfix
The type of fsgid is git_t, and not uid_t. Fix it.
......
.../glibc$ grep_glibc_prototype setfsgidsysdeps/unix/sysv/linux/sys/fsuid.h:31:
extern int setfsgid (__gid_t __gid) __THROW;
.../glibc$
Signed-off-by Alejandro Colomar <[email protected]>
--- man2/setfsgid.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
man2/setfsgid.2 +1 -1
@@ -36,7 +36,7 @@ setfsgid \- set group identity used for filesystem checks .nf .B #include <sys/fsuid.h> .PP -.BI "int setfsgid(uid_t " fsgid ); +.BI "int setfsgid(gid_t " fsgid ); .fi .SH DESCRIPTION On Linux, a process has both a filesystem group ID and an effective group ID.
Signature · 1 line
2.30.0
Hi Alex,
Quoted 1 line · Alejandro Colomar
The type of fsgid is
git_t, and notuid_t. Fix it.
Cute. That mistake has been present for about 25 years!
Patch applied.
Thanks,
Michael
Quoted 26 lines
......
.../glibc$
grep_glibc_prototypesetfsgidsysdeps/unix/sysv/linux/sys/fsuid.h:31:
extern int setfsgid (__gid_t__gid)__THROW;
.../glibc$Signed-off-by Alejandro Colomar <[email protected]>--- man2/setfsgid.2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)man2/setfsgid.2 +1
-1@@ -36,7 +36,7 @@ setfsgid \- set group identity used for filesystem checks .nf .B #include <sys/fsuid.h> .PP -.BI "int setfsgid(uid_t " fsgid ); +.BI "int setfsgid(gid_t " fsgid ); .fi .SH DESCRIPTION On Linux, a process has both a filesystem group ID and an effective group ID.
Signature · 3 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/