Re: [PATCH] 32-bit UID support for 2.3.36

From: Manfred Spraul (manfreds@colorfullife.com)
Date: Thu Jan 06 2000 - 08:50:01 EST


From: "Andrea Arcangeli" <andrea@suse.de>
To: "Chris Wing" <wingc@engin.umich.edu>
Cc: <linux-kernel@vger.rutgers.edu>
Sent: Thursday, January 06, 2000 12:53 PM
Subject: Re: [PATCH] 32-bit UID support for 2.3.36

> On Thu, 6 Jan 2000, Chris Wing wrote:
>
> > linux-ipc.patch
> >
> > Support for 32-bit UIDs in SysVipc: message queues,
> > semaphores, and shared memory.
> > Also fixes the ABI breakage on Alpha.
>
> Your fix is not necessary. In 2.3.36 alpha uses a particular shmctl
> syscall. If somebody need more than 32bit for specifying the size he
> should simply use the new syscall (that recalls the raw ipc/shm.c code).
> So you don't need to touch this issue anymore in your patches. Left it a
> size_t.

Yes, but your patch adds a third binary structure for shmid_ds:

* before 2.3.1x: int shm_segsz, short pid
* 2.3.36: size_t shm_segsz, short pid
* Chris' patch: size_t shm_segsz, int pid

If Chris' patch gets into 2.4, then "size_t shm_segsz, short pid" is
superflous, and I would prefer if we could drop it before 2.4. If we support
it in 2.4 then we won't be able to drop it during the next 10 years.

--
    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/



This archive was generated by hypermail 2b29 : Fri Jan 07 2000 - 21:00:06 EST