PERFORCE change 105369 for review
Todd Miller
millert at FreeBSD.org
Wed Aug 30 21:28:14 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=105369
Change 105369 by millert at millert_g4tower on 2006/08/30 21:28:03
Add back task_name_t since it is still present in the 10.4.7
binary release. This fixes a problem where a machine with
SEDarwin installed could not self-host.
Affected files ...
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/mach/mach_types.defs#2 edit
.. //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/mach/mach_types.h#2 edit
Differences ...
==== //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/mach/mach_types.defs#2 (text+ko) ====
@@ -104,6 +104,14 @@
#endif /* KERNEL_SERVER */
;
+type task_name_t = mach_port_t
+#if KERNEL_SERVER
+ intran: task_name_t convert_port_to_task_name(mach_port_t)
+ outtran: mach_port_t convert_task_name_to_port(task_name_t)
+ destructor: task_name_deallocate(task_name_t)
+#endif /* KERNEL_SERVER */
+ ;
+
type thread_t = mach_port_t
#if KERNEL_SERVER
intran: thread_t convert_port_to_thread(mach_port_t)
==== //depot/projects/trustedbsd/sedarwin8/darwin/xnu/osfmk/mach/mach_types.h#2 (text+ko) ====
@@ -151,6 +151,7 @@
* ports at user-space.
*/
typedef mach_port_t task_t;
+typedef mach_port_t task_name_t;
typedef mach_port_t thread_t;
typedef mach_port_t thread_act_t;
typedef mach_port_t ipc_space_t;
@@ -236,6 +237,7 @@
#define TASK_NULL ((task_t) 0)
+#define TASK_NAME_NULL ((task_name_t) 0)
#define THREAD_NULL ((thread_t) 0)
#define THR_ACT_NULL ((thread_act_t) 0)
#define IPC_SPACE_NULL ((ipc_space_t) 0)
More information about the trustedbsd-cvs
mailing list