Re: [RFC] proposed IPC changes to support 32-bit UIDs

Manfred Spraul (manfreds@colorfullife.com)
Wed, 01 Dec 1999 22:15:48 +0100


Chris Wing wrote:
>
> What about something like this (in include/linux/sem.h):
>
> /* this defines user_semid_ds and old_user_semid_ds */
> #include <asm/sem.h>

_Rename_ the kernel structure, and move the kernel structure
into ipc/xxx.c.

old_user_semid_ds -> semid_ds
user_semid_ds -> new_semid_ds (*)
semid_ds -> sem_array [defined in ipc/sem.c]

(*) the glibc developers will rename the structure in their
header.

> >
> > I agree. Expand the message counts/sizes to 32bit too. We dont need to use
> > the top 16 yet but it will happen.

Message counts and sizes > 64 K are supported. I had to increase the
limit to 65535 because the DB/2 docu says that it needs a message size
of 65535, and supporting INT_MAX was straightforward ;)

--
	Manfred

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/