Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 1999-06-05 Roland McGrath <roland@baalperazim.frob.com> | Roland McGrath | 1999-06-05 | 1 | -1/+0 |
| | | | | | * mgt.c (create_startup_proc): Don't call add_proc_to_hash here. * main.c (main): Do it here instead, after we have the task port. | ||||
* | 1999-06-05 Roland McGrath <roland@baalperazim.frob.com> | Roland McGrath | 1999-06-05 | 1 | -97/+97 |
| | | | | | | | | | | | | * 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. * mgt.c (make_ids): Add const to arguments. | ||||
* | 1999-05-29 Roland McGrath <roland@baalperazim.frob.com> | Roland McGrath | 1999-05-30 | 1 | -1/+7 |
| | | | | | * mgt.c (add_tasks): Skip invalid (null) rights in tasks array. * info.c (S_proc_pid2task): Add assert for p_task right validity. | ||||
* | 1999-03-14 Roland McGrath <roland@baalperazim.frob.com> | Roland McGrath | 1999-03-14 | 1 | -1/+0 |
| | | | | * mgt.c (S_proc_reassign): Remove unused variable FOO. | ||||
* | 1999-03-11 Mark Kettenis <kettenis@gnu.org> | Thomas Bushnell | 1999-03-12 | 1 | -1/+1 |
| | | | | | | | | | | | | * notify.c (do_mach_notify_dead_name): Remove unnecessary braces. * msg.c (S_proc_setmsgport): Remove unused variable FOO. (S_proc_getmsgport): Only check if the message port is still alive if it is not MACH_PORT_NULL. Use mach_port_type instead of mach_port_get_refs to check if the port is dead. * mgt.c (S_proc_reassign): Use mach_port_destroy to release the old task port. | ||||
* | Tue Mar 9 13:11:43 1999 Thomas Bushnell, BSG <tb@mit.edu> | Thomas Bushnell | 1999-03-09 | 1 | -2/+2 |
| | | | | | | | | | | | | | | * 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. | ||||
* | Tue Mar 9 13:11:43 1999 Thomas Bushnell, BSG <tb@mit.edu> | Thomas Bushnell | 1999-03-09 | 1 | -9/+1 |
| | | | | | | | | | | * mgt.c (S_proc_reassign): It's not necessary to re-request the task-death notification; we've moved both the task right and the proc port that gets the notification, so delete that. * mgt.c (S_proc_reassign): Use mach_port_destroy instead of mach_port_deallocate to release P->p_msgport, for the same reasons as the changes below. | ||||
* | Sun Mar 7 18:19:07 1999 Thomas Bushnell, BSG <tb@mit.edu> | Thomas Bushnell | 1999-03-07 | 1 | -3/+3 |
| | | | | | | | | | | | * mgt.c (process_has_exited): Use mach_port_destroy instead of mach_port_deallocate to release P->p_msgport. (complete_exit): Likewise for P->p_task. These changes eliminate a race; we are destroying the receiver of the dead-name notifications on these ports, but if that means we lose a notification, then the ref-count on the name will get incremented and we can't re-decrement it since we never hear the notification. | ||||
* | *** empty log message *** | Michael I. Bushnell | 1996-07-18 | 1 | -1/+5 |
| | |||||
* | *** empty log message *** | Michael I. Bushnell | 1996-07-18 | 1 | -0/+1 |
| | |||||
* | Thu Jul 18 04:15:49 1996 Roland McGrath <roland@baalperazim.frob.com> | Roland McGrath | 1996-07-18 | 1 | -10/+10 |
| | | | | | * mgt.c (add_tasks): Fix vm_deallocate call to use mach_task_self () instead of mach_host_self (). | ||||
* | (S_proc_reauthenticate): Don't use unsafe MOVE_SEND in user-side | Michael I. Bushnell | 1996-07-08 | 1 | -1/+2 |
| | | | | interruptible RPC. | ||||
* | (process_has_exited): When reparenting children to init, if one of | Michael I. Bushnell | 1996-07-03 | 1 | -0/+6 |
| | | | | them is dead, alert init. | ||||
* | (process_has_exited): Don't call alert_parent if P->p_task is null | Michael I. Bushnell | 1996-05-24 | 1 | -1/+2 |
| | | | | | (which happens only if this is the stub process in proc_reassign). This because the parent is uninvolved in the death of stubp. | ||||
* | (S_proc_exception_raise): Fetch sigcode from correctly named member of | Michael I. Bushnell | 1996-05-10 | 1 | -1/+1 |
| | | | | HSD. | ||||
* | (S_proc_reauthenticate): Use new authentication interface. | Michael I. Bushnell | 1996-05-09 | 1 | -11/+20 |
| | | | | | | (S_proc_setowner): Expect and interpret new CLEAR parm. (S_proc_exception_raise): Set P->p_sigcode; use new _hurd_exception2signal args. | ||||
* | (process_has_exited): Clear p->p_waited. | Michael I. Bushnell | 1996-04-15 | 1 | -0/+1 |
| | |||||
* | (S_proc_reassign): Use new ports_transfer_right call instead of | Michael I. Bushnell | 1996-03-29 | 1 | -6/+41 |
| | | | | | claim/install sequence; the latter has leaves the port out of any hash table for a time, which produces a race with incoming messages. | ||||
* | (new_proc): Oops, reinstall code to request dead name notification on | Michael I. Bushnell | 1996-03-21 | 1 | -0/+9 |
| | | | | the task port. | ||||
* | (complete_exit): Leave pgrp here. | Michael I. Bushnell | 1996-03-20 | 1 | -55/+57 |
| | | | | (process_has_exited): Not here. | ||||
* | (new_proc): Initialize P->p_wakeup. | Michael I. Bushnell | 1996-03-20 | 1 | -0/+2 |
| | |||||
* | (S_proc_exception_raise): Rewritten. | Roland McGrath | 1996-02-09 | 1 | -76/+97 |
| | | | | | (S_proc_handle_exceptions): Don't set E->replyport. (S_proc_exception_raise_reply): Function removed. | ||||
* | (S_proc_reassign): | Miles Bader | 1995-12-20 | 1 | -5/+7 |
| | | | | | | Have notifications sent to the correct request port. Once we've given STUBP's request port to P, don't leave it in STUBP, so process_has_exited() doesn't dealloc it. | ||||
* | (new_proc): Don't set P->p_noowner for processes 0 and 1. | Michael I. Bushnell | 1995-12-20 | 1 | -1/+3 |
| | |||||
* | (S_proc_reauthenticate): Reverse miles' last chonge. | Michael I. Bushnell | 1995-12-19 | 1 | -1/+1 |
| | |||||
* | (S_proc_reauthenticate): Don't return 0 for the new port. | Miles Bader | 1995-12-19 | 1 | -1/+1 |
| | |||||
* | (S_proc_dostop): Remove assigments from inside if tests. | Michael I. Bushnell | 1995-06-27 | 1 | -3/+6 |
| | |||||
* | More of same. | Roland McGrath | 1995-01-19 | 1 | -4/+6 |
| | |||||
* | (S_proc_child): Use nowait_msg_proc_newids instead of nowait_proc_newids. | Roland McGrath | 1995-01-19 | 1 | -4/+4 |
| | |||||
* | (check_uid): Return true if P has root. | Roland McGrath | 1995-01-17 | 1 | -3/+3 |
| | |||||
* | entered into RCS | Michael I. Bushnell | 1994-11-03 | 1 | -1/+1 |
| | |||||
* | Formerly mgt.c.~22~ | Roland McGrath | 1994-10-14 | 1 | -0/+1 |
| | |||||
* | Formerly mgt.c.~21~ | Roland McGrath | 1994-10-14 | 1 | -6/+22 |
| | |||||
* | Formerly mgt.c.~20~ | Roland McGrath | 1994-09-10 | 1 | -6/+6 |
| | |||||
* | Formerly mgt.c.~19~ | Michael I. Bushnell | 1994-08-31 | 1 | -5/+5 |
| | |||||
* | Formerly mgt.c.~18~ | Michael I. Bushnell | 1994-08-29 | 1 | -2/+3 |
| | |||||
* | Formerly mgt.c.~17~ | Michael I. Bushnell | 1994-08-19 | 1 | -3/+4 |
| | |||||
* | Formerly mgt.c.~16~ | Michael I. Bushnell | 1994-08-18 | 1 | -1/+1 |
| | |||||
* | Formerly mgt.c.~15~ | Michael I. Bushnell | 1994-07-22 | 1 | -4/+4 |
| | |||||
* | Formerly mgt.c.~14~ | Michael I. Bushnell | 1994-06-30 | 1 | -3/+6 |
| | |||||
* | Formerly mgt.c.~13~ | Roland McGrath | 1994-06-30 | 1 | -15/+21 |
| | |||||
* | Formerly mgt.c.~12~ | Roland McGrath | 1994-06-24 | 1 | -4/+15 |
| | |||||
* | Formerly mgt.c.~11~ | Michael I. Bushnell | 1994-06-17 | 1 | -7/+0 |
| | |||||
* | Formerly mgt.c.~10~ | Roland McGrath | 1994-06-11 | 1 | -1/+8 |
| | |||||
* | Formerly mgt.c.~8~ | Michael I. Bushnell | 1994-05-09 | 1 | -1/+1 |
| | |||||
* | Formerly mgt.c.~7~ | Michael I. Bushnell | 1994-05-06 | 1 | -12/+11 |
| | |||||
* | Formerly mgt.c.~6~ | Michael I. Bushnell | 1994-04-21 | 1 | -3/+14 |
| | |||||
* | Formerly mgt.c.~5~ | Michael I. Bushnell | 1994-04-07 | 1 | -8/+11 |
| | |||||
* | Formerly mgt.c.~4~ | Michael I. Bushnell | 1994-04-07 | 1 | -5/+21 |
| | |||||
* | Formerly mgt.c.~3~ | Michael I. Bushnell | 1994-04-06 | 1 | -2/+7 |
| |