diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-10-24 09:04:28 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-10-24 09:04:28 +0000 |
commit | f0b5b76ae1bb6285bef428dc271caf7b927eec68 (patch) | |
tree | 704c1091074cacc4b5ccac0ef6ee298d5f1c114c /lib/libc | |
parent | bc5ae0c375886c01a3b0f4ef84651c1c99ba71ea (diff) |
prevent open() with wrong flags
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/open.2 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2 index 8b76371e021..4716156aa92 100644 --- a/lib/libc/sys/open.2 +++ b/lib/libc/sys/open.2 @@ -180,6 +180,8 @@ Too many symbolic links were encountered in translating the pathname. .It Bq Er EISDIR The named file is a directory, and the arguments specify it is to be opened for writing. +.It Bq Er EINVAL +The flags specified for opening the file are not valid. .It Bq Er EROFS The named file resides on a read-only file system, and the file is to be modified. |