git: kernel - shmid_ds structure needs to change on 64-bit :-(

看板DFBSD_commit作者時間14年前 (2011/10/29 08:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 7849af9fc25d204da8a7dc4331976d9564c0a05a Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Fri Oct 28 17:17:30 2011 -0700 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. Summary of changes: sys/kern/syscalls.master | 2 +- sys/kern/sysv_shm.c | 23 ++++++++++++----------- sys/sys/shm.h | 6 +++--- 3 files changed, 16 insertions(+), 15 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7849af9fc25d204da8a7dc4331976d9564c0a05a -- DragonFly BSD source repository
文章代碼(AID): #1EgqcADd (DFBSD_commit)