kernel - shmid_ds structure needs to change on 64-bit :-(
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 29 Oct 2011 00:17:30 +0000 (17:17 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 29 Oct 2011 00:17:30 +0000 (17:17 -0700)
commit7849af9fc25d204da8a7dc4331976d9564c0a05a
treee59329de1da4ea3e93aee6c65853de76dc110e6d
parentc5017cd942302c2a55d0f46405436109f5f887dc
kernel - shmid_ds structure needs to change on 64-bit :-(

* shmid_ds had very old parameters and used 'int' for the shm segment
  size.  It has to be adjusted to use size_t to accomodate shm segments
  greater than 2GB.

  This will break binary package compatibility on 64-bit systems until
  the related packages are recompiled.

* shmget() system call now takes a size_t instead of an int.
sys/kern/syscalls.master
sys/kern/sysv_shm.c
sys/sys/shm.h