PERFORCE change 45153 for review

Robert Watson rwatson at FreeBSD.org
Sun Jan 11 19:07:39 GMT 2004


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

Change 45153 by rwatson at rwatson_paprika on 2004/01/11 11:07:17

	Synchronize system call argument names with Darwin; gratuitous
	differences considered bad.

Affected files ...

.. //depot/projects/trustedbsd/audit2/sys/kern/init_sysent.c#3 edit
.. //depot/projects/trustedbsd/audit2/sys/kern/syscalls.c#3 edit
.. //depot/projects/trustedbsd/audit2/sys/kern/syscalls.master#3 edit
.. //depot/projects/trustedbsd/audit2/sys/sys/syscall.h#3 edit
.. //depot/projects/trustedbsd/audit2/sys/sys/syscall.mk#3 edit
.. //depot/projects/trustedbsd/audit2/sys/sys/sysproto.h#3 edit

Differences ...

==== //depot/projects/trustedbsd/audit2/sys/kern/init_sysent.c#3 (text+ko) ====


==== //depot/projects/trustedbsd/audit2/sys/kern/syscalls.c#3 (text+ko) ====


==== //depot/projects/trustedbsd/audit2/sys/kern/syscalls.master#3 (text+ko) ====

@@ -639,17 +639,17 @@
 			    int attrnamespace, void *data, size_t nbytes); }
 439	STD	BSD	{ ssize_t extattr_list_link(const char *path, \
 			    int attrnamespace, void *data, size_t nbytes); }
-440	MSTD	BSD	{ int audit(const void *ar, int len); }
-441	MSTD	BSD	{ int auditon(int cmd, void *data, int len); }
+440	MSTD	BSD	{ int audit(const void *record, int length); }
+441	MSTD	BSD	{ int auditon(int cmd, void *data, int length); }
 442	MSTD	BSD	{ int auditsvc(int fd, int limit); }
 443	MSTD	BSD	{ int getauid(uid_t *auid); }
 444	MSTD	BSD	{ int setauid(uid_t *auid); }
 445	MSTD	BSD	{ int getaudit(struct auditinfo *auditinfo); }
 446	MSTD	BSD	{ int setaudit(struct auditinfo *auditinfo); }
 447	MSTD	BSD	{ int getaudit_addr(struct auditinfo_addr \
-			    *auditinfo_addr, int len); }
+			    *auditinfo_addr, int length); }
 448	MSTD	BSD	{ int setaudit_addr(struct auditinfo_addr \
-			    *auditinfo_addr, int len); }
+			    *auditinfo_addr, int length); }
 449	MSTD	BSD	{ int auditctl(char *path); }
 
 ; Please copy any additions and changes to the following compatability tables:

==== //depot/projects/trustedbsd/audit2/sys/sys/syscall.h#3 (text+ko) ====


==== //depot/projects/trustedbsd/audit2/sys/sys/syscall.mk#3 (text+ko) ====


==== //depot/projects/trustedbsd/audit2/sys/sys/sysproto.h#3 (text+ko) ====

@@ -1285,13 +1285,13 @@
 	char nbytes_l_[PADL_(size_t)]; size_t nbytes; char nbytes_r_[PADR_(size_t)];
 };
 struct audit_args {
-	char ar_l_[PADL_(const void *)]; const void * ar; char ar_r_[PADR_(const void *)];
-	char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
+	char record_l_[PADL_(const void *)]; const void * record; char record_r_[PADR_(const void *)];
+	char length_l_[PADL_(int)]; int length; char length_r_[PADR_(int)];
 };
 struct auditon_args {
 	char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
 	char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
-	char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
+	char length_l_[PADL_(int)]; int length; char length_r_[PADR_(int)];
 };
 struct auditsvc_args {
 	char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
@@ -1311,11 +1311,11 @@
 };
 struct getaudit_addr_args {
 	char auditinfo_addr_l_[PADL_(struct auditinfo_addr *)]; struct auditinfo_addr * auditinfo_addr; char auditinfo_addr_r_[PADR_(struct auditinfo_addr *)];
-	char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
+	char length_l_[PADL_(int)]; int length; char length_r_[PADR_(int)];
 };
 struct setaudit_addr_args {
 	char auditinfo_addr_l_[PADL_(struct auditinfo_addr *)]; struct auditinfo_addr * auditinfo_addr; char auditinfo_addr_r_[PADR_(struct auditinfo_addr *)];
-	char len_l_[PADL_(int)]; int len; char len_r_[PADR_(int)];
+	char length_l_[PADL_(int)]; int length; char length_r_[PADR_(int)];
 };
 struct auditctl_args {
 	char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
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