aboutsummaryrefslogtreecommitdiff
path: root/proc/proc.h
Commit message (Collapse)AuthorAgeFilesLines
* 2001-12-22 Roland McGrath <roland@frob.com>Roland McGrath2001-12-221-13/+2
| | | | | * proc.h (check_owner): Move this extern inline function ... * info.c (check_owner): ... to here, made static inline.
* 2001-08-04 Roland McGrath <roland@frob.com>Roland McGrath2001-08-041-1/+4
| | | | | | | | | | * proc.h (struct proc): New members p_rusage, p_child_rusage. * wait.c (rusage_add): New static function. (alert_parent): Use it to add dead child's p_rusage into parent's p_child_rusage. (S_proc_wait): Fill *RU out param with CHILD->p_rusage, not just zeros. Rewrote subfunction child_ready and its two callers into new subfunction reap to reduce duplicated code.
* 2000-04-03 Neal H Walfield <neal@cs.uml.edu>Roland McGrath2001-04-151-3/+2
| | | | | | | | | | | | | | | | * proc.h (struct ids): Drop gids and ngids, we never use them. Turn uids into a zero length array. * mgt.c (make_ids): Conform to new semantics. (ids_free): Removed. Rendered obsolete by ids_rele. (ids_rele): New function. Drop a reference to the given ids. (ids_ref): Add a reference to the given ids. (S_proc_reauthenticate): Use ids_rele and new make_ids semantics. (S_proc_child): Use ids_rele and ids_ref. (create_startup_proc): Conform to new make_ids semantics. (complete_proc): Use ids_ref. (process_has_exited): Use ids_rele.
* 2000-03-12 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-121-0/+1
| | | | | | | | | * mgt.c (allocate_proc): Don't do mach_port_request_notification here. (proc_death_notify): New function, do it here instead. (complete_proc): Call proc_death_notify. * main.c (main): Call proc_death_notify on STARTUP_PROC after we have set its task port. * proc.h: Declare proc_death_notify.
* 2000-01-06 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-01-071-2/+1
| | | | | * primes.c: File removed (long obsolete). * proc.h: Don't declare nextprime.
* 1999-07-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-111-1/+2
| | | | * proc.h: Add #include <sys/mman.h>.
* 1999-06-05 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-051-15/+17
| | | | | | | | | | | | * proc.h (struct proc): Use unsigned int for flag bitfields. * mgt.c (allocate_proc, complete_proc): New functions, broken out of new_proc. Remove magic handling of PIDs 0 and 1. (new_proc): Now just call those two. Made static. (create_startup_proc): New function, also broken out of old new_proc. Do special setup for PID 1 (init) proc structure here. * proc.h: Update decls. * main.c (main): Use create_startup_proc for startup_proc, and allocate_proc + complete_proc (with PID 0) for self_proc.
* 1999-05-01 Mark Kettenis <kettenis@gnu.org>Thomas Bushnell1999-05-041-0/+1
| | | | | | | | * msg.c (check_msgport_death): New function. (S_proc_getmsgport): Use it. * proc.h (check_msgport_death): Provide prototype. * info.c (S_proc_getprocinfo): Call check_msgport_death to make sure that our knowledge about P's message port is up to date.
* Tue Mar 9 13:11:43 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-03-091-2/+1
| | | | | | | | | | | | | | * notify.c (do_mach_notify_dead_name): Don't check against P->p_msgport anymore. * msg.c (message_port_dead): Delete function. (S_proc_setmsgport): Don't request a dead-name notification anymore. (S_proc_getmsgport): Check to see if P->p_msgport is dead before returning it. * mgt.c (S_proc_reassign): Only use mach_port_deallocate to release P->msgport. (process_has_exited): Likewise. * proc.h (message_port_dead): Delete prototype.
* Fri Oct 25 20:30:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1996-10-261-4/+0
| | | | | | | | | | | | | | | * host.c: Include <version.h>. Thu Oct 24 16:13:40 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * host.c (initialize_version_info): Construct UNAME_INFO.machine with a dash instead of a slash so that it can be used as a file name component. * host.c (initialize_version_info): Copy our version into element 0 of server_versions, not element 1. Use HURD_VERSION instead of OUR_VERSION. Use literal "proc" instead of OUR_SERVER_NAME. * proc.h (OUR_SERVER_NAME, OUR_VERSION): Delete macro.
* (check_owner): Return true any time PROC1 has root.Michael I. Bushnell1996-06-281-1/+1
|
* (check_owner): New inline function.Miles Bader1996-05-151-3/+12
|
* (struct proc): Add p_sigcode.Michael I. Bushnell1996-05-091-0/+1
|
* (OUR_VERSION): Upgrade to 0.0.Michael I. Bushnell1996-05-061-1/+1
|
* Many changes to support multi-threading. See ChangeLog.Michael I. Bushnell1996-04-251-14/+20
|
* (struct proc): New member `p_wakeup'. Delete member `p_continuation'.Michael I. Bushnell1996-03-201-17/+3
| | | | (global_lock): New variable.
* (struct exc): Removed useless members `replyport', `replyporttype'.Roland McGrath1996-02-091-11/+10
|
* Include <sys/resource.h>.Miles Bader1995-11-061-0/+1
|
* (struct zombie): New type.Michael I. Bushnell1995-10-311-0/+11
| | | | (zombie_list): New variable.
* (struct proc): Make `argv' and `envp' members `vm_address_t'.Roland McGrath1995-01-171-2/+2
|
* entered into RCSMichael I. Bushnell1994-08-301-0/+1
|
* Formerly proc.h.~6~Michael I. Bushnell1994-06-301-0/+5
|
* Formerly proc.h.~5~Michael I. Bushnell1994-05-091-0/+6
|
* Formerly proc.h.~4~Michael I. Bushnell1994-03-291-1/+0
|
* Formerly proc.h.~3~Michael I. Bushnell1994-03-241-3/+1
|
* Formerly proc.h.~2~Michael I. Bushnell1994-03-221-2/+20
|
* Initial revisionMichael I. Bushnell1994-03-221-0/+184