From owner-cvs-src-old@FreeBSD.ORG Mon Dec 6 15:15:48 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D90010657C1 for ; Mon, 6 Dec 2010 15:15:48 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3B1368FC0C for ; Mon, 6 Dec 2010 15:15:48 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oB6FFm7V093987 for ; Mon, 6 Dec 2010 15:15:48 GMT (envelope-from kib@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oB6FFm3a093986 for cvs-src-old@freebsd.org; Mon, 6 Dec 2010 15:15:48 GMT (envelope-from kib@repoman.freebsd.org) Message-Id: <201012061515.oB6FFm3a093986@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kib@repoman.freebsd.org using -f From: Konstantin Belousov Date: Mon, 6 Dec 2010 15:15:27 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/amd64/amd64 machdep.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2010 15:15:48 -0000 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 (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