Date: Sat, 21 Jun 2003 10:16:05 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 33476 for review Message-ID: <200306211716.h5LHG573004738@repoman.freebsd.org>
index | next in thread | raw e-mail
http://perforce.freebsd.org/chv.cgi?CH=33476 Change 33476 by rwatson@rwatson_powerbook on 2003/06/21 10:15:15 Help kern_mac.c become more Darwin-friendly; don't include what are currently FreeBSD-specific include files; use Mach headers for locks and wait queues (we might be able to drop this by solely using our cv wrappers). Some of these changes will have to be resolved later at the structure level; we may want to change the FreeBSD version of the MAC Framework to pass imgact argument pieces directly, rather than the FreeBSD-specific structure into MAC modules. Affected files ... .. //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/kern/kern_mac.c#3 edit Differences ... ==== //depot/projects/trustedbsd/sedarwin/apsl/xnu/bsd/kern/kern_mac.c#3 (text+ko) ==== @@ -45,11 +45,12 @@ #include <sys/param.h> #include <sys/condvar.h> #include <sys/extattr.h> +#if 0 #include <sys/imgact.h> +#endif #include <sys/kernel.h> #include <sys/lock.h> #include <sys/malloc.h> -#include <sys/mutex.h> #include <sys/mac.h> #include <sys/module.h> #include <sys/proc.h> @@ -82,6 +83,9 @@ #include <netinet/in.h> #include <netinet/ip_var.h> +#include <kern/wait_queue.h> +#include <kern/lock.h> + #ifdef MAC /*help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306211716.h5LHG573004738>
