summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1996-01-27(ports_create_port, ports_import_ports): New declarations.Miles Bader
(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.
1996-01-27(ports_inhibit_class_rpcs):Miles Bader
Be interruptable; return EINTR if interrupted, or EBUSY if already inhibited.
1996-01-27(ports_inhibit_bucket_rpcs):Miles Bader
Be interruptable; return EINTR if interrupted, or EBUSY if already inhibited.
1996-01-27(ports_inhibit_all_rpcs):Miles Bader
Be interruptable; return EINTR if interrupted, or EBUSY if already inhibited.
1996-01-27(ports_create_class): Initialize the uninhibitable_rpcs field.Miles Bader
1996-01-27(ports_inhibit_port_rpcs):Miles Bader
Be interruptable; return EINTR if interrupted, or EBUSY if already inhibited.
1996-01-27(ports_begin_rpc):Miles Bader
Be interruptable. Take new MSG_ID arg, and use it to see if the particular rpc shouldn't be inhibitable.
1996-01-27(ports_allocate_port): Call ports_create_port.Miles Bader
1996-01-27(fshelp_fetch_root):Miles Bader
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...).
1996-01-27(diskfs_set_readonly): Deal with ports_inhibit_class_rpcs returning an error.Miles Bader
1996-01-27(diskfs_remount): Deal with ports_inhibit_class_rpcs returning an error.Miles Bader
1996-01-27(diskfs_startup_diskfs): Use ports_create_port instead of ports_allocate_port.Miles Bader
1996-01-27(diskfs_shutdown): Deal with ports_inhibit_class_rpcs returning an error.Miles Bader
1996-01-27(diskfs_S_io_reauthenticate): Use new version of diskfs_start_protid.Miles Bader
1996-01-27(_diskfs_translator_callback2_fn): Use diskfs_create_protid instead ofMiles Bader
diskfs_make_protid, and deal with an error return.
1996-01-27(diskfs_S_dir_lookup): Use diskfs_create_protid instead ofMiles Bader
diskfs_make_protid, and deal with an error return.
1996-01-27Include <fcntl.h>.Miles Bader
1996-01-27(diskfs_S_file_getcontrol):Miles Bader
Use ports_create_port instead of ports_allocate_port.
1996-01-27(diskfs_set_sync_interval):Miles Bader
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.
1996-01-27(diskfs_start_protid): Return an error now, and use ports_create_port insteadMiles Bader
of ports_allocate_port. (diskfs_create_protid): New function. (diskfs_make_protid): Call diskfs_create_protid.
1996-01-27(diskfs_start_bootstrap, diskfs_S_exec_startup_get_info,Miles Bader
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.
1996-01-27(diskfs_S_fsys_getroot): Use diskfs_create_protid instead ofMiles Bader
diskfs_make_protid, and deal with an error return.
1996-01-27(diskfs_S_dir_mkfile): Use diskfs_create_protid instead ofMiles Bader
diskfs_make_protid, and deal with an error return.
1996-01-27(diskfs_S_file_invoke_translator): Use diskfs_create_protid instead ofMiles Bader
diskfs_make_protid, and deal with an error return.
1996-01-27(diskfs_S_file_exec): Use diskfs_create_protid instead ofMiles Bader
diskfs_make_protid, and deal with an error return.
1996-01-27(diskfs_start_protid): Update declaration.Miles Bader
(diskfs_create_protid): New declaration.
1996-01-27(diskfs_S_io_restrict_auth): Use diskfs_create_protid instead ofMiles Bader
diskfs_make_protid, and deal with an error return.
1996-01-27(diskfs_S_io_duplicate): Use diskfs_create_protid instead ofMiles Bader
diskfs_make_protid, and deal with an error return.
1996-01-27(trivfs_goaway):Miles Bader
Handle errors from ports_inhibit_class_rpcs. Allow rpcs to resume if we're going to return EBUSY.
1996-01-24Use prototypes for functions of zero args.Roland McGrath
1996-01-24(S_socket_connect): Handle connectionless protocols correctly.Miles Bader
(S_socket_send): Allow DEST_ADDR to be null if the socket is connected.
1996-01-24(sock_bind): Don't change SOCK's ref count if we're returning an error.Miles Bader
1996-01-23Marked as deletedMiles Bader
1996-01-23Initial revisionMiles Bader
1996-01-23Initial revisionMiles Bader
1996-01-23(main): Move a bunch of stuff into psout() in psout.c.Miles Bader
(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).
1996-01-23(options, main): Make -g/--goaway only apply to active translators.Miles Bader
(options): Rearrange a bit.
1996-01-23(startup_options): Put boot options in a separate group with a header.Miles Bader
1996-01-23(packet_fit): New function.Miles Bader
(packet_ensure, packet_ensure_efficiently): Use packet_fit().
1996-01-23(packet_read): If there's lots of empty space at the beginning of aMiles Bader
vm_alloced buffer, deallocate it.
1996-01-23(hol_entry_help):Miles Bader
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.
1996-01-23Pass the appropiate -R options to login, and -p.Miles Bader
Only print a preceeding newline if this is a retry.
1996-01-22(packet_realloc): Reflect in the new values of BUF_START & BUF_END that we'veMiles Bader
removed any empty space at the beginning of BUF.
1996-01-22entered into RCSRoland McGrath
1996-01-19(installhdrsubdir): New macro (put ps.h in <>, not <hurd/>).Miles Bader
1996-01-19(ps_context_create): Initialize USER_HOOKS field.Miles Bader
1996-01-19(ps_fmt_create):Miles Bader
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.
1996-01-19(summarize_thread_basic_info):Miles Bader
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.
1996-01-19(struct ps_user_hooks): New structure.Miles Bader
(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.
1996-01-19(trivfs_S_io_select):Miles Bader
Request interruption if the reply-port dies. Don't block if there's an error immediately available.