Age | Commit message (Collapse) | Author |
|
(struct ports_msg_id_range): New structure.
(ports_default_uninhibitable_rpcs): New declaration.
(ports_interupt_rpcs): Renamed from port_interrupt_rpc.
(ports_begin_rpc): Add MSG_ID arg.
(struct port_class):
Add uninhibitable_rpcs field.
Fix spelling of cancel_threshold (was cancel_threshhold).
(PORTS_INHIBITED, PORTS_BLOCKED, PORTS_INHIBIT_WAIT, PORTS_NO_ALLOC,
PORTS_ALLOC_WAIT):
New macros (global values for common flags).
(PORT_BLOCKED, PORT_INHIBITED, PORT_INHIBIT_WAIT, PORT_BUCKET_INHIBITED,
PORT_BUCKET_BLOCKED, PORT_BUCKET_INHIBIT_WAIT, PORT_BUCKET_NO_ALLOC,
PORT_BUCKET_ALLOC_WAIT, PORT_CLASS_INHIBITED, PORT_CLASS_BLOCKED,
PORT_CLASS_INHIBIT_WAIT, PORT_CLASS_NO_ALLOC, PORT_CLASS_ALLOC_WAIT,
_PORTS_INHIBITED, _PORTS_BLOCKED, _PORTS_INHIBIT_WAIT):
Redefine using global flag values.
(ports_inhibit_port_rpcs, ports_inhibit_all_rpcs,
ports_inhibit_class_rpcs, ports_inhibit_bucket_rpcs):
Return error_t.
|
|
Be interruptable; return EINTR if interrupted, or EBUSY if already inhibited.
|
|
Be interruptable; return EINTR if interrupted, or EBUSY if already inhibited.
|
|
Be interruptable; return EINTR if interrupted, or EBUSY if already inhibited.
|
|
|
|
Be interruptable; return EINTR if interrupted, or EBUSY if already inhibited.
|
|
Be interruptable.
Take new MSG_ID arg, and use it to see if the particular rpc shouldn't be
inhibitable.
|
|
|
|
If io_reauthenticate returns an error, just return MACH_PORT_NULL instead
of aborting (the server probably died; not a good sign for the health of
the translator, but it's better than dying ourselves...).
|
|
|
|
|
|
|
|
|
|
|
|
diskfs_make_protid, and deal with an error return.
|
|
diskfs_make_protid, and deal with an error return.
|
|
|
|
Use ports_create_port instead of ports_allocate_port.
|
|
Use ports_create_port instead of ports_allocate_port.
Deal with ports_inhibit_class_rpcs returning an error.
(periodic_sync):
Pass in the MSG_ID arg to ports_begin_rpc, and deal with any error returned.
|
|
of ports_allocate_port.
(diskfs_create_protid): New function.
(diskfs_make_protid): Call diskfs_create_protid.
|
|
diskfs_execboot_fsys_startup, diskfs_S_fsys_init):
Use diskfs_create_protid instead of diskfs_make_protid, and deal with an
error return.
(start_execserver, diskfs_start_bootstrap):
Use ports_create_port instead of ports_allocate_port.
|
|
diskfs_make_protid, and deal with an error return.
|
|
diskfs_make_protid, and deal with an error return.
|
|
diskfs_make_protid, and deal with an error return.
|
|
diskfs_make_protid, and deal with an error return.
|
|
(diskfs_create_protid): New declaration.
|
|
diskfs_make_protid, and deal with an error return.
|
|
diskfs_make_protid, and deal with an error return.
|
|
Handle errors from ports_inhibit_class_rpcs.
Allow rpcs to resume if we're going to return EBUSY.
|
|
|
|
(S_socket_send): Allow DEST_ADDR to be null if the socket is connected.
|
|
|
|
|
|
|
|
|
|
(spec_abbrevs, ps_specs): New variables.
(fmts): Get rid of redundant header specifications.
(fmt_sortrevs): Variable removed.
(main, options): Rename -o flag to -U for posix compat (ick).
|
|
(options): Rearrange a bit.
|
|
|
|
(packet_ensure, packet_ensure_efficiently): Use packet_fit().
|
|
vm_alloced buffer, deallocate it.
|
|
Correctly print group headers, and precede them with a blank line.
(struct hol_entry, make_hol, hol_sort, hol_set_group):
Rename the `set_class' field to be `group'.
(hol_help, hol_entry_help):
After a group header has been printed, separate subsequent groups with a
blank line.
(hol_set_group): Renamed from hol_set_sort_class.
(argp_help): Use hol_set_group instead of hol_set_sort_class.
|
|
Only print a preceeding newline if this is a retry.
|
|
removed any empty space at the beginning of BUF.
|
|
|
|
|
|
|
|
Use the new spec fields.
Now takes a ps_fmt_specs_t instead of an array of specs.
Also fixup call to ps_fmt_specs_find().
(ps_fmt_write_proc_stat): Support new inval field in FMT.
(ps_fmt_set_output_width): New function.
|
|
If there are any running threads, then only average priority from them.
(_proc_stat_free): Call user cleanup hook.
(proc_stat_set_flags, add_preconditions): Deal with user bits.
(proc_stat_set_flags): Support the failed field.
(_proc_stat_create): Initialize the failed and hook fields.
|
|
(PSTAT_HOOK, PSTAT_USER_BASE, PSTAT_USER_MASK): New macros.
(struct ps_context): Add USER_HOOKS field.
(struct ps_fmt_spec): Add TITLE field. Renamed DEFAULT_WIDTH field to WIDTH,
and move to after TITLE.
(ps_fmt_spec_width): Renamed from ps_fmt_spec_default_width().
(ps_fmt_spec_title): New macro.
(struct ps_fmt): Add INVAL field.
(ps_fmt_inval): New macro.
(ps_fmt_specs_t): New typedef.
(struct ps_fmt_specs): New structure.
(ps_std_fmt_specs): Now of type struct ps_fmt_specs.
(ps_fmt_specs_find): Renamed from find_ps_fmt_spec; now uses a struct
ps_fmt_specs instead of an array of specs.
(ps_fmt_create): Now takes a ps_fmt_specs_t structure instead of an array of
specs.
(struct proc_stat): Add failed and hook fields.
|
|
Request interruption if the reply-port dies.
Don't block if there's an error immediately available.
|