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 almost 10 years ago
- Status changed from In Progress to Resolved
changeset: 13394:96340372b72d tag: tip user: Gordon Ross <email@example.com> date: Thu Jun 30 17:58:05 2011 -0400 description: 1120 Use real file descriptors for smbfs named pipes. Reviewed by: Eric Schrock <firstname.lastname@example.org> Reviewed by: Albert Lee <email@example.com> Approved by: Garrett D'Amore <firstname.lastname@example.org>