diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-01-02 05:42:50 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-01-02 05:42:50 +0000 |
commit | 6d90990234e339103b1dbbb29ece735528885f11 (patch) | |
tree | a7c7162a9be47294158fec43331ca32b2e4c5c23 /lib/libc/sys/chflags.2 | |
parent | 285407cc1701a5afc57fb110c5852c7ebabe1b3b (diff) |
make {f,}chflags(.., -1) return EINVAL because -1 is VNOVAL; problem noted by provos
Diffstat (limited to 'lib/libc/sys/chflags.2')
-rw-r--r-- | lib/libc/sys/chflags.2 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/sys/chflags.2 b/lib/libc/sys/chflags.2 index d52519ea43b..fb144fcc8e5 100644 --- a/lib/libc/sys/chflags.2 +++ b/lib/libc/sys/chflags.2 @@ -139,6 +139,8 @@ The descriptor is not valid. .It Bq Er EINVAL .Fa Fd refers to a socket, not to a file. +.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 the effective user ID is not the super-user. |