[GSOC] System V IPC in userspace week2 report (Larisa Grigore)

grigore larisa <[email protected]>
Newsgroups gmane.os.dragonfly-bsd.kernel
Message-ID <CAKt0zCyFSsJO7_vytR+rRj0o1Y3ekJr=ovp_y-HiuQYX2U+GpQ@mail.gmail.com>
Hello everyone,

This week I have implemented a driver with open, close, ioctl and kqfilter
functions. Only one process can be registered as a daemon and it will be
responsible for sysv ipc resources.

The daemon waits for data from the driver and from pipes, using poll call.
When it receives data from the driver, it means that a new client wants to
connect to it. The daemon will create unnamed pipes to communicate with the
client using the driver again.
For now on, the communication between the daemon and a registered client is
made using the created pipes.
Clients can register to the daemon through an ioctl call.

Thanks,
Larisa Grigore
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.