From owner-p4-projects Wed Aug 14 7:17:34 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 463F037B401; Wed, 14 Aug 2002 07:17:30 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C678137B400 for ; Wed, 14 Aug 2002 07:17:29 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8406443E65 for ; Wed, 14 Aug 2002 07:17:29 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7EEHTJU069051 for ; Wed, 14 Aug 2002 07:17:29 -0700 (PDT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7EEHTRh069048 for perforce@freebsd.org; Wed, 14 Aug 2002 07:17:29 -0700 (PDT) Date: Wed, 14 Aug 2002 07:17:29 -0700 (PDT) Message-Id: <200208141417.g7EEHTRh069048@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson Subject: PERFORCE change 15964 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=15964 Change 15964 by rwatson@rwatson_tislabs on 2002/08/14 07:16:44 Disable the MAC check in fcntl's file flag changing call since it seems to be resulting in panics due to a null pointer dereference. I'll debug this one more. Affected files ... .. //depot/projects/trustedbsd/mac/sys/kern/kern_descrip.c#25 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/kern/kern_descrip.c#25 (text+ko) ==== @@ -314,6 +314,7 @@ case F_SETFL: fhold(fp); FILEDESC_UNLOCK(fdp); +#if 0 #ifdef MAC if (fp->f_type == DTYPE_VNODE) { int fflag = (fp->f_flag & ~FCNTLFLAGS) | @@ -342,6 +343,7 @@ } } #endif /* MAC */ +#endif fp->f_flag &= ~FCNTLFLAGS; fp->f_flag |= FFLAGS(uap->arg & ~O_ACCMODE) & FCNTLFLAGS; tmp = fp->f_flag & FNONBLOCK; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message