Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F141157758
D53137.id164450.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
747 B
Referenced Files
None
Subscribers
None
D53137.id164450.diff
View Options
diff --git a/share/man/man9/VOP_OPENCLOSE.9 b/share/man/man9/VOP_OPENCLOSE.9
--- a/share/man/man9/VOP_OPENCLOSE.9
+++ b/share/man/man9/VOP_OPENCLOSE.9
@@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd December 2, 2009
+.Dd October 17, 2025
.Dt VOP_OPEN 9
.Os
.Sh NAME
@@ -78,6 +78,17 @@
.Dv FWRITE ,
.Dv O_NONBLOCK ,
.Dv O_APPEND .
+.Pp
+The thread
+.Fa td
+passed to
+.Fn VOP_CLOSE
+may be
+.Ql NULL
+if the last reference to the open file is released from a kernel context, e.g.,
+the destruction of a socket buffer containing the file reference in a
+.Dv SCM_RIGHTS
+message.
.Sh LOCKS
.Fn VOP_OPEN
expects
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 2, 4:01 PM (3 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23889065
Default Alt Text
D53137.id164450.diff (747 B)
Attached To
Mode
D53137: VOP_OPENCLOSE.9: note that td may be NULL for VOP_CLOSE
Attached
Detach File
Event Timeline
Log In to Comment