]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/ipc_tt.c
xnu-344.tar.gz
[apple/xnu.git] / osfmk / kern / ipc_tt.c
index 4fc95a8bca639e284ae071593b78c74d853fa416..f387287a512c3dc0ca41982b9425a15f5b4a1ae0 100644 (file)
@@ -116,8 +116,6 @@ ipc_task_init(
                for (i = FIRST_EXCEPTION; i < EXC_TYPES_COUNT; i++) {
                        task->exc_actions[i].port = IP_NULL;
                }/* for */
-               task->exc_actions[EXC_MACH_SYSCALL].port = 
-                       ipc_port_make_send(realhost.host_self);
                task->itk_host = ipc_port_make_send(realhost.host_self);
                task->itk_bootstrap = IP_NULL;
                for (i = 0; i < TASK_PORT_REGISTER_MAX; i++)
@@ -309,9 +307,6 @@ ipc_thr_act_init(task_t task, thread_act_t thr_act)
        for (i = FIRST_EXCEPTION; i < EXC_TYPES_COUNT; i++)
                thr_act->exc_actions[i].port = IP_NULL;
 
-       thr_act->exc_actions[EXC_MACH_SYSCALL].port =
-                                       ipc_port_make_send(realhost.host_self);
-
        ipc_kobject_set(kport, (ipc_kobject_t) thr_act, IKOT_ACT);
 }