On 2007-Oct-16 23:53:43 +0400, Igor Sysoev <[EMAIL PROTECTED]> wrote:
>> printf(" %12lu", (unsigned long)kshmptr->u.shm_segsz); or similar.
>
>Here should be %zu.

You're correct.  I wasn't aware of 'z' :-(

>However, this patch can not be commited even to 7/8, because it does not
>preserve binary compatibility for shmctl(IPC_STAT).
>
>It seems that should be new shmctl syscall.

I don't believe there is a requirement that IPC_STAT be 2 so an
alternative approach would be to change the value of IPC_STAT to
support the changed shmid_ds size (though this would also
affect semctl() and msgctl().

-- 
Peter Jeremy

Attachment: pgp1C21pynGL7.pgp
Description: PGP signature

Reply via email to