2G+ sysv shm segments
peterjeremy at optushome.com.au
Wed Oct 17 03:39:21 PDT 2007
On 2007-Oct-16 23:53:43 +0400, Igor Sysoev <is at rambler-co.ru> 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().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20071017/dbd30452/attachment.pgp
More information about the freebsd-stable