Peter Memishian wrote:
>  > 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?  Part of my thinking 
with having either a non-STREAMS device or a set of syscalls was that the 
implementation of the "set door" and "get door" operations could be in 
one place in the dls module rather than spread between dls and the 
STREAMS framework.

-Seb

Reply via email to