Date: Mon, 30 Sep 2002 20:19:49 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 18434 for review Message-ID: <200210010319.g913Jnmw014055@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=18434 Change 18434 by rwatson@rwatson_paprika on 2002/09/30 20:19:16 Slight tweak to fallback logic WRT MAC_DEBUG: when MAC_DEBUG was disabled, the fallback would incorrectly use the VOP_GETATTR() return value to determine if a failure should take place. Affected files ... .. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#285 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#285 (text+ko) ==== @@ -1875,12 +1875,13 @@ printf(", falling back.\n"); mac_update_vnode_from_mount(vp, vp->v_mount); error = 0; - } + } else { #endif - else { printf(".\n"); error = EPERM; +#ifdef MAC_DEBUG } +#endif } return (error); 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?200210010319.g913Jnmw014055>