diff options
author | 1997-10-24 09:04:24 +0000 | |
---|---|---|
committer | 1997-10-24 09:04:24 +0000 | |
commit | dacb48d31cb0b36607cc2783e42455fd513e4253 (patch) | |
tree | cbf38ae41b425560ad848c8702711449d56134af /lib/libc | |
parent | numeric updates. (diff) | |
download | wireguard-openbsd-dacb48d31cb0b36607cc2783e42455fd513e4253.tar.xz wireguard-openbsd-dacb48d31cb0b36607cc2783e42455fd513e4253.zip |
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. |