PERFORCE change 92528 for review

Robert Watson rwatson at FreeBSD.org
Tue Feb 28 06:07:47 PST 2006


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

Change 92528 by rwatson at rwatson_lethe.cl.cam.ac.uk on 2006/02/28 14:07:32

	Don't implement au_to_me() unless audit system calls are
	available.  (Linux)

Affected files ...

.. //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#41 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#41 (text+ko) ====

@@ -30,7 +30,7 @@
  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#40 $
+ * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#41 $
  */
 
 #include <sys/types.h>
@@ -1012,7 +1012,7 @@
 	    tid));
 }
 
-#if !defined(_KERNEL) && !defined(KERNEL)
+#if !defined(_KERNEL) && !defined(KERNEL) && defined(HAVE_AUDIT_SYSCALLS)
 /*
  * Collects audit information for the current process
  * and creates a subject token from it


More information about the trustedbsd-cvs mailing list