diff options
author | 2019-02-13 11:55:21 +0000 | |
---|---|---|
committer | 2019-02-13 11:55:21 +0000 | |
commit | f5047ce691144ceb1aa7f53b6ff09d12719fc40e (patch) | |
tree | 6fd9ca6fdf7c59a4d0c9d21ab1a84638c0f8e8bc /lib/libc | |
parent | Forgot a return in previous commit to actually skip the test. (diff) | |
download | wireguard-openbsd-f5047ce691144ceb1aa7f53b6ff09d12719fc40e.tar.xz wireguard-openbsd-f5047ce691144ceb1aa7f53b6ff09d12719fc40e.zip |
Allow SO_PEERCRED to be called on sockets created with socketpair.
OK claudio@ and jca@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/getsockopt.2 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libc/sys/getsockopt.2 b/lib/libc/sys/getsockopt.2 index a0d48c6ddf7..f3c618035f6 100644 --- a/lib/libc/sys/getsockopt.2 +++ b/lib/libc/sys/getsockopt.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getsockopt.2,v 1.54 2019/01/11 06:10:13 jsg Exp $ +.\" $OpenBSD: getsockopt.2,v 1.55 2019/02/13 11:55:21 martijn Exp $ .\" $NetBSD: getsockopt.2,v 1.7 1995/02/27 12:33:29 cgd Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)getsockopt.2 8.3 (Berkeley) 4/19/94 .\" -.Dd $Mdocdate: January 11 2019 $ +.Dd $Mdocdate: February 13 2019 $ .Dt GETSOCKOPT 2 .Os .Sh NAME @@ -351,9 +351,10 @@ credentials from the other side of the connection .Dv AF_UNIX sockets). These credentials are from the time that -.Xr bind 2 -or +.Xr bind 2 , .Xr connect 2 +or +.Xr socketpair 2 were called. .Pp The |