PERFORCE change 94189 for review
Robert Watson
rwatson at FreeBSD.org
Tue Mar 28 18:29:07 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=94189
Change 94189 by rwatson at 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)
{
+
}
More information about the trustedbsd-cvs
mailing list