summaryrefslogtreecommitdiff
path: root/lib/libc/sys/getsockname.2
diff options
context:
space:
mode:
authorDug Song <dugsong@cvs.openbsd.org>2001-06-26 19:56:53 +0000
committerDug Song <dugsong@cvs.openbsd.org>2001-06-26 19:56:53 +0000
commitf9a6c0ac3d4f139e51e54e808391cb56d776e7fb (patch)
treea048983afd7a1bc2677a45462f62160abb2c4a47 /lib/libc/sys/getsockname.2
parent365a4d00173693652d309133c96a976401713859 (diff)
implement djb's getpeereid(2), to allow local-domain servers to determine client credentials. mostly from superscript.com. deraadt@ ok
Diffstat (limited to 'lib/libc/sys/getsockname.2')
-rw-r--r--lib/libc/sys/getsockname.23
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/sys/getsockname.2 b/lib/libc/sys/getsockname.2
index c960ed77f6a..b1b15fb48c5 100644
--- a/lib/libc/sys/getsockname.2
+++ b/lib/libc/sys/getsockname.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getsockname.2,v 1.14 2000/10/18 05:12:09 aaron Exp $
+.\" $OpenBSD: getsockname.2,v 1.15 2001/06/26 19:56:52 dugsong Exp $
.\" $NetBSD: getsockname.2,v 1.6 1995/10/12 15:41:00 jtc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -152,6 +152,7 @@ process address space.
.Xr accept 2 ,
.Xr bind 2 ,
.Xr getpeername 2 ,
+.Xr getpeereid 2 ,
.Xr socket 2
.Sh BUGS
Names bound to sockets in the UNIX domain are inaccessible;