diff options
author | ru <ru@FreeBSD.org> | 2002-12-18 09:22:32 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-12-18 09:22:32 +0000 |
commit | a4b155d7a2170a500eb79b46959eef4018441062 (patch) | |
tree | cb18f664ed0ee63bee30f6af9b148510b6e9663b /lib/libc/sys/setuid.2 | |
parent | e7e659d1cc574138f455ed70d58a07294211ff5a (diff) | |
download | FreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.zip FreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.tar.gz |
mdoc(7) police: Tidy up the syscall language.
Stop calling system calls "function calls".
Use "The .Fn system call" a-la "The .Nm utility".
When referring to a non-BSD implementation in
the HISTORY section, call syscall a function,
to be safe.
Diffstat (limited to 'lib/libc/sys/setuid.2')
-rw-r--r-- | lib/libc/sys/setuid.2 | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/lib/libc/sys/setuid.2 b/lib/libc/sys/setuid.2 index aaa7ebb..0296f57 100644 --- a/lib/libc/sys/setuid.2 +++ b/lib/libc/sys/setuid.2 @@ -57,7 +57,7 @@ .Sh DESCRIPTION The .Fn setuid -function +system call sets the real and effective user IDs and the saved set-user-ID of the current process to the specified value. @@ -66,13 +66,13 @@ to the specified value. .\" effective user ID is that of the super user. .\" I.e. .\" .Fn setuid -.\" function is equal to +.\" system call is equal to .\" .Fn seteuid -.\" function if the effective user ID is not that of the super user. +.\" system call if the effective user ID is not that of the super user. .\" End of block The .Fn setuid -function is permitted if the specified ID is equal to the real user ID +system call is permitted if the specified ID is equal to the real user ID .\" Comment out next line for !_POSIX_SAVED_IDS .\" or the saved set-user-ID .\" Next line is for Appendix B.4.2.2 case. @@ -81,7 +81,7 @@ of the process, or if the effective user ID is that of the super user. .Pp The .Fn setgid -function +system call sets the real and effective group IDs and the saved set-group-ID of the current process to the specified value. @@ -90,13 +90,13 @@ to the specified value. .\" effective user ID is that of the super user. .\" I.e. .\" .Fn setgid -.\" function is equal to +.\" system call is equal to .\" .Fn setegid -.\" function if the effective user ID is not that of the super user. +.\" system call if the effective user ID is not that of the super user. .\" End of block The .Fn setgid -function is permitted if the specified ID is equal to the real group ID +system call is permitted if the specified ID is equal to the real group ID .\" Comment out next line for !_POSIX_SAVED_IDS .\" or the saved set-group-ID .\" Next line is for Appendix B.4.2.2 case. @@ -105,7 +105,7 @@ of the process, or if the effective user ID is that of the super user. .Pp The .Fn seteuid -function +system call .Pq Fn setegid sets the effective user ID (group ID) of the current process. @@ -122,7 +122,7 @@ of the real group ID or the saved set-user-ID. .Sh RETURN VALUES .Rv -std .Sh ERRORS -The functions will fail if: +The system calls will fail if: .Bl -tag -width Er .It Bq Er EPERM The user is not the super user and the ID @@ -172,7 +172,7 @@ The .Fn setuid and .Fn setgid -functions are compliant with the +system calls are compliant with the .St -p1003.1-90 specification with .Li _POSIX_SAVED_IDS @@ -183,15 +183,15 @@ The .Fn seteuid and .Fn setegid -functions are extensions based on the +system calls are extensions based on the .Tn POSIX concept of .Li _POSIX_SAVED_IDS , and have been proposed for a future revision of the standard. .Sh HISTORY -A +The .Fn setuid -and a +and .Fn setgid -function calls appeared in +functions appeared in .At v7 . |