Use real file descriptors for smbfs named pipes.
Currently, the named pipe interface exported by libsmbfs uses the
over-the-wire (OtW) SMB file handles as named pipe handles.
It would be much safer to use real file handles, i.e. so we can ensure
an OtW close happens if a consuming process crashes, has bugs, etc.
These file descriptors will be additional open instances of the
/dev/nsmb driver, which will be augmented with state to track
when an open instance has an open named pipe.
Updated by Gordon Ross over 8 years ago
- Status changed from In Progress to Resolved
changeset: 13394:96340372b72d tag: tip user: Gordon Ross <firstname.lastname@example.org> date: Thu Jun 30 17:58:05 2011 -0400 description: 1120 Use real file descriptors for smbfs named pipes. Reviewed by: Eric Schrock <email@example.com> Reviewed by: Albert Lee <firstname.lastname@example.org> Approved by: Garrett D'Amore <email@example.com>