PERFORCE change 173125 for review

Ilias Marinos marinosi at FreeBSD.org
Thu Jan 14 13:55:14 UTC 2010


http://p4web.freebsd.org/chv.cgi?CH=173125

Change 173125 by marinosi at revolver on 2010/01/14 13:54:45

	   - Fix a bad syscall assignment in freebsd32 compatibility, used from arch amd64 systems. 

Affected files ...

.. //depot/projects/soc2009/marinosi_appaudit/src/sys/compat/freebsd32/freebsd32_proto.h#7 edit
.. //depot/projects/soc2009/marinosi_appaudit/src/sys/compat/freebsd32/freebsd32_syscall.h#7 edit
.. //depot/projects/soc2009/marinosi_appaudit/src/sys/compat/freebsd32/freebsd32_syscalls.c#7 edit
.. //depot/projects/soc2009/marinosi_appaudit/src/sys/compat/freebsd32/freebsd32_sysent.c#7 edit
.. //depot/projects/soc2009/marinosi_appaudit/src/sys/compat/freebsd32/syscalls.master#8 edit

Differences ...

==== //depot/projects/soc2009/marinosi_appaudit/src/sys/compat/freebsd32/freebsd32_proto.h#7 (text+ko) ====


==== //depot/projects/soc2009/marinosi_appaudit/src/sys/compat/freebsd32/freebsd32_syscall.h#7 (text+ko) ====

@@ -382,6 +382,6 @@
 #define	FREEBSD32_SYS_freebsd32_msgctl	511
 #define	FREEBSD32_SYS_freebsd32_shmctl	512
 #define	FREEBSD32_SYS_lpathconf	513
-#define	FREEBSD32_SYS_auditon	514
+#define	FREEBSD32_SYS_auditon_slice	514
 #define	FREEBSD32_SYS_auditctl_slice	515
 #define	FREEBSD32_SYS_MAXSYSCALL	516

==== //depot/projects/soc2009/marinosi_appaudit/src/sys/compat/freebsd32/freebsd32_syscalls.c#7 (text+ko) ====

@@ -521,6 +521,6 @@
 	"freebsd32_msgctl",			/* 511 = freebsd32_msgctl */
 	"freebsd32_shmctl",			/* 512 = freebsd32_shmctl */
 	"lpathconf",			/* 513 = lpathconf */
-	"auditon",			/* 514 = auditon */
+	"auditon_slice",			/* 514 = auditon_slice */
 	"auditctl_slice",			/* 515 = auditctl_slice */
 };

==== //depot/projects/soc2009/marinosi_appaudit/src/sys/compat/freebsd32/freebsd32_sysent.c#7 (text+ko) ====

@@ -558,6 +558,6 @@
 	{ AS(freebsd32_msgctl_args), (sy_call_t *)freebsd32_msgctl, AUE_MSGCTL, NULL, 0, 0, 0 },	/* 511 = freebsd32_msgctl */
 	{ AS(freebsd32_shmctl_args), (sy_call_t *)freebsd32_shmctl, AUE_SHMCTL, NULL, 0, 0, 0 },	/* 512 = freebsd32_shmctl */
 	{ AS(lpathconf_args), (sy_call_t *)lpathconf, AUE_LPATHCONF, NULL, 0, 0, 0 },	/* 513 = lpathconf */
-	{ AS(auditon_args), (sy_call_t *)auditon, AUE_AUDITON, NULL, 0, 0, 0 },	/* 514 = auditon */
+	{ AS(auditon_slice_args), (sy_call_t *)auditon_slice, AUE_AUDITON, NULL, 0, 0, 0 },	/* 514 = auditon_slice */
 	{ AS(auditctl_slice_args), (sy_call_t *)auditctl_slice, AUE_AUDITCTL, NULL, 0, 0, 0 },	/* 515 = auditctl_slice */
 };

==== //depot/projects/soc2009/marinosi_appaudit/src/sys/compat/freebsd32/syscalls.master#8 (text+ko) ====

@@ -901,6 +901,6 @@
 512	AUE_SHMCTL	STD	{ int freebsd32_shmctl(int shmid, int cmd, \
 				    struct shmid_ds32 *buf); }
 513	AUE_LPATHCONF	NOPROTO	{ int lpathconf(char *path, int name); }
-514	AUE_AUDITON	NOPROTO	{ int auditon(int cmd, char *name, \
+514	AUE_AUDITON	NOPROTO	{ int auditon_slice(int cmd, char *name, \
 				    void *data, u_int length); }
 515	AUE_AUDITCTL	NOPROTO	{ int auditctl_slice(char *as_name, char *path); }


More information about the p4-projects mailing list