PERFORCE change 100732 for review

Robert Watson rwatson at FreeBSD.org
Thu Jul 6 12:03:55 UTC 2006


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

Change 100732 by rwatson at rwatson_zoo on 2006/07/06 11:57:44

	Remove premature removal of ifndef on system calls, as mac.h needs
	to be included in kernel, and user space prototypes aren't
	desirbale.

Affected files ...

.. //depot/projects/trustedbsd/mac2/sys/sys/mac.h#3 edit

Differences ...

==== //depot/projects/trustedbsd/mac2/sys/sys/mac.h#3 (text+ko) ====

@@ -68,6 +68,7 @@
 
 typedef struct mac	*mac_t;
 
+#ifndef _KERNEL
 /*
  * Location of the userland MAC framework configuration file.  mac.conf
  * binds policy names to shared libraries that understand those policies,
@@ -102,5 +103,6 @@
 int	 mac_syscall(const char *_policyname, int _call, void *_arg);
 int	 mac_to_text(mac_t mac, char **_text);
 __END_DECLS
+#endif
 
 #endif /* !_SYS_MAC_H_ */


More information about the trustedbsd-cvs mailing list