mirror of https://github.com/mkerrisk/man-pages
setfsgid.2, setfsuid.2: Fix note about errors from the syscall wrapper
See sysdeps/unix/sysv/linux/i386/setfsuid.c in glibc-2.2.1. (This code is not present in modern glibc anymore.) Signed-off-by: Jann Horn <jannh@google.com>
This commit is contained in:
parent
658a3012f8
commit
de61071a21
|
@ -77,8 +77,10 @@ This system call is present in Linux since version 1.2.
|
|||
is Linux-specific and should not be used in programs intended
|
||||
to be portable.
|
||||
.SH NOTES
|
||||
When glibc determines that the argument is not a valid group ID,
|
||||
it will return \-1 and set \fIerrno\fP to
|
||||
When old versions of glibc determine that the argument can not be
|
||||
passed to the kernel without integer truncation (because the kernel
|
||||
is old and does not support 32-bit group IDs),
|
||||
they will return \-1 and set \fIerrno\fP to
|
||||
.B EINVAL
|
||||
without attempting
|
||||
the system call.
|
||||
|
|
|
@ -77,8 +77,10 @@ This system call is present in Linux since version 1.2.
|
|||
is Linux-specific and should not be used in programs intended
|
||||
to be portable.
|
||||
.SH NOTES
|
||||
When glibc determines that the argument is not a valid user ID,
|
||||
it will return \-1 and set \fIerrno\fP to
|
||||
When old versions of glibc determine that the argument can not be
|
||||
passed to the kernel without integer truncation (because the kernel
|
||||
is old and does not support 32-bit user IDs),
|
||||
they will return \-1 and set \fIerrno\fP to
|
||||
.B EINVAL
|
||||
without attempting
|
||||
the system call.
|
||||
|
|
Loading…
Reference in New Issue