How to push a module onto an existing STREAM?

How to push a module onto an existing STREAM?

Post by Job » Fri, 20 Jan 1995 16:25:33



Is it possible to automatically push your own module onto a STREAMS-based
TTY driver when the device is opened?

If so, what happens when the device driver is closed, does the operating
system pop all modules for you?

Do all STREAM's modules run in the kernel, or can a pushed module run in
the users address space?

Thanks,
Joby

 
 
 

How to push a module onto an existing STREAM?

Post by Chandra Ba » Sun, 22 Jan 1995 08:34:15


: Is it possible to automatically push your own module onto a STREAMS-based
: TTY driver when the device is opened?

: If so, what happens when the device driver is closed, does the operating
: system pop all modules for you?

: Do all STREAM's modules run in the kernel, or can a pushed module run in
: the users address space?

: Thanks,
: Joby

Most of the information I am giving here is in the context of SVR4.

Use the utility autopush to configure modules to be pushed automatically when
any STREAMS based device is opened. The OS does the rest.

All STREAM's modules run in the kernel space and as such must either be
linked into the kernel or loaded as a loadable driver/Module.

Balu.