From owner-cvs-src-old@FreeBSD.ORG Tue Jan 18 16:43:58 2011 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 C9D1A10656C1 for ; Tue, 18 Jan 2011 16:43:58 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B74718FC08 for ; Tue, 18 Jan 2011 16:43:58 +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 p0IGhw6M090897 for ; Tue, 18 Jan 2011 16:43:58 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p0IGhwmL090896 for cvs-src-old@freebsd.org; Tue, 18 Jan 2011 16:43:58 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <201101181643.p0IGhwmL090896@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Tue, 18 Jan 2011 16:43:01 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/amd64/amd64 sys_machdep.c src/sys/i386/i386 sys_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: Tue, 18 Jan 2011 16:43:58 -0000 jhb 2011-01-18 16:43:01 UTC FreeBSD src repository Modified files: sys/amd64/amd64 sys_machdep.c sys/i386/i386 sys_machdep.c Log: SVN rev 217543 on 2011-01-18 16:43:01Z by jhb - Remove some always-true checks (checking for unsigned < 0). - Only check largs->num against max_ldt_segment on amd64 for I386_SET_LDT when descriptors are provided. Specifically, allow the 'start == 0' and 'num == 0' special case used to free all LDT entries that previously failed with EINVAL. Submitted by: clang via rdivacky (some of 1) Reviewed by: kib Revision Changes Path 1.97 +4 -4 src/sys/amd64/amd64/sys_machdep.c 1.124 +2 -3 src/sys/i386/i386/sys_machdep.c