PERFORCE change 78653 for review
Wayne Salamon
wsalamon at FreeBSD.org
Fri Jun 17 01:08:54 GMT 2005
http://perforce.freebsd.org/chv.cgi?CH=78653
Change 78653 by wsalamon at rickenbacker on 2005/06/17 01:08:00
Change the auditctl() prototype back to match that in Darwin, where
only the audit log filename can be passed in. Some other manner will
be used to send triggers in non-Mach systems.
Affected files ...
.. //depot/projects/trustedbsd/audit3/sys/kern/syscalls.master#14 edit
.. //depot/projects/trustedbsd/audit3/sys/security/audit/kern_audit.c#21 edit
.. //depot/projects/trustedbsd/audit3/sys/sys/sysproto.h#11 edit
.. //depot/projects/trustedbsd/openbsm/bsm/audit.h#7 edit
Differences ...
==== //depot/projects/trustedbsd/audit3/sys/kern/syscalls.master#14 (text+ko) ====
@@ -659,6 +659,6 @@
*auditinfo_addr, u_int length); }
452 AUE_SETAUDIT_ADDR MSTD { int setaudit_addr(struct auditinfo_addr \
*auditinfo_addr, u_int length); }
-453 AUE_AUDITCTL MSTD { int auditctl(int cmd, void *data, u_int length); }
+453 AUE_AUDITCTL MSTD { int auditctl(char *path); }
; Please copy any additions and changes to the following compatability tables:
; sys/compat/freebsd32/syscalls.master
==== //depot/projects/trustedbsd/audit3/sys/security/audit/kern_audit.c#21 (text+ko) ====
==== //depot/projects/trustedbsd/audit3/sys/sys/sysproto.h#11 (text+ko) ====
==== //depot/projects/trustedbsd/openbsm/bsm/audit.h#7 (text+ko) ====
@@ -149,13 +149,6 @@
#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;
@@ -291,7 +284,7 @@
int audit (const void *, int);
int auditon (int, void *, int);
-int auditctl (int, const void *, u_int);
+int auditctl (const char *);
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