Adjust shared memory (shm) functions and headers to POSIX.
authorJan Lentfer <Jan.Lentfer@web.de>
Sat, 30 Apr 2011 10:24:35 +0000 (11:24 +0100)
committerJan Lentfer <Jan.Lentfer@web.de>
Sat, 30 Apr 2011 10:04:51 +0000 (12:04 +0200)
commitfa192ede950cd73380c8a257eea983831d3b97fe
tree3c714f30d312377735c0142a756782d5ecbb5cdf
parent00195b67e1324cbef0a2477ef2a25d7631818b42
Adjust shared memory (shm) functions and headers to POSIX.
Change SYSV SHM to allow more than 2GB of memory allocation.

        * Basically this means a change from int to size_t in
          the appropriate places.

        * Tested on X86_64 using PostgreSQL configured with
          2GB of shared_buffers and kern.ipc.shmmax set to 3GB.

        In-Colloboration-With (libc stuff):
           Sascha Wildner <saw@online.de>
lib/libc/gen/shmat.c
lib/libc/gen/shmdt.c
lib/libc/gen/shmget.c
lib/libc/sys/shmat.2
lib/libc/sys/shmctl.2
lib/libc/sys/shmget.2
sys/kern/syscalls.master
sys/kern/sysv_shm.c
sys/sys/shm.h
sys/sys/sysproto.h