summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2001-11-29 18:50:21 +0000
committermillert <millert@openbsd.org>2001-11-29 18:50:21 +0000
commitab3af97a790a7d37fdeac93f65f11c8bdf5935d8 (patch)
treea605f931b9d9949c2577a3c22083e149c959ae18
parentSync with reality (diff)
downloadwireguard-openbsd-ab3af97a790a7d37fdeac93f65f11c8bdf5935d8.tar.xz
wireguard-openbsd-ab3af97a790a7d37fdeac93f65f11c8bdf5935d8.zip
getfh(2) can fail with EPERM; Brian J. Kifiak
-rw-r--r--lib/libc/sys/getfh.24
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/getfh.2 b/lib/libc/sys/getfh.2
index fdcc4bd14ca..596b6d0d803 100644
--- a/lib/libc/sys/getfh.2
+++ b/lib/libc/sys/getfh.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getfh.2,v 1.7 2000/10/18 05:12:09 aaron Exp $
+.\" $OpenBSD: getfh.2,v 1.8 2001/11/29 18:50:21 millert Exp $
.\" $NetBSD: getfh.2,v 1.7 1995/10/12 15:40:53 jtc Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
@@ -84,6 +84,8 @@ Search permission is denied for a component of the path prefix of
.It Bq ELOOP
Too many symbolic links were encountered in translating
.Fa path .
+.It Bq EPERM
+The effective user ID is not the superuser.
.It Bq EFAULT
.Fa fhp
points to an invalid address.