summaryrefslogtreecommitdiff
path: root/debian/patches/proc_set_init_task.patch
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-02-02 17:30:49 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-02-02 17:30:49 +0100
commitc2ed7082c1c56582ca882fd8dd5b9721f311cf0c (patch)
tree583c262c7b02939b7eaa705f551ba6cf38133750 /debian/patches/proc_set_init_task.patch
parent84f14bdf0e64640884fb5a5cce59646f98c05eaf (diff)
reorder patches, refresh newRPC.patch proc_set_init_task.patch
Diffstat (limited to 'debian/patches/proc_set_init_task.patch')
-rw-r--r--debian/patches/proc_set_init_task.patch20
1 files changed, 10 insertions, 10 deletions
diff --git a/debian/patches/proc_set_init_task.patch b/debian/patches/proc_set_init_task.patch
index 45f2c284..ae29d914 100644
--- a/debian/patches/proc_set_init_task.patch
+++ b/debian/patches/proc_set_init_task.patch
@@ -95,7 +95,7 @@
if (childp->p_sib)
childp->p_sib->p_prevsib = childp->p_prevsib;
*childp->p_prevsib = childp->p_sib;
-@@ -590,7 +591,7 @@ allocate_proc (task_t task)
+@@ -587,7 +588,7 @@ allocate_proc (task_t task)
/* Allocate and initialize the proc structure for init (PID 1),
the original parent of all other procs. */
struct proc *
@@ -104,7 +104,7 @@
{
static const uid_t zero;
struct proc *p;
-@@ -599,7 +600,7 @@ create_startup_proc (void)
+@@ -596,7 +597,7 @@ create_startup_proc (void)
p = allocate_proc (MACH_PORT_NULL);
assert (p);
@@ -113,7 +113,7 @@
p->p_parent = p;
p->p_sib = 0;
-@@ -647,7 +648,7 @@ proc_death_notify (struct proc *p)
+@@ -644,7 +645,7 @@ proc_death_notify (struct proc *p)
}
/* Complete a new process that has been allocated but not entirely initialized.
@@ -122,9 +122,9 @@
void
complete_proc (struct proc *p, pid_t pid)
{
-@@ -666,30 +667,47 @@ complete_proc (struct proc *p, pid_t pid
-
- p->p_pid = pid;
+@@ -667,30 +668,47 @@ complete_proc (struct proc *p, pid_t pid
+ snprintf (name, sizeof name, "with pid %i", pid);
+ task_set_name (p->p_task, name);
- ids_ref (&nullids);
- p->p_id = &nullids;
@@ -179,7 +179,7 @@
join_pgrp (p);
}
-@@ -751,7 +769,7 @@ process_has_exited (struct proc *p)
+@@ -752,7 +770,7 @@ process_has_exited (struct proc *p)
nowait_msg_proc_newids (tp->p_msgport, tp->p_task,
1, tp->p_pgrp->pg_pgid,
!tp->p_pgrp->pg_orphcnt);
@@ -188,7 +188,7 @@
if (tp->p_dead)
isdead = 1;
}
-@@ -759,17 +777,17 @@ process_has_exited (struct proc *p)
+@@ -760,17 +778,17 @@ process_has_exited (struct proc *p)
nowait_msg_proc_newids (tp->p_msgport, tp->p_task,
1, tp->p_pgrp->pg_pgid,
!tp->p_pgrp->pg_orphcnt);
@@ -211,7 +211,7 @@
}
/* If an operation is in progress for this process, cause it
-@@ -949,3 +967,21 @@ S_proc_get_code (struct proc *callerp,
+@@ -950,3 +968,21 @@ S_proc_get_code (struct proc *callerp,
return 0;
}
@@ -253,7 +253,7 @@
struct port_bucket *proc_bucket;
struct port_class *proc_class;
-@@ -190,7 +192,7 @@ void exc_clean (void *);
+@@ -190,27 +192,7 @@ void exc_clean (void *);
struct proc *add_tasks (task_t);
int pidfree (pid_t);