PERFORCE change 33901 for review

Robert Watson rwatson at FreeBSD.org
Mon Jun 30 20:35:13 GMT 2003


http://perforce.freebsd.org/chv.cgi?CH=33901

Change 33901 by rwatson at rwatson_powerbook on 2003/06/30 13:34:39

	Darwin doesn't use a separate DTYPE for FIFO's.

Affected files ...

.. //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/kern/kern_mac.c#13 edit

Differences ...

==== //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/kern/kern_mac.c#13 (text+ko) ====

@@ -3579,7 +3579,9 @@
 
 	label_type = fp->f_type;
 	switch (fp->f_type) {
+#if 0
 	case DTYPE_FIFO:
+#endif
 	case DTYPE_VNODE:
 		vp = fp->f_data;
 
@@ -3609,7 +3611,9 @@
 	fdrop(fp, td);
 
 	switch (label_type) {
+#if 0
 	case DTYPE_FIFO:
+#endif
 	case DTYPE_VNODE:
 		if (error == 0)
 			error = mac_externalize_vnode_label(&intlabel,
@@ -3798,7 +3802,9 @@
 		goto out;
 
 	switch (fp->f_type) {
+#if 0
 	case DTYPE_FIFO:
+#endif
 	case DTYPE_VNODE:
 		mac_init_vnode_label(&intlabel);
 		error = mac_internalize_vnode_label(&intlabel, buffer);
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