summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredd <edd@openbsd.org>2018-08-24 13:14:14 +0000
committeredd <edd@openbsd.org>2018-08-24 13:14:14 +0000
commitfd05b812a759bbd56243951f424724cc52b6f5bd (patch)
tree4603ef0c110a82d6c5d7bc3add86001547670b26
parentAdd a regression test for the kernel stack exhaustion bug. (diff)
downloadwireguard-openbsd-fd05b812a759bbd56243951f424724cc52b6f5bd.tar.xz
wireguard-openbsd-fd05b812a759bbd56243951f424724cc52b6f5bd.zip
/tmp/cvsJqyynm
-rw-r--r--share/man/man3/dl_iterate_phdr.39
1 files changed, 7 insertions, 2 deletions
diff --git a/share/man/man3/dl_iterate_phdr.3 b/share/man/man3/dl_iterate_phdr.3
index 92ed59240b1..abd66d55ecf 100644
--- a/share/man/man3/dl_iterate_phdr.3
+++ b/share/man/man3/dl_iterate_phdr.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: dl_iterate_phdr.3,v 1.4 2013/06/05 03:42:03 tedu Exp $
+.\" $OpenBSD: dl_iterate_phdr.3,v 1.5 2018/08/24 13:14:14 edd Exp $
.\"
.\" Copyright (c) 2005 Mark Kettenis
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: August 24 2018 $
.Dt DL_ITERATE_PHDR 3
.Os
.Sh NAME
@@ -34,6 +34,11 @@ for each shared object, passing it information about the object's
program headers and the
.Fa data
argument.
+Iteration continues until either there are no more objects to
+iterate over or
+.Fa callback
+returns a non-zero value.
+.Pp
The information about the program headers is passed in a structure
that is defined as:
.Bd -literal