]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Change the data type of the upper shared memory limits from a signed
authorChristian S.J. Peron <csjp@FreeBSD.org>
Sat, 6 Aug 2005 07:20:18 +0000 (07:20 +0000)
committerChristian S.J. Peron <csjp@FreeBSD.org>
Sat, 6 Aug 2005 07:20:18 +0000 (07:20 +0000)
commit9baea4b4b4f3b9aa15b529e7381a02f38f2f7817
tree7f404867df31caa4a760d72c567e74af206dd740
parent9a24dfc72e8cb7d6d52d27cf6cd92f9e0521c52d
Change the data type of the upper shared memory limits from a signed
integer to an unsigned long. This lifts variables like the maximum
number of pages available for shared memory from 2^31 to 2^32 on 32
bit architectures, and from 2^31 to 2^64 on 64 bit architectures.

It should be noted that this changes breaks ABI on 64 bit architectures
because the size of the shmmax, shmmin, shmmni, shmseg and shmall members
of the shminfo structure has changed.

Silence on: current@
sys/kern/sysv_shm.c
sys/sys/shm.h
usr.bin/ipcs/ipcs.c