This makes killall5 actually kill any processes not marked as
important.
* process.c (process_file_gc_stat): Fix {start,end}_code.
---
process.c | 24 +++-
1 file changed, 23 insertions(+), 1 deletion(-)
diff --git a/process.c b/process.c
index c5ef7d8..269a18b 100644
--- a
Keep track of the range where executable segments are mapped into
memory and hand that information over to the proc server.
* exec/priv.h (struct execdata): Add {start,end}_code.
* exec/exec.c (prepare): Initialize {start,end}_code.
(load_section): Update {start,end}_code.
(do_exec): Use proc_set_
Any executable segments loaded from the ELF binary are in this range.
* proc/proc.h (struct proc): Add {start,end}_code.
* proc/mgt.h (S_proc_set_code): New function.
* proc/mgt.h (S_proc_get_code): New function.
---
proc/mgt.c | 39 +++
proc/proc.h |2 +
Register libtrivfs-based translators running as root as important
processes at the proc server.
* libtrivfs/startup.c (trivfs_startup): Mark us as important.
---
libtrivfs/startup.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/libtrivfs/startup.c b/libtrivfs/startup.
Register libnetfs-based translators running as root as important
processes at the proc server.
* libnetfs/init-startup.c (netfs_startup): Mark us as important.
---
libnetfs/init-startup.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/libnetfs/init-startup.c b/libnetfs/init-
This is based on a fragment of Guillem Jovers patch presented here:
http://lists.gnu.org/archive/html/bug-hurd/2006-02/msg00081.html
It has been refreshed, updated and the copyright year is adjusted
properly. It has been complemented with the necessary features to
address the issues the original
Add routines to set and query the processes start_code and end_code
locations. Any executable segments loaded from the ELF binary are in
this range.
* hurd/process.defs: Add proc_{get,set}_code.
* hurd/process_reply.defs: Add proc_{get,set}_code.
* hurd/process_request.defs: Add proc_{get,set}_cod
The process interfaces got new routines, add processUser.o so that
they get picked up by the servers that need them.
As I understand it this is no longer necessary once the libc has been
rebuilt with the new definitions. So this patch can either be omitted
if the libc is rebuild first, or committe
Register any symlink translators running as root as important
processes at the proc server.
* trans/symlink.c (main): Mark us as important.
---
trans/symlink.c | 12
1 file changed, 12 insertions(+)
diff --git a/trans/symlink.c b/trans/symlink.c
index 03b5100..b3e8441 100644
--- a
Register any mach-defpager translators running as root as
important processes at the proc server.
* mach-defpager/main.c (main): Mark us as important.
---
mach-defpager/main.c | 12
1 file changed, 12 insertions(+)
diff --git a/mach-defpager/main.c b/mach-defpager/main.c
index 313
* hurd/process.defs (proc_set_init_task): New procedure.
* hurd/process_reply.defs (proc_set_init_task): Likewise.
* hurd/process_request.defs (proc_set_init_task): Likewise.
* include/pids.h: Add HURD_PID_INIT as 1, adjust others accordingly.
* init/init.c (start_child): Register the child task.
*
* include/pids.h: New file.
* init/init.c (frob_kernel_process): Use symbolic name for kernel process.
* exec/main.c (S_exec_init): Use symbolic name for startup process.
* libdiskfs/boot-start.c (diskfs_S_fsys_init): Likewise.
* libdiskfs/init-startup.c (_diskfs_init_completed): Likewise.
* pfinet
This is based on a fragment of Guillem Jovers patch presented here:
http://lists.gnu.org/archive/html/bug-hurd/2006-02/msg00081.html
It has been refreshed, updated and the copyright year is adjusted
properly. It has been complemented with the necessary features to
address the issues the original
This is based on a fragment of Guillem Jovers patch presented here:
http://lists.gnu.org/archive/html/bug-hurd/2006-02/msg00081.html
It has been refreshed, updated and the copyright year is adjusted
properly. It has been complemented with the necessary features to
address the issues the original
Register libdiskfs-based translators running as root as important
processes at the proc server.
* libdiskfs/init-startup.c (_diskfs_init_completed): Mark us as important.
---
libdiskfs/init-startup.c |6 ++
1 file changed, 6 insertions(+)
diff --git a/libdiskfs/init-startup.c b/libdiskfs
Add the appropriate simpleroutine or skip directives to
hurd/process_reply.defs matching the ones in hurd/process.defs.
* hurd/process_reply.defs: Add missing routine declarations.
---
hurd/process_reply.defs | 114 +++
1 file changed, 114 insertions(+
Make the function check_owner available for use in other files.
* proc/info.c (check_owner): Drop attributes static and inline.
* proc/proc.h (check_owner): Add prototype.
---
proc/info.c |2 +-
proc/proc.h |1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/proc/info.c b/
Hi,
this is a unified patch series fixing all sysvinit related issues.
[PATCH 01/16] hurd: add missing routines in process_reply.defs
[PATCH 02/16] Define and use symbolic names for important processes
These can be merged now.
[PATCH 03/16] Add proc_set_init_task, make runsystem pid 1
This nee
18 matches
Mail list logo