From owner-cvs-sys Thu Feb 12 21:26:14 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA23658 for cvs-sys-outgoing; Thu, 12 Feb 1998 21:26:14 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA23596; Thu, 12 Feb 1998 21:25:57 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id VAA27673; Thu, 12 Feb 1998 21:25:43 -0800 (PST) Date: Thu, 12 Feb 1998 21:25:43 -0800 (PST) Message-Id: <199802130525.VAA27673@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 sys_machdep.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1998/02/12 21:25:37 PST Modified files: sys/i386/i386 sys_machdep.c Log: Fixed missing privilege checking and off-by-1 bounds checking in i386_set_ioperm(). Don't use a magic number for the bound. Fixed missing bounds checking in i386_get_ioperm(). Don't use a magic number for the bound elsewhere in this function. Removed some bogus initializers. Revision Changes Path 1.33 +9 -6 src/sys/i386/i386/sys_machdep.c