lkml.org 
[lkml]   [2000]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] 32-bit UID support for 2.3.36
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.419 / U:0.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site