summaryrefslogtreecommitdiff
path: root/hurd/process_reply.defs
AgeCommit message (Collapse)Author
2014-11-21Add proc_set_init_task, make runsystem pid 1Justus Winter
* 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.
2013-09-19hurd: add _reply suffix to the routines in process_reply.defsJustus Winter
* hurd/process_reply.defs: Add _reply suffix.
2013-09-15hurd: add proc_{get,set}_codeJustus Winter
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.
2013-08-29hurd: add proc_mark_importantJustus Winter
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.
2013-08-29Reserve RPC ID for proc_set_init_taskSamuel Thibault
* hurd/process.defs: Reserve RPC ID for proc_set_init_task. * hurd/process_reply.defs: Likewise. * hurd/process_request.defs: Likewise.
2013-08-29hurd: add missing routines in process_reply.defsJustus Winter
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.
2002-01-022002-01-01 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
2002-01-022002-01-01 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
2002-01-022002-01-01 Roland McGrath <roland@frob.com>Roland McGrath
* fsys_reply.defs: retcode -> RetCode * process_reply.defs: Likewise. * startup_reply.defs: Likewise.
2001-12-312001-12-31 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
1996-05-22(proc_wait_reply): Add SIGCODE argument.Miles Bader
1994-06-24entered into RCSRoland McGrath
1994-05-12Formerly process_reply.defs.~10~Roland McGrath
1994-05-09Formerly process_reply.defs.~9~Michael I. Bushnell
1994-03-23Formerly process_reply.defs.~8~Michael I. Bushnell
1994-03-21Formerly process_reply.defs.~7~Michael I. Bushnell
1994-02-24Formerly process_reply.defs.~6~Michael I. Bushnell
1994-02-23Formerly process_reply.defs.~5~Michael I. Bushnell
1993-10-28Formerly process_reply.defs.~4~Michael I. Bushnell
1991-10-23Formerly process_reply.defs.~3~Michael I. Bushnell
1991-07-11Formerly process_reply.defs.~2~Michael I. Bushnell
1991-07-11Initial revisionMichael I. Bushnell