summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2007-06-14 22:38:50 +0000
committernjl <njl@FreeBSD.org>2007-06-14 22:38:50 +0000
commit491996f8103df505e60bc52e817f90a4bccba59e (patch)
tree13ffd5ea9e91bed40c01701dce32ca139e97ddd1 /share/man
parent8a97efc4142c90e7826c728b39fe31a3fecf7073 (diff)
downloadFreeBSD-src-491996f8103df505e60bc52e817f90a4bccba59e.zip
FreeBSD-src-491996f8103df505e60bc52e817f90a4bccba59e.tar.gz
The struct selinfo pointed to by *sip MUST be zeroed before calling
selrecord() or selwake*(). Otherwise, a panic may occur. MFC after: 1 day
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man9/selrecord.99
1 files changed, 8 insertions, 1 deletions
diff --git a/share/man/man9/selrecord.9 b/share/man/man9/selrecord.9
index 993dc42..15c5a18 100644
--- a/share/man/man9/selrecord.9
+++ b/share/man/man9/selrecord.9
@@ -26,7 +26,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 20, 2002
+.Dd June 13, 2007
.Dt SELRECORD 9
.Os
.Sh NAME
@@ -86,6 +86,13 @@ and
.Xr poll 2
when they wake up.
.Pp
+The contents of
+.Fa *sip
+must be zeroed, such as by softc initialization, before any call to
+.Fn selrecord
+or
+.Fn selwakeup ,
+otherwise a panic may occur.
.Fn selwakeup
acquires and releases
.Va sellock
OpenPOWER on IntegriCloud