Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
* mgt.c (S_proc_dostop): If task_threads fails, resume the
suspended task.
|
|
|
|
|
|
|
|
|
|
|
|
* mgt.c (genpid): Before checking if NEXTPID is free, check if it
is greater than WRAP, and if yes, start over.
|
|
* host.c (S_proc_getexecdata): New variable PORTS_ALLOCATED.
Set it if we allocated a new buffer for PORTS. If it is set,
and allocation of a new buffer for INTS fails, unmap the buffer
for PORTS.
* host.c (S_proc_getexecdata): New variable I. Go over all
standard ports and increase the send right user reference by one.
Set *PORTSPOLY to MACH_MSG_TYPE_MOVE_SEND.
|
|
* info.c (S_proc_getprocinfo): If we return because mmap failed
for *PIARRAY, be sure to munmap THDS if necessary.
|
|
* host.c (initialize_version_info): Clear last byte of KV to make
sure that the string is null-terminated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* info.c (get_string_array): Use mmap instead of vm_allocate.
(S_proc_getprocinfo): Likewise.
(S_proc_getloginpids): Likewise.
* mgt.c (S_proc_getallpids): Likewise.
* pgrp.c (S_proc_getsessionpids): Likewise.
(S_proc_getsessionpgids): Likewise.
(S_proc_getpgrppids): Likewise.
|
|
|
|
* info.c (get_string): Use munmap instead of vm_deallocate.
(get_vector): Likewise.
(get_string_array): Likewise.
(S_proc_getprocinfo): Likewise.
* mgt.c (S_proc_reauthenticate): Likewise.
(S_proc_dostop): Likewise.
(add_tasks): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
|
|
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* notify.c (do_mach_notify_dead_name): Deallocate reference to
DEADPORT.
|
|
* stubs.c (send_signal): Typo in comment.
|
|
|
|
* host.c (hostid, hostname, hostnamelen): Delete variables.
(S_proc_sethostid, S_proc_gethostid, S_proc_sethostname,
S_proc_gethostname): Delete functions.
|
|
* main.c (main): New args for
ports_manage_port_operations_multithread.
|
|
* 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.)
|
|
|
|
|
|
* 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.
|
|
|
|
|
|
|