PERFORCE change 16428 for review
Chris Vance
cvance at freebsd.org
Thu Aug 22 17:18:18 GMT 2002
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=16428
Change 16428 by cvance at cvance_laptop on 2002/08/22 10:18:07
Move some definitions into _KERNEL blocks and move one out. Resolves
issues compiling userspace sebsd apps (sebsd_checkpolicy)
Affected files ...
.. //depot/projects/trustedbsd/mac/sys/security/sebsd/avc/avc.h#7 edit
.. //depot/projects/trustedbsd/mac/sys/security/sebsd/sebsd.h#7 edit
Differences ...
==== //depot/projects/trustedbsd/mac/sys/security/sebsd/avc/avc.h#7 (text+ko) ====
@@ -342,8 +342,10 @@
#define AVC_CALLBACK_AUDITDENY_ENABLE 64
#define AVC_CALLBACK_AUDITDENY_DISABLE 128
+#ifdef _KERNEL
extern int sys_avc_toggle(struct thread *td);
extern int sys_avc_enforcing(struct thread *td);
+#endif
#endif /* _LINUX_AVC_H_ */
==== //depot/projects/trustedbsd/mac/sys/security/sebsd/sebsd.h#7 (text+ko) ====
@@ -43,10 +43,11 @@
#define SEBSD_MAC_EXTATTR_NAME "sebsd"
#define SEBSD_MAC_EXTATTR_NAMESPACE EXTATTR_NAMESPACE_SYSTEM
+extern int avc_debug_always_allow;
+
#ifdef _KERNEL
MALLOC_DECLARE(M_SEBSD);
-extern int avc_debug_always_allow;
extern int sebsd_verbose;
extern int security_init(void);
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list