Re: 2.1.95[4] more on parport

Michael Pakovic (mpakovic@southeast.net)
Sun, 12 Apr 1998 14:55:31 -0400 (EDT)


I needed POSIX 4 (1003.1b) message queues to be able to compile a program from
work on Linux. I was unable to find an implementation for Linux, so I decided
create one myself. The implementation is mostly complete, but I have some
design questions I hope someone on the list can answer.

1) Does anyone else need POSIX message queues besides myself?

2) I use 3 system calls for the implementation (and will maybe need 4).
Should I multiplex to use just 1 system call like what was done for
the SYSV ipc implementation?
In arch/i386/kernel/sys_i386.c there is a comment stating that
multiplexing is an ugly hack.

3) My implementation is mostly done in user-land, so there is a mq library
which goes along with the kernel changes. Should I submit this to
the glibc folks, or just package this library as libposix4.a or something?

4) I need to set the users procmask from the kernel. Right now I call
sys_rt_sigprocmask from my function mqueue_block. Is this correct or
should should I create a function do_rt_sigprocmask which will be called
by sys_rt_sigprocmask and mqueue_block. NOTE: calling sys_rt_sigprocmask
from mqueue_block does work since the mask is passed in from user-land.

5) Where should documentation (man pages) be submitted to?

I only subscribe to the kernel digest.
Thanks in advance for any advice

Mike Pakovic
mpakovic@127-0-0-1.users.southeast.net
without the 127-0-0-1 of course

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu