Age | Commit message (Collapse) | Author |
|
* 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.
|
|
* 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.
|
|
* primes.c: File removed (long obsolete).
* proc.h: Don't declare nextprime.
|
|
* proc.h: Add #include <sys/mman.h>.
|
|
* 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.
|
|
* 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): 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.
|
|
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
(global_lock): New variable.
|
|
|
|
|
|
(zombie_list): New variable.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|