PERFORCE change 15964 for review

Robert Watson rwatson at freebsd.org
Wed Aug 14 14:17:29 GMT 2002


http://people.freebsd.org/~peter/p4db/chv.cgi?CH=15964

Change 15964 by rwatson at 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 at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list