Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Feb 2006 09:27:33 +0100
From:      Pawel Worach <pawel.worach@gmail.com>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   Re: PERFORCE change 90830 for review
Message-ID:  <43E1C275.8070600@gmail.com>
In-Reply-To: <200601312102.k0VL24It078902@repoman.freebsd.org>
References:  <200601312102.k0VL24It078902@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Watson wrote:
> http://perforce.freebsd.org/chv.cgi?CH=90830
> 
> Change 90830 by rwatson@rwatson_peppercorn on 2006/01/31 21:01:03
> 
> 	Sync to OpenBSM.
> 
> Affected files ...
> 
> .. //depot/projects/trustedbsd/audit3/sys/bsm/audit.h#22 edit
> 

> +#if !defined(_KERNEL) && !defined(KERNEL)

> +#endif /* defined(_KERNEL) || defined(KERNEL) */

Hi,

One of those two looks like a typo. In sys/bsm/audit_record.h they are 
ORed so the most likely fix would be:

--- sys/bsm/audit.h.orig	Thu Feb  2 09:25:20 2006
+++ sys/bsm/audit.h	Thu Feb  2 09:25:31 2006
@@ -328,7 +328,7 @@
  };
  typedef	struct au_evclass_map	au_evclass_map_t;

-#if !defined(_KERNEL) && !defined(KERNEL)
+#if !defined(_KERNEL) || !defined(KERNEL)
  int	audit(const void *, int);
  int	auditon(int, void *, int);
  int	auditctl(const char *);

Regards
-- 
Pawel



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