Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
* options.c, options.h: Ancient unused files removed.
|
|
|
|
* hashexec.c (check_hashbang): Use strpbrk directly instead of strsep.
Fix up INTERP_LEN properly in the no-argument case.
|
|
|
|
* boot.c (S_io_reauthenticate): Check mach_port_insert_right result
with assert_perror.
|
|
|
|
* file-exec.c (netfs_S_file_exec): Fix typo and braino in last change.
|
|
* file-exec.c (diskfs_S_file_exec): Fix typo and braino in last change.
* init-startup.c (diskfs_startup_diskfs): Fix braino in last change.
|
|
|
|
|
|
* frobauth-mod.c (frobauth_modify): Don't use MOVE_SEND in Hurd RPC.
* msgport.c (do_setfd, cmd_chcwdir, cmd_cdroot, cmd_chcrdir):
Likewise.
|
|
* symlink.c (main): Don't use MAKE_SEND in Hurd RPC.
|
|
* main.c (main): Don't use MAKE_SEND in Hurd RPC.
|
|
* clookup.c (file_name_lookup_carefully): Don't use MOVE_SEND in
Hurd RPC.
|
|
* main.c (arrange_shutdown_notification): Don't use MAKE_SEND in
Hurd RPC.
|
|
* cache.c (create_cached_handle): Add comment.
|
|
* startup.c (trivfs_startup): Don't use MAKE_SEND in Hurd RPC.
|
|
* exec-reauth.c (exec_reauth): Always destroy REF, even when we
get errors.
|
|
* file-exec.c (netfs_S_file_exec): Don't use MAKE_SEND in Hurd
RPC.
* init-startup.c (netfs_startup): Likewise.
|
|
* fetch-root.c (fshelp_fetch_root): Don't use MAKE_SEND in Hurd
RPC.
|
|
* boot-start.c (diskfs_S_fsys_init, diskfs_start_bootstrap): Don't
use MOVE_SEND in Hurd RPC.
* file-exec.c (diskfs_S_file_exec): Don't use MAKE_SEND in Hurd
RPC.
* init-startup.c (diskfs_startup_diskfs, _diskfs_init_completed):
Likewise.
|
|
* init.c (launch_core_servers): Don't use MOVE_SEND in Hurd RPCs.
|
|
* main.c (S_exec_init): Don't use MOVE_SEND in Hurd RPC.
|
|
* boot.c (S_io_reauthenticate): Don't use MACH_MSG_TYPE_MAKE_SEND
in Hurd RPC.
|
|
|
|
* dir-lookup.c (diskfs_S_dir_lookup): Use ports_get_send_right.
|
|
* crash.c (S_crash_dump_task): Use ports_get_send_right.
|
|
* io-ops.c (S_io_reauthenticate): Use ports_get_send_right.
|
|
* users.c (send_signal): Use ports_get_send_right.
|
|
* devio.c (devio_abandon_physical_output): Use ports_get_send_right.
(initial_open): Use ports_get_send_right.
(device_open_reply): Use ports_get_send_right.
|
|
* exec.c (do_exec): Use ports_get_send_right.
|
|
* main.c (main): Use ports_get_send_right.
|
|
* io-reauthenticate.c (netfs_S_io_reauthenticate): Use
ports_get_send_right.
|
|
* dir-lookup.c (netfs_S_dir_lookup): Use ports_get_send_right.
Deallocate DIRPORT after fshelp_fetch_root.
|
|
* io-reauthenticate.c (trivfs_S_io_reauthenticate): Use
ports_get_send_right.
|
|
* io-reauthenticate.c (diskfs_S_io_reauthenticate): Use
ports_get_send_right.
|
|
* boot-start.c (diskfs_start_bootstrap): Use ports_get_send_right.
(diskfs_execboot_fsys_startup): Use ports_get_send_right.
(diskfs_S_fsys_init): Use ports_get_send_right.
(start_execserver): Use ports_get_send_right.
|
|
* get-send-right.c: New file.
* ports.h: Declare ports_get_send_right.
* Makefile (SRCS): Add get-send-right.c.
|
|
|
|
* get-right.c (gdb_loses): Remove global variable.
(ports_get_right): Use a local instead.
|
|
|
|
* start-translator-long.c (service_fsys_startup): If mach_msg fails
with MACH_SEND_INTERRUPTED, clean up the send right in the
pseudo-received request message.
|
|
|
|
* mgt.c (S_proc_exception_raise): Check for
MACH_SEND_NOTIFY_IN_PROGRESS rather than MACH_SEND_INVALID_NOTIFY.
Don't deallocate THREAD and TASK ports before the switch, since the
successful case uses THREAD again and the failure case uses TASK
again. Instead, deallocate them at the end of the successful case.
At the end of the error case, use mach_port_destroy on THREAD only.
|
|
|
|
* stubs.c (send_signal): Don't use mach_msg_destroy, since it wants
the local/remote ports reversed. Destroy the rights by hand instead.
|