summaryrefslogtreecommitdiff
path: root/proc
AgeCommit message (Collapse)Author
1999-03-14.Roland McGrath
1999-03-141999-03-14 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* mgt.c (S_proc_reassign): Remove unused variable FOO.
1999-03-121999-03-11 Mark Kettenis <kettenis@gnu.org>Thomas Bushnell
* 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.
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.
1999-03-09Tue Mar 9 13:11:43 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* 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.
1999-03-07Sun Mar 7 18:19:07 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* 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.
1999-03-061999-03-06 Mark Kettenis <kettenis@gnu.org>Thomas Bushnell
* notify.c (do_mach_notify_dead_name): Deallocate reference to DEADPORT.
1999-02-21Sat Feb 20 06:26:17 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* stubs.c (send_signal): Typo in comment.
1998-07-20.Roland McGrath
1998-07-201998-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* cpu-types.c: Test with #ifdef for CPU_TYPE_I486, CPU_TYPE_PENTIUM, CPU_TYPE_PENTIUMPRO, CPU_TYPE_POWERPC, since not all <mach/machine.h> versions have them.
1997-09-16Tue Sep 16 15:26:04 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* host.c (hostid, hostname, hostnamelen): Delete variables. (S_proc_sethostid, S_proc_gethostid, S_proc_sethostname, S_proc_gethostname): Delete functions.
1997-08-20Wed Aug 20 14:06:46 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* main.c (main): New args for ports_manage_port_operations_multithread.
1997-06-30Thu Jun 26 14:03:16 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* cpu-types.c (mach_cpu_types): Add entries for 486, 586, 686, and powerpc. (mach_cpu_subtypes): Add subtypes for new x86 subtypes. (None added for powerpc yet.)
1997-06-30.Miles Bader
1997-06-30(main):Miles Bader
Arg parsing added. HOLD variable removed. (argp_program_version): New variable. Include <argp.h> and <version.h>.
1997-02-04.Miles Bader
1997-02-04(pid_find, task_find, task_find_nocreate, reqport_find):Miles Bader
Don't dereference P if it's 0.
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-09-17*** empty log message ***Thomas Bushnell
1996-09-05*** empty log message ***Thomas Bushnell
1996-07-29.Miles Bader
1996-07-29(get_string_array):Miles Bader
Correctly adjust NEWSIZE when reallocating to add very long strings.
1996-07-20.Miles Bader
1996-07-20(S_proc_getmsgport): Deal with PID dying while we're waiting.Miles Bader
1996-07-19*** empty log message ***Michael I. Bushnell
1996-07-18*** empty log message ***Michael I. Bushnell
1996-07-18*** empty log message ***Michael I. Bushnell
1996-07-18*** empty log message ***Michael I. Bushnell
1996-07-18.Roland McGrath
1996-07-18Thu Jul 18 04:15:49 1996 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* mgt.c (add_tasks): Fix vm_deallocate call to use mach_task_self () instead of mach_host_self ().
1996-07-17Initial revisionRoland McGrath
1996-07-16(EWOULDBLOCK): Define to work around new libc bug.Michael I. Bushnell
1996-07-08(S_proc_reauthenticate): Don't use unsafe MOVE_SEND in user-sideMichael I. Bushnell
interruptible RPC.
1996-07-03(process_has_exited): When reparenting children to init, if one ofMichael I. Bushnell
them is dead, alert init.
1996-06-28(check_owner): Return true any time PROC1 has root.Michael I. Bushnell
1996-06-20(S_proc_setmsgport): Add OLDMSGPORT_TYPE param.Miles Bader
1996-05-30(S_proc_getsidport): MAKE_SEND_ONCE -> MAKE_SEND.Michael I. Bushnell
1996-05-29(S_proc_getprocinfo): Get rid of temp hack for strnlen.Miles Bader
1996-05-24(S_proc_getprocinfo): Set PI->exitstatus and PI->sigcode.Michael I. Bushnell
1996-05-24(process_has_exited): Don't call alert_parent if P->p_task is nullMichael I. Bushnell
(which happens only if this is the stub process in proc_reassign). This because the parent is uninvolved in the death of stubp.
1996-05-23(send_signal): Send sigcode in message.Miles Bader
1996-05-15(S_proc_pid2task, S_proc_pid2proc): Use check_owner.Miles Bader
1996-05-15(check_owner): New inline function.Miles Bader
1996-05-12(PI_FETCH_THREAD_DETAILS): New macro.Miles Bader
(S_proc_getprocinfo): Only allocate thread detail storage if we're actually returning thread details (a lone PI_FETCH_THREADS simply means "number of threads"). React to errors somewhat more gracefully.
1996-05-12(S_proc_getprocinfo): Add comment.Miles Bader
1996-05-10(S_proc_get_tty): New function.Miles Bader
1996-05-10(S_proc_exception_raise): Fetch sigcode from correctly named member ofMichael I. Bushnell
HSD.
1996-05-09(S_proc_reauthenticate): Use new authentication interface.Michael I. Bushnell
(S_proc_setowner): Expect and interpret new CLEAR parm. (S_proc_exception_raise): Set P->p_sigcode; use new _hurd_exception2signal args.
1996-05-09(S_proc_getprocinfo): FLAGS is now an in-out parameter.Michael I. Bushnell
1996-05-09(S_proc_wait): New parm SIGCODE; return p_sigcode in it.Michael I. Bushnell
(S_proc_mark_stop): New parm SIGCODE; record it. (S_proc_mark_exit): Likewise. (alert_parent): Set P->p_sigcode if process is dying irregularly.