cvs commit: src/sys/amd64/linux32 linux32_machdep.c src/sys/i386/linux linux_machdep.c

Alexander Kabaev kan at FreeBSD.org
Fri May 11 01:25:51 UTC 2007


kan         2007-05-11 01:25:51 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/linux32    linux32_machdep.c 
    sys/i386/linux       linux_machdep.c 
  Log:
  Do not dereference linux_to_bsd_signal[-1] if userland has
  passed zero as exit signal.
  
  GCC 4.2 changes the kernel data segment layout not to have 0
  in that memory location. This code ran by luck before and now
  the luck has run out.
  
  Revision  Changes    Path
  1.43      +5 -4      src/sys/amd64/linux32/linux32_machdep.c
  1.75      +5 -4      src/sys/i386/linux/linux_machdep.c


More information about the cvs-all mailing list