Age | Commit message (Collapse) | Author |
|
* hurd/process_request.defs (proc_make_task_namespace_request): New
definition.
* hurd/process_reply.defs (proc_make_task_namespace_reply): Skip definition.
|
|
* 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.
* proc/proc.h (init_proc): New variable.
(create_startup_proc): Rename to create_init_proc.
* proc/main.c (main): Create placeholder proc object for pid 1.
* proc/mgt.c: Use init_proc instead of startup_proc, as the former is
the new root of the process tree.
(create_startup_proc): Rename to create_init_proc.
(S_proc_set_init_task): New function.
* doc/hurd.texi (Server Bootstrap): Update accordingly.
* procfs/main.c: Do not hard-code kernel pid, use pids.h instead.
|
|
* hurd/process_reply.defs: Add _reply suffix.
|
|
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}_code_request.
|
|
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 patch set out to address, namely
that killall5 freezes the proc translator before it tries to walk
over /proc/*/stat to decide which process to kill. Prior to this
patch (and the one marking the procfs server as important
process), killall5 would deadlock trying to walk over the proc
file system.
Ironically it would not have killed any process later on even if
it had the chance, since two values obtained from /proc/*/stat
are currently hardcoded to zero in our procfs. Patches addressing
the problem as a whole are prepared and will be sent as a follow
up.
* hurd/process.defs (proc_mark_important): New routine definitions.
* hurd/process_reply.defs (proc_mark_important_request): Likewise.
* hurd/process_request.defs (proc_mark_important_request): Likewise.
|
|
* hurd/process.defs: Reserve RPC ID for proc_set_init_task.
* hurd/process_reply.defs: Likewise.
* hurd/process_request.defs: Likewise.
|
|
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_types.defs (RETURN_CODE_ARG): New macro, definition
depends on [HAVE_MIG_RETCODE].
* auth_reply.defs: Replace return code args with that.
* crash_reply.defs: Likewise.
* fsys_reply.defs: Likewise.
* io_reply.defs: Likewise.
* msg_reply.defs: Likewise.
* process_reply.defs: Likewise.
* startup_reply.defs: Likewise.
|
|
* auth_reply.defs: RetCode -> RETCODE
* crash_reply.defs: Likewise.
* fsys_reply.defs: Likewise.
* io_reply.defs: Likewise.
* msg_reply.defs: Likewise.
* process_reply.defs: Likewise.
* startup_reply.defs: Likewise.
|
|
* fsys_reply.defs: retcode -> RetCode
* process_reply.defs: Likewise.
* startup_reply.defs: Likewise.
|
|
* auth_reply.defs: Change return code parameters to use `RetCode'
keyword, for compatibility with OSF Mach mig.
* crash_reply.defs: Likewise.
* fsys_reply.defs: Likewise.
* io_reply.defs: Likewise.
* msg_reply.defs: Likewise.
* process_reply.defs: Likewise.
* startup_reply.defs: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|