From owner-cvs-all@FreeBSD.ORG Wed Jul 9 19:44:43 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3731910656F2; Wed, 9 Jul 2008 19:44:43 +0000 (UTC) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1265A8FC1E; Wed, 9 Jul 2008 19:44:43 +0000 (UTC) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m69Jigo3027630; Wed, 9 Jul 2008 19:44:42 GMT (envelope-from peter@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.2/8.14.1/Submit) id m69JigbB027629; Wed, 9 Jul 2008 19:44:42 GMT (envelope-from peter@repoman.freebsd.org) Message-Id: <200807091944.m69JigbB027629@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to peter@repoman.freebsd.org using -f From: Peter Wemm Date: Wed, 9 Jul 2008 19:44:37 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/amd64/amd64 machdep.c mp_machdep.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2008 19:44:43 -0000 peter 2008-07-09 19:44:37 UTC FreeBSD src repository Modified files: sys/amd64/amd64 machdep.c mp_machdep.c Log: SVN rev 180393 on 2008-07-09 19:44:37Z by peter Band-aid a problem with 32 bit selector setup. Initialize %ds, %es, and %fs during CPU startup. Otherwise a garbage value could leak to a 32-bit process if a process migrated to a different CPU after exec and the new CPU had never exec'd a 32-bit process. A more complete fix is needed, but this mitigates the most frequent manifestations. Obtained from: ups Revision Changes Path 1.687 +4 -0 src/sys/amd64/amd64/machdep.c 1.291 +5 -1 src/sys/amd64/amd64/mp_machdep.c