Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2006 14:07:41 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 92528 for review
Message-ID:  <200602281407.k1SE7fiT029970@repoman.freebsd.org>

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

Change 92528 by rwatson@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



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