Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Mar 2006 18:28:40 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 94189 for review
Message-ID:  <200603281828.k2SISee0052596@repoman.freebsd.org>

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

Change 94189 by rwatson@rwatson_zoo on 2006/03/28 18:27:56

	Don't compile filter functions as static, or the compiler will
	helpfully omit them as unused.  As module symbols are local to
	the moduly with dlopen(), this won't generate conflicts.

Affected files ...

.. //depot/projects/trustedbsd/openbsm/modules/auditfilter_noop/auditfilter_noop.c#2 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/modules/auditfilter_noop/auditfilter_noop.c#2 (text+ko) ====

@@ -25,7 +25,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * $P4: //depot/projects/trustedbsd/openbsm/modules/auditfilter_noop/auditfilter_noop.c#1 $
+ * $P4: //depot/projects/trustedbsd/openbsm/modules/auditfilter_noop/auditfilter_noop.c#2 $
  */
 
 /*
@@ -38,33 +38,36 @@
 #include <bsm/libbsm.h>
 #include <bsm/audit_filter.h>
 
-static int
+int
 AUDIT_FILTER_ATTACH(void **instance, int argc, char *argv[])
 {
 
 	return (0);
 }
 
-static int
+int
 AUDIT_FILTER_REINIT(void *instance, int argc, char *argv[])
 {
 
 	return (0);
 }
 
-static void
+void
 AUDIT_FILTER_RECORD(void *instance, struct timespec *ts, int token_count,
     const tokenstr_t *tok[])
 {
+
 }
 
-static void
+void
 AUDIT_FILTER_BSMRECORD(void *instance, struct timespec *ts, u_char *data,
     u_int len)
 {
+
 }
 
-static void
+void
 AUDIT_FILTER_DETACH(void *instance)
 {
+
 }



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