Date: Wed, 17 Oct 2007 20:39:18 +1000 From: Peter Jeremy <peterjeremy@optushome.com.au> To: Igor Sysoev <is@rambler-co.ru> Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: 2G+ sysv shm segments Message-ID: <20071017103918.GL1191@turion.vk2pj.dyndns.org> In-Reply-To: <20071016195343.GK57989@rambler-co.ru> References: <20071015141714.GL24828@rambler-co.ru> <20071016193843.GD1184@turion.vk2pj.dyndns.org> <20071016195343.GK57989@rambler-co.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
--8P1HSweYDcXXzwPJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On 2007-Oct-16 23:53:43 +0400, Igor Sysoev <is@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().
--=20
Peter Jeremy
--8P1HSweYDcXXzwPJ
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
iD8DBQFHFeZW/opHv/APuIcRAhHCAJ4vJqrDYTci2LCscBjOd/IlOGaVLwCfawHH
GoGATHrPINrWuxDizB68/Os=
=YzjB
-----END PGP SIGNATURE-----
--8P1HSweYDcXXzwPJ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071017103918.GL1191>
