PERFORCE change 78047 for review

Wayne Salamon wsalamon at FreeBSD.org
Mon Jun 6 00:33:07 GMT 2005


http://perforce.freebsd.org/chv.cgi?CH=78047

Change 78047 by wsalamon at 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 *);
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list