Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Dec 2010 15:15:27 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/amd64/amd64 machdep.c
Message-ID:  <201012061515.oB6FFm3a093986@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kib         2010-12-06 15:15:27 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/amd64      machdep.c 
  Log:
  SVN rev 216231 on 2010-12-06 15:15:27Z by kib
  
  Do not leak %rdx value in the previous image to the new image after
  execve(2). Note that ia32 binaries already handle this properly,
  since ia32_setregs() resets td_retval[1], but not exec_setregs().
  
  We still do not conform to the amd64 ABI specification, since %rsp
  on the image startup is not aligned to 16 bytes.
  
  PR:     amd64/124134
  Discussed with: Petr Salinger <Petr.Salinger seznam cz>
          (who convinced me that there is indeed several bugs)
  MFC after:      1 week
  
  Revision  Changes    Path
  1.731     +1 -0      src/sys/amd64/amd64/machdep.c



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