Date: Tue, 25 Mar 2003 11:30:44 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 27367 for review Message-ID: <200303251930.h2PJUiAT090550@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=27367 Change 27367 by rwatson@rwatson_tislabs on 2003/03/25 11:29:53 Conversion macro to turn mbuf allocation flags into malloc allocation flags for MAC purposes. Affected files ... .. //depot/projects/trustedbsd/mac/sys/sys/mbuf.h#24 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/sys/mbuf.h#24 (text+ko) ==== @@ -272,6 +272,7 @@ #define M_DONTWAIT 0x4 /* don't conflict with M_NOWAIT */ #define M_TRYWAIT 0x8 /* or M_WAITOK */ #define M_WAIT M_TRYWAIT /* XXX: Deprecated. */ +#define MBUF_TO_MALLOC(how) ((how) == M_TRYWAIT ? M_WAITOK : M_NOWAIT) #ifdef _KERNEL /*- 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?200303251930.h2PJUiAT090550>