Date: Fri, 17 Jun 2005 01:08:54 GMT From: Wayne Salamon <wsalamon@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 78653 for review Message-ID: <200506170108.j5H18sqq075488@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=78653 Change 78653 by wsalamon@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 *);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506170108.j5H18sqq075488>