Date: Wed, 14 Aug 2002 07:17:29 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 15964 for review Message-ID: <200208141417.g7EEHTRh069048@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208141417.g7EEHTRh069048>