Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jul 2006 11:58:35 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 100732 for review
Message-ID:  <200607061158.k66BwZL3068575@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=100732

Change 100732 by rwatson@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_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607061158.k66BwZL3068575>