Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jun 2005 00:33:07 GMT
From:      Wayne Salamon <wsalamon@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 78047 for review
Message-ID:  <200506060033.j560X7h9005565@repoman.freebsd.org>

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

Change 78047 by wsalamon@rickenbacker on 2005/06/06 00:32:38

	Changes necessary to sync with the current kernel; specifically, the
	auditctl() system call.

Affected files ...

.. //depot/projects/trustedbsd/openbsm/bsm/audit.h#6 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/bsm/audit.h#6 (text+ko) ====

@@ -32,8 +32,11 @@
 /*
  * Triggers for the audit daemon
  */
-#define AUDIT_TRIGGER_LOW_SPACE	1
-#define AUDIT_TRIGGER_FILE_FULL	2
+#define AUDIT_TRIGGER_LOW_SPACE		1
+#define AUDIT_TRIGGER_OPEN_NEW		2
+#define AUDIT_TRIGGER_READ_FILE		3
+#define AUDIT_TRIGGER_CLOSE_AND_DIE	4
+#define AUDIT_TRIGGER_NO_SPACE		5
 
 /*
  * Pre-defined audit IDs
@@ -146,6 +149,13 @@
 
 #define	AU_FS_MINFREE	20   /* default min filesystem freespace, in percent */
 
+/*
+ * auditctl(2) commands
+ */
+#define AC_SETLOGFILE	1
+#define AC_SHUTDOWN	2
+#define AC_SENDTRIGGER	3
+
 __BEGIN_DECLS
 
 typedef uid_t au_id_t;
@@ -281,7 +291,7 @@
 
 int audit (const void *, int);
 int auditon (int, void *, int);
-int auditctl (const char *);
+int auditctl (int, const void *, u_int);
 int getauid (au_id_t *);
 int setauid (const au_id_t *);
 int getaudit (struct auditinfo *);



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