summaryrefslogtreecommitdiff
path: root/proc/proc.h
AgeCommit message (Collapse)Author
2001-12-222001-12-22 Roland McGrath <roland@frob.com>Roland McGrath
* proc.h (check_owner): Move this extern inline function ... * info.c (check_owner): ... to here, made static inline.
2001-08-042001-08-04 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
2001-04-152000-04-03 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* 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-122000-03-12 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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-072000-01-06 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* primes.c: File removed (long obsolete). * proc.h: Don't declare nextprime.
1999-07-111999-07-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* proc.h: Add #include <sys/mman.h>.
1999-06-051999-06-05 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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-041999-05-01 Mark Kettenis <kettenis@gnu.org>Thomas Bushnell
* 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.
1999-03-09Tue Mar 9 13:11:43 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* 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.
1996-10-26Fri Oct 25 20:30:22 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* 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.
1996-06-28(check_owner): Return true any time PROC1 has root.Michael I. Bushnell
1996-05-15(check_owner): New inline function.Miles Bader
1996-05-09(struct proc): Add p_sigcode.Michael I. Bushnell
1996-05-06(OUR_VERSION): Upgrade to 0.0.Michael I. Bushnell
1996-04-25 Many changes to support multi-threading. See ChangeLog.Michael I. Bushnell
1996-03-20(struct proc): New member `p_wakeup'. Delete member `p_continuation'.Michael I. Bushnell
(global_lock): New variable.
1996-02-09(struct exc): Removed useless members `replyport', `replyporttype'.Roland McGrath
1995-11-06Include <sys/resource.h>.Miles Bader
1995-10-31(struct zombie): New type.Michael I. Bushnell
(zombie_list): New variable.
1995-01-17(struct proc): Make `argv' and `envp' members `vm_address_t'.Roland McGrath
1994-08-30entered into RCSMichael I. Bushnell
1994-06-30Formerly proc.h.~6~Michael I. Bushnell
1994-05-09Formerly proc.h.~5~Michael I. Bushnell
1994-03-29Formerly proc.h.~4~Michael I. Bushnell
1994-03-24Formerly proc.h.~3~Michael I. Bushnell
1994-03-22Formerly proc.h.~2~Michael I. Bushnell
1994-03-22Initial revisionMichael I. Bushnell