Date: Wed, 18 Sep 2002 21:39:34 -0700 (PDT) From: Adam Migus <amigus@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 17700 for review Message-ID: <200209190439.g8J4dY2a098910@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=17700 Change 17700 by amigus@amigus_ganymede on 2002/09/18 21:39:06 I love introducing compile-time bugs fixing run-time bugs. This takes away the fallback label hack introduced by rwatson unless you have MAC_DEBUG defined. Affected files ... .. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#271 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#271 (text+ko) ==== @@ -1832,11 +1832,14 @@ vp->v_mount->mnt_stat.f_mntonname); if (VOP_GETATTR(vp, &va, curthread->td_ucred, curthread) == 0) printf(" inum %ld", va.va_fileid); +#ifdef MAC_DEBUG if (mac_debug_label_fallback) { printf(", falling back.\n"); mac_update_vnode_from_mount(vp, vp->v_mount); error = 0; - } else { + } +#endif + else { printf(".\n"); error = EPERM; } 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?200209190439.g8J4dY2a098910>