diff options
author | 2000-04-15 11:45:51 +0000 | |
---|---|---|
committer | 2000-04-15 11:45:51 +0000 | |
commit | a3542fadceea0b2934914fdb31f44bdc344ef18e (patch) | |
tree | affef4e28b9bbc4beda06f911f301b0843b29273 /lib/libc/sys/write.2 | |
parent | OpenSSL 0.9.5a merge - fixes DSA cert generation problem (diff) | |
download | wireguard-openbsd-a3542fadceea0b2934914fdb31f44bdc344ef18e.tar.xz wireguard-openbsd-a3542fadceea0b2934914fdb31f44bdc344ef18e.zip |
- For consistency, `super-user' -> `superuser' in all cases.
- Some punctuation fixes.
- Some `id' -> `ID'.
Diffstat (limited to 'lib/libc/sys/write.2')
-rw-r--r-- | lib/libc/sys/write.2 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/sys/write.2 b/lib/libc/sys/write.2 index c016f72b654..5503da85413 100644 --- a/lib/libc/sys/write.2 +++ b/lib/libc/sys/write.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: write.2,v 1.18 2000/04/12 21:48:02 aaron Exp $ +.\" $OpenBSD: write.2,v 1.19 2000/04/15 11:46:04 aaron Exp $ .\" $NetBSD: write.2,v 1.6 1995/02/27 12:39:43 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -92,7 +92,7 @@ starts at a position given by the pointer associated with .Fa d (see -.Xr lseek 2 . ) +.Xr lseek 2 ) . Upon return from .Fn write , the pointer is incremented by the number of bytes which were written. @@ -101,20 +101,20 @@ Objects that are not capable of seeking always write from the current position. The value of the pointer associated with such an object is undefined. .Pp -If the real user is not the super-user, then +If the real user is not the superuser, then .Fn write -clears the set-user-id bit on a file. +clears the set-user-ID bit on a file. This prevents penetration of system security by a user who .Dq captures -a writable set-user-id file -owned by the super-user. +a writable set-user-ID file +owned by the superuser. .Pp If .Fn write succeeds it will update the st_ctime and st_mtime fields of the file's meta-data (see -.Xr stat 2 . ) +.Xr stat 2 ) . .Pp When using non-blocking I/O on objects such as sockets that are subject to flow control, |