diff options
author | 1999-07-31 03:55:28 +0000 | |
---|---|---|
committer | 1999-07-31 03:55:28 +0000 | |
commit | b282f07afe2e0911af663684acc36525a9385f06 (patch) | |
tree | 4f8af88899895b3f3342a455de4274e3243ae521 | |
parent | Add IEEE 802 hardware type. (diff) | |
download | wireguard-openbsd-b282f07afe2e0911af663684acc36525a9385f06.tar.xz wireguard-openbsd-b282f07afe2e0911af663684acc36525a9385f06.zip |
document cdev/bdev semantic change
-rw-r--r-- | lib/libc/sys/chflags.2 | 4 | ||||
-rw-r--r-- | usr.bin/chflags/chflags.1 | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lib/libc/sys/chflags.2 b/lib/libc/sys/chflags.2 index a7f5992f5dc..a4210accbfb 100644 --- a/lib/libc/sys/chflags.2 +++ b/lib/libc/sys/chflags.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: chflags.2,v 1.12 1999/06/29 14:09:51 aaron Exp $ +.\" $OpenBSD: chflags.2,v 1.13 1999/07/31 03:55:28 deraadt Exp $ .\" $NetBSD: chflags.2,v 1.6 1995/02/27 12:32:03 cgd Exp $ .\" .\" Copyright (c) 1989, 1993 @@ -141,6 +141,8 @@ The descriptor is not valid. .Fa fd refers to a socket, not to a file. .It Bq Er EINVAL +Only the super-user can change flags on block and character devices. +.It Bq Er EINVAL The flags value is invalid. .It Bq Er EPERM The effective user ID does not match the owner of the file and diff --git a/usr.bin/chflags/chflags.1 b/usr.bin/chflags/chflags.1 index 359a2db20e8..37d7dafe2bd 100644 --- a/usr.bin/chflags/chflags.1 +++ b/usr.bin/chflags/chflags.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: chflags.1,v 1.5 1999/07/04 11:53:51 aaron Exp $ +.\" $OpenBSD: chflags.1,v 1.6 1999/07/31 03:55:28 deraadt Exp $ .\" $NetBSD: chflags.1,v 1.4 1995/08/31 22:50:22 jtc Exp $ .\" .\" Copyright (c) 1989, 1990, 1993, 1994 @@ -117,6 +117,9 @@ option is specified. In addition, these options override each other and the command's actions are determined by the last one specified. .Pp +Only the super-user can change the user flags on block and +character devices. +.Pp You can use "ls -lo" to see the flags of existing files. .Pp The |