summaryrefslogtreecommitdiff
path: root/proc/info.c
AgeCommit message (Collapse)Author
2000-01-242000-01-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* info.c (get_string): New arg, pass back length of string. (get_string_array): Use it, rather than repeating strlen. When increasing NEWSIZE to fit, round it to page size. Diddle a few casts to be prettier.
1999-07-111999-07-09 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* 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.
1999-07-111999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* info.c: Add #include <sys/mman.h> for munmap decl. * mgt.c: Likewise.
1999-07-031999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* 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.
1999-05-301999-05-29 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* mgt.c (add_tasks): Skip invalid (null) rights in tasks array. * info.c (S_proc_pid2task): Add assert for p_task right validity.
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.
1996-07-29(get_string_array):Miles Bader
Correctly adjust NEWSIZE when reallocating to add very long strings.
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-15(S_proc_pid2task, S_proc_pid2proc): Use check_owner.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-09(S_proc_getprocinfo): FLAGS is now an in-out parameter.Michael I. Bushnell
1996-05-01(S_proc_getprocinfo):Miles Bader
Release GLOBAL_LOCK around time consuming bits, and more importantly, potential calls to P's msgport, which can block. Fix test when appending to WAITS.
1996-04-29(S_proc_getprocinfo): Install temporary hack so things at leastMichael I. Bushnell
compile.
1996-04-29*** empty log message ***Michael I. Bushnell
1996-04-25 Many changes to support multi-threading. See ChangeLog.Michael I. Bushnell
1996-02-14Add some more #ifdef'd-out code to return wait strings.Miles Bader
1995-12-20(get_vector): Rewritten without arbitrary limits.Roland McGrath
1995-12-19(get_string_array): Fix stupid bug in copying to newly allocated space.Roland McGrath
1995-11-08(S_proc_getprocinfo): Inhibit PI_FETCH_THREAD_WAITS differently.Michael I. Bushnell
1995-11-08(S_proc_getprocinfo): Don't attempt msg_report_wait if P->p_msgport isMichael I. Bushnell
not valid.
1995-11-08(S_proc_getprocinfo): Inhibit PI_FETCH_THREAD_WAITS for now.Michael I. Bushnell
1995-11-08(S_proc_getprocinfo): Calculate the size of the returned structure correctly.Miles Bader
1995-11-06(S_proc_getprocinfo):Miles Bader
Add NOISE and NOISE_LEN args. Fix various typos. Initialize ERR.
1995-10-31(S_proc_getprocinfo): Implement all the rest of the PI flags exceptMichael I. Bushnell
PI_ZOMBIE.
1995-10-30(S_proc_getprocinfo): Support new FETCH flags; support newMichael I. Bushnell
msg_report_wait call; improve organization.
1995-10-30(S_proc_getprocenv): Removed #ifdef notyet; fixed args toMichael I. Bushnell
get_string_array.
1995-04-06(S_proc_getprocinfo): New var `tp'. Bother to setMichael I. Bushnell
PI->logincollection.
1994-11-03entered into RCSMichael I. Bushnell
1994-10-24Formerly info.c.~9~Roland McGrath
1994-08-22Formerly info.c.~8~Michael I. Bushnell
1994-07-22Formerly info.c.~7~Michael I. Bushnell
1994-05-13Formerly info.c.~6~Michael I. Bushnell
1994-05-12Formerly info.c.~5~Michael I. Bushnell
1994-05-12Formerly info.c.~4~Roland McGrath
1994-05-06Formerly info.c.~3~Michael I. Bushnell
1994-03-22Formerly info.c.~2~Michael I. Bushnell
1994-03-22Initial revisionMichael I. Bushnell