git: kernel - Fix shmat() for 64-bit

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Mar 27 17:14:38 PDT 2010


commit 65cac0a7e0f5b540e524e8872d616c4aa03ca6a8
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Mar 27 17:12:02 2010 -0700

    kernel - Fix shmat() for 64-bit
    
    * shmat() was storing pointers into integer fields, which works fine
      for 32-bit but fails utterly for 64-bit.  Fixed.
    
    Reported-by: Stathis Kamperis <ekamperi at gmail.com>

Summary of changes:
 sys/kern/syscalls.master |    2 +-
 sys/kern/sysv_shm.c      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/65cac0a7e0f5b540e524e8872d616c4aa03ca6a8


-- 
DragonFly BSD source repository





More information about the Commits mailing list