PERFORCE change 78511 for review

Peter Wemm peter at FreeBSD.org
Tue Jun 14 02:25:28 GMT 2005


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

Change 78511 by peter at peter_daintree on 2005/06/14 02:24:45

	With apologies to ps, move the iodesc32 to sys_process.c.
	We don't want to expose this to userland apps #include namespace,
	so it isn't needed in the public interface file.

Affected files ...

.. //depot/projects/hammer/sys/kern/sys_process.c#29 edit
.. //depot/projects/hammer/sys/sys/ptrace.h#10 edit

Differences ...

==== //depot/projects/hammer/sys/kern/sys_process.c#29 (text+ko) ====

@@ -63,6 +63,13 @@
 #include <compat/ia32/ia32_reg.h>
 
 extern struct sysentvec ia32_freebsd_sysvec;
+
+struct ptrace_io_desc32 {
+	int		piod_op;
+	u_int32_t	piod_offs;
+	u_int32_t	piod_addr;
+	u_int32_t	piod_len;
+};
 #endif
 
 /*

==== //depot/projects/hammer/sys/sys/ptrace.h#10 (text+ko) ====

@@ -75,15 +75,6 @@
 	size_t	piod_len;	/* request length */
 };
 
-#ifdef COMPAT_IA32
-struct ptrace_io_desc32 {
-	int		piod_op;
-	u_int32_t	piod_offs;
-	u_int32_t	piod_addr;
-	u_int32_t	piod_len;
-};
-#endif
-
 /*
  * Operations in piod_op.
  */


More information about the p4-projects mailing list