DragonFly BSD
DragonFly commits List (threaded) for 2011-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 28 Oct 2011 17:20:28 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]