Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
ps_get_cur_priority):
Get this info using PSTAT_THREAD_BASIC instead of PSTAT_THREAD_SCHED.
|
|
Initialize the proc_info and proc_info_size fields if they've never been set.
Always update proc_getprocinfo fields, even if we already had them.
(add_preconditions): Correct preconditions for PSTAT_STATE.
(PSTAT_TEST_MSGPORT): Renamed from SHOULD_SUPPRESS_MSGPORT_FLAGS.
(PSTAT_USES_MSGPORT): New macro.
(SUPPRESS_MSGPORT_FLAGS): Use PSTAT_USES_MSGPORT, not PSTAT_MSGPORT.
(proc_stat_set_flags): Use PSTAT_TEST_MSGPORT.
(merge_procinfo): Only copy old task info if we actually had it.
(proc_stat_set_flags): Don't unnecessarily grab procinfo stuff.
(summarize_thread_basic_info): Summarize available priority info too.
(summarize_thread_sched_info): Do max_ & depress_priority too.
|
|
Don't pass the address of reply.realnodeType.msgt_name -- it's not really an
int, although the compiler pretends it is.
|
|
When PORT_TYPE is MACH_MSG_TYPE_MAKE_SEND, make the right *before* using it.
Don't bother reauthenticating the underlying node returned by CALLBACK2 --
it already has the right ids. This also gets rid of a problem with giving
away our auth port prematurely.
|
|
(FSSRCS): Add file-get-fs-opts.c.
|
|
Add flags, noise, & noise_len params to proc_getprocinfo.
Deallocate NOISE if necessary.
(S_msg_report_wait): New function.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Use the new FLAGS argument to file_get_storage_info. Add new storage types.
|
|
Change to use the new wierd callback interface to fshelp_start_translator.
|
|
(doc): `filesystem' --> `FILESYS'.
|
|
|
|
|
|
|
|
|
|
Add NOISE and NOISE_LEN args. Fix various typos. Initialize ERR.
|
|
|
|
|
|
|
|
|
|
(main): Add flags argument to fsys_startup call.
(S_fsys_startup): Add FLAGS arg.
|
|
|
|
UNDERLYING_TYPE should be a pointer.
As should the UIDS & GIDS args to diskfs_make_protid.
|
|
(short_circuited_callback1): Dereference ARGZ & ARGZ_LEN.
Include <hurd/paths.h>
|
|
|
|
(diskfs_set_sync_interval): Set DISKFS_SYNC_INTERVAL.
|
|
|
|
|
|
|
|
anymore (but do require PSTAT_{TASK,THREAD}_BASIC).
(proc_stat_state_tags): Update to reflect new flags.
(proc_stat_set_flags): Set new flags.
(PSTAT_PROCINFO, PSTAT_PROCINFO_THREAD): New macros.
(fetch_procinfo, merge_procinfo): New functions.
(SHOULD_SUPPRESS_MSGPORT_FLAGS): Change to use more accurate flags.
(should_suppress_msgport): Use new fields.
(summarize_thread_basic_info, summarize_thread_sched_info,
summarize_thread_states, summarize_thread_rpcs, count_threads): New funcs.
(proc_stat_set_flags): Support the new division of PSTAT_INFO into individual
flags, and support getting thread information by using the thread's origin
proc_stat.
(_proc_stat_free):
Free the thread_basic_info and thread_sched_info fields if necessary.
(proc_stat_thread_create): Don't require that the source process have thread
information around; it will be fetched later if necessary.
|
|
(ps_own_p): Use proc_stat_proc_info, not proc_stat_info.
|
|
(ps_get_rpc): New function.
(ps_std_fmt_specs): Add "RPC" entry.
(ps_emit_nz_int): New function.
(ps_ppid_getter, ps_pgrp_getter, ps_session_getter, ps_login_col_getter):
Use PSTAT_PROC_INFO, not PSTAT_INFO.
(ps_get_ppid, ps_get_pgrp, ps_get_session, ps_get_login_col):
Use proc_stat_proc_info, not proc_stat_info.
(ps_vsize_getter, ps_rsize_getter, ps_rmem_frac_getter,
ps_proc_susp_count_getter): Use PSTAT_TASK_BASIC, not PSTAT_INFO.
(ps_get_vsize, ps_get_rsize, ps_get_rmem_frac, ps_get_proc_susp_count):
Use proc_stat_task_basic_info, not proc_stat_info.
(ps_cur_priority_getter, ps_base_priority_getter, ps_max_priority_getter):
Use PSTAT_THREAD_SCHED, not PSTAT_THREAD_INFO.
(ps_usr_time_getter, ps_sys_time_getter, ps_tot_time_getter,
ps_cpu_frac_getter, ps_sleep_getter):
Use PSTAT_THREAD_BASIC, not PSTAT_THREAD_INFO.
|
|
(proc_stat_num_threads): Use the num_threads field.
(proc_stat_thread_sched_info, proc_stat_thread_basic_info):
Don't take the address, now that the fields used are pointers themselves.
(proc_stat_thread_rpc, proc_stat_task_basic_info): New macros.
(proc_stat_proc_info): Renamed from proc_stat_info.
(PSTAT_PROC_INFO): Renamed from PSTAT_INFO.
(PSTAT_TASK_BASIC, PSTAT_THREAD_BASIC, PSTAT_THREAD_SCHED, PSTAT_THREAD_RPC):
New macros.
(struct proc_stat):
info & info_len --> proc_info & proc_info_len.
Add the num_threads, task_basic_info, and thread_rpc fields.
thread_basic_info & thread_sched_info are now pointers.
|
|
(id_t, struct ids): New type.
(make_ids, ids_add, ids_contains): New functions.
(main): Use a struct ids instead of multiple variables to hold the wanted
uids list, which renamed to ONLY_UIDS. Add the NOT_UIDS list to contain
the opposite sense, and use it.
(main): Use proc_stat_proc_info instead of proc_stat_info and PSTAT_PROC_INFO
instead of PSTAT_INFO.
|
|
(fshelp_start_translator, fshelp_start_translator_long):
Now take a function that opens the underlying node instead of the node
itself.
(fshelp_fetch_root_callback1_t, fshelp_fetch_root_callback2_t):
New types replacing fshelp_callback_t.
(fshelp_fetch_root): Takes two callback args now.
|
|
Change to use a callback function instead of passing the actual node.
|
|
Change to use a callback function instead of passing the actual node.
(service_fsys_startup): Support the open flags coming from the translator.
(struct fsys_startup_request): Add the flags field.
(flagsCheck): New variable.
|