summaryrefslogtreecommitdiff
path: root/lib/libc/sys/getsockname.2
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-07-01 19:15:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-07-01 19:15:31 +0000
commit3495695089bdd37b7c3e41a165fea9c204dd73c4 (patch)
tree8095ba0c1b1aeda2cd3121eff7c6dd446767a8a0 /lib/libc/sys/getsockname.2
parent16de7863f4917069f98ebb3df33d0d952be3d383 (diff)
getpeereid() can now be a library routine using getsockopt() with
SOL_SOCKET and SO_PEERCRED, only issue being that it cannot return EFAULT for a page fault. The kernel code will soon be put into compat, and then in 10 years or so tedu will delete it. ok guenther millert
Diffstat (limited to 'lib/libc/sys/getsockname.2')
-rw-r--r--lib/libc/sys/getsockname.26
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/getsockname.2 b/lib/libc/sys/getsockname.2
index 6d6bfcd02cb..25b5f5ee45a 100644
--- a/lib/libc/sys/getsockname.2
+++ b/lib/libc/sys/getsockname.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getsockname.2,v 1.25 2009/12/29 10:25:43 sobrado Exp $
+.\" $OpenBSD: getsockname.2,v 1.26 2010/07/01 19:15:30 deraadt Exp $
.\" $NetBSD: getsockname.2,v 1.6 1995/10/12 15:41:00 jtc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)getsockname.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: December 29 2009 $
+.Dd $Mdocdate: July 1 2010 $
.Dt GETSOCKNAME 2
.Os
.Sh NAME
@@ -148,7 +148,7 @@ process address space.
.Sh SEE ALSO
.Xr accept 2 ,
.Xr bind 2 ,
-.Xr getpeereid 2 ,
+.Xr getpeereid 3 ,
.Xr getpeername 2 ,
.Xr socket 2
.Sh HISTORY