kill (0, SIGSTOP) is freezing the system (was: /hurd/init and /hurd/proc)

2013-07-23 Thread Justus Winter
Hi, [PATCH 1/7] proc: add proc_mark_essential server code [PATCH 2/7] hurd: add proc_mark_essential [PATCH 3/7] init: Mark auth, proc and fs servers as essential This is a refreshed but otherwise unmodified version of Guillems patch series presented here: http://lists.gnu.org/archive/html/bug-hur

[PATCH 5/7] proc: Fix miscalculation of count

2013-07-23 Thread Justus Winter
* proc/pgrp.c (S_proc_getpgrppids): Fix miscalculation of count. --- proc/pgrp.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proc/pgrp.c b/proc/pgrp.c index 3b5dba1..403de97 100644 --- a/proc/pgrp.c +++ b/proc/pgrp.c @@ -265,7 +265,7 @@ S_proc_getpgrppids (struct proc *c

[PATCH 1/7] proc: add proc_mark_essential server code

2013-07-23 Thread Justus Winter
This is a fragment of Guillem Jovers patch presented here: http://lists.gnu.org/archive/html/bug-hurd/2006-02/msg00081.html It has been refreshed and the copyright year is adjusted. * proc/proc.h (struct proc): Add p_essential member. * proc/pgrp.c (S_proc_getpgrppids): Exclude essential system

[PATCH 2/7] hurd: add proc_mark_essential

2013-07-23 Thread Justus Winter
This is a fragment of Guillem Jovers patch presented here: http://lists.gnu.org/archive/html/bug-hurd/2006-02/msg00081.html It has been refreshed and the copyright year is adjusted. * hurd/process.defs (proc_mark_essential): New routine definition. * hurd/process_request.defs (proc_mark_essentia

[PATCH 4/7] init: Build fixes

2013-07-23 Thread Justus Winter
* init/Makefile: Build and link with processUser.o. * init/init.c: Include process_U.h. --- init/Makefile |2 +- init/init.c |1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/init/Makefile b/init/Makefile index ffb82ff..5ae3b50 100644 --- a/init/Makefile +++ b/init/Make

[PATCH 3/7] init: Mark auth, proc and fs servers as essential

2013-07-23 Thread Justus Winter
This is a fragment of Guillem Jovers patch presented here: http://lists.gnu.org/archive/html/bug-hurd/2006-02/msg00081.html It has been refreshed and the copyright year is adjusted. * init/init.c (launch_core_servers): Mark auth, proc and fs servers as essential. --- init/init.c | 11

[PATCH 6/7] proc: evil hack, mark all pids<100 essential

2013-07-23 Thread Justus Winter
--- proc/mgt.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/proc/mgt.c b/proc/mgt.c index c754a4b..cfd7c26 100644 --- a/proc/mgt.c +++ b/proc/mgt.c @@ -650,6 +650,9 @@ complete_proc (struct proc *p, pid_t pid) p->p_pid = pid; + /* XXX */ + p->p_essential = pid < 100; + ids

Re: feature-mtab-translator (v3)

2013-07-23 Thread Neal H. Walfield
At Mon, 22 Jul 2013 22:49:03 +0200, Samuel Thibault wrote: > > Neal H. Walfield, le Mon 22 Jul 2013 21:50:02 +0200, a écrit : > > At Fri, 19 Jul 2013 17:25:02 +0200, > > Justus Winter wrote: > > > * The translator used to traverse the translator tree and if it > > > encountered itself, it would