aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* (ports_S_interrupt_operation):Miles Bader1996-01-271-4/+4
| | | | | Use ports_interrupt_rpcs instead of ports_interrupt_rpc. Fix spelling of cancel_threshold (was cancel_threshhold).
* (SRCS):Miles Bader1996-01-271-3/+3
| | | | | Add default-uninhibitable-rpcs.c. Rename interrupt-rpc.c to interrupt-rpcs.c.
* (ports_reallocate_from_external):Miles Bader1996-01-271-2/+2
| | | | Fix spelling of cancel_threshold (was cancel_threshhold).
* (ports_reallocate_port):Miles Bader1996-01-271-2/+2
| | | | Fix spelling of cancel_threshold (was cancel_threshhold).
* (ports_no_senders): Use ports_interrupt_rpcs instead of ports_interrupt_rpc.Miles Bader1996-01-271-2/+2
|
* (ports_manage_port_operations_one_thread):Miles Bader1996-01-271-5/+3
| | | | Pass INP->msgh_id to ports_begin_rpc, and only call DEMUXER if it returns 0.
* (ports_manage_port_operations_multithread):Miles Bader1996-01-271-8/+15
| | | | Pass INP->msgh_id to ports_begin_rpc, and only call DEMUXER if it returns 0.
* (ports_intern_external_port): Call ports_import_port.Miles Bader1996-01-271-71/+6
|
* (ports_create_port, ports_import_ports): New declarations.Miles Bader1996-01-271-29/+60
| | | | | | | | | | | | | | | | | | | | | | (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.
* (ports_inhibit_class_rpcs):Miles Bader1996-01-271-19/+31
| | | | Be interruptable; return EINTR if interrupted, or EBUSY if already inhibited.
* (ports_inhibit_bucket_rpcs):Miles Bader1996-01-271-20/+34
| | | | Be interruptable; return EINTR if interrupted, or EBUSY if already inhibited.
* (ports_inhibit_all_rpcs):Miles Bader1996-01-271-22/+37
| | | | Be interruptable; return EINTR if interrupted, or EBUSY if already inhibited.
* (ports_create_class): Initialize the uninhibitable_rpcs field.Miles Bader1996-01-271-0/+1
|
* (ports_inhibit_port_rpcs):Miles Bader1996-01-271-16/+31
| | | | Be interruptable; return EINTR if interrupted, or EBUSY if already inhibited.
* (ports_begin_rpc):Miles Bader1996-01-271-37/+60
| | | | | | Be interruptable. Take new MSG_ID arg, and use it to see if the particular rpc shouldn't be inhibitable.
* (ports_allocate_port): Call ports_create_port.Miles Bader1996-01-271-56/+6
|
* (fshelp_fetch_root):Miles Bader1996-01-271-5/+5
| | | | | | 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_set_readonly): Deal with ports_inhibit_class_rpcs returning an error.Miles Bader1996-01-271-28/+30
|
* (diskfs_remount): Deal with ports_inhibit_class_rpcs returning an error.Miles Bader1996-01-271-2/+4
|
* (diskfs_startup_diskfs): Use ports_create_port instead of ports_allocate_port.Miles Bader1996-01-271-8/+10
|
* (diskfs_shutdown): Deal with ports_inhibit_class_rpcs returning an error.Miles Bader1996-01-271-2/+7
|
* (diskfs_S_io_reauthenticate): Use new version of diskfs_start_protid.Miles Bader1996-01-271-2/+8
|
* (_diskfs_translator_callback2_fn): Use diskfs_create_protid instead ofMiles Bader1996-01-271-11/+13
| | | | diskfs_make_protid, and deal with an error return.
* (diskfs_S_dir_lookup): Use diskfs_create_protid instead ofMiles Bader1996-01-271-12/+18
| | | | diskfs_make_protid, and deal with an error return.
* Include <fcntl.h>.Miles Bader1996-01-271-0/+1
|
* (diskfs_S_file_getcontrol):Miles Bader1996-01-271-10/+12
| | | | Use ports_create_port instead of ports_allocate_port.
* (diskfs_set_sync_interval):Miles Bader1996-01-271-13/+21
| | | | | | | 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.
* (diskfs_start_protid): Return an error now, and use ports_create_port insteadMiles Bader1996-01-271-19/+31
| | | | | | of ports_allocate_port. (diskfs_create_protid): New function. (diskfs_make_protid): Call diskfs_create_protid.
* (diskfs_start_bootstrap, diskfs_S_exec_startup_get_info,Miles Bader1996-01-271-22/+28
| | | | | | | | 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_S_fsys_getroot): Use diskfs_create_protid instead ofMiles Bader1996-01-271-9/+12
| | | | diskfs_make_protid, and deal with an error return.
* (diskfs_S_dir_mkfile): Use diskfs_create_protid instead ofMiles Bader1996-01-271-7/+12
| | | | diskfs_make_protid, and deal with an error return.
* (diskfs_S_file_invoke_translator): Use diskfs_create_protid instead ofMiles Bader1996-01-271-12/+16
| | | | diskfs_make_protid, and deal with an error return.
* (diskfs_S_file_exec): Use diskfs_create_protid instead ofMiles Bader1996-01-271-14/+18
| | | | diskfs_make_protid, and deal with an error return.
* (diskfs_start_protid): Update declaration.Miles Bader1996-01-271-4/+8
| | | | (diskfs_create_protid): New declaration.
* (diskfs_S_io_restrict_auth): Use diskfs_create_protid instead ofMiles Bader1996-01-271-6/+12
| | | | diskfs_make_protid, and deal with an error return.
* (diskfs_S_io_duplicate): Use diskfs_create_protid instead ofMiles Bader1996-01-271-7/+14
| | | | diskfs_make_protid, and deal with an error return.
* (trivfs_goaway):Miles Bader1996-01-271-1/+8
| | | | | Handle errors from ports_inhibit_class_rpcs. Allow rpcs to resume if we're going to return EBUSY.
* Use prototypes for functions of zero args.Roland McGrath1996-01-241-30/+34
|
* (S_socket_connect): Handle connectionless protocols correctly.Miles Bader1996-01-241-29/+56
| | | | (S_socket_send): Allow DEST_ADDR to be null if the socket is connected.
* (sock_bind): Don't change SOCK's ref count if we're returning an error.Miles Bader1996-01-241-10/+11
|
* Marked as deletedMiles Bader1996-01-230-0/+0
|
* Initial revisionMiles Bader1996-01-231-0/+120
|
* Initial revisionMiles Bader1996-01-231-0/+118
|
* (main): Move a bunch of stuff into psout() in psout.c.Miles Bader1996-01-231-133/+27
| | | | | | | (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, main): Make -g/--goaway only apply to active translators.Miles Bader1996-01-231-11/+14
| | | | (options): Rearrange a bit.
* (startup_options): Put boot options in a separate group with a header.Miles Bader1996-01-231-1/+2
|
* (packet_fit): New function.Miles Bader1996-01-231-22/+49
| | | | (packet_ensure, packet_ensure_efficiently): Use packet_fit().
* (packet_read): If there's lots of empty space at the beginning of aMiles Bader1996-01-231-3/+22
| | | | vm_alloced buffer, deallocate it.
* (hol_entry_help):Miles Bader1996-01-231-25/+49
| | | | | | | | | | | 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.
* Pass the appropiate -R options to login, and -p.Miles Bader1996-01-231-4/+6
| | | | Only print a preceeding newline if this is a retry.