Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2007 01:25:51 +0000 (UTC)
From:      Alexander Kabaev <kan@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/amd64/linux32 linux32_machdep.c src/sys/i386/linux linux_machdep.c
Message-ID:  <200705110125.l4B1PpCi068441@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705110125.l4B1PpCi068441>