Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2002 10:18:18 -0700 (PDT)
From:      Chris Vance <cvance@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 16428 for review
Message-ID:  <200208221718.g7MHIIip087251@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=16428

Change 16428 by cvance@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@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?200208221718.g7MHIIip087251>