> >  > Your last reply made me think of a fourth option:
 > >  > 
 > >  > 4. Create a regular non-STREAMS device for dls just for this ioctl. 
 > >  > Maybe a /dev/dls_mgmt device?
 > > 
 > > That seems a bit heavy-handed compared to the cost of implementing
 > > agetf() (which itself would only add about 15 lines of code total).
 > 
 > The agetf() function would help fix the current problem
 > with DLDIOC_DOORSERVER, but it would still leave me with having to do the 
 > inverse operation in the stream head, wouldn't it?

Seems like you could also do it by implementing an asetf() and afassign(),
or the like.

PS. I'm a bit surprised that this problem hasn't come up before.

-- 
meem

Reply via email to