Age | Commit message (Collapse) | Author |
|
|
|
* libthreads.map: Define HURD_CTHREADS_0.3 version set,
putting all symbols there except the lockfile symbols.
* lockfile.c: Nit fixes.
|
|
|
|
* configure.in (VERSIONING): New check for ld --version-script.
* config.make.in (VERSIONING): New variable, set by configure.
|
|
Locking support for stdio streams with glibc-2.2 libio. EXPERIMENTAL!
* lockfile.c: New file.
* libthreads.map: New file.
* Makefile (SRCS): Add lockfile.c.
[$(VERSIONING) = yes] ($(libname).so.$(hurd-version)): Depend
on $(srcdir)/$(libname).map to get version script into the link.
|
|
|
|
* fstests.c (main): Fix return type. #if 0 out some unused variables.
|
|
* exec.c (do_exec): Set interp.file to MACH_PORT_NULL before the
first `goto out'.
|
|
|
|
* delegate.c (fshelp_delegate_translation): Add const to arg type.
* fshelp.h: Fix decl.
|
|
* new-fifo.c (trivfs_protid_portclasses, trivfs_protid_nportclasses):
Fix to size 2.
|
|
* exectrans.c: Obsolete file removed.
|
|
* exectrans.c: Obsolete file removed.
* Makefile (DIST_FILES): Remove it.
|
|
* main.c (trivfs_allow_open): Initialize to zero.
(trivfs_support_read, trivfs_support_write): Likewise.
(trivfs_support_exec): Variable removed.
|
|
|
|
* io.c: Comments.
|
|
|
|
|
|
* dev.h (struct dev): New members store_name, readonly, rdev.
(dev_is_readonly): New inline function.
* dev.c (dev_open): Take just one arg, a struct dev whose store==0.
(dev_close): Shut down the store, but leave DEV intact with store==0.
* storeio.c (struct storeio_argp_params): New type.
(device, device_lock, store_name): Variables removed.
(readonly, inhibit_cache, enforce_store, rdev): Likewise.
These are all now members in struct storeio_argp_params or struct dev;
rdev now uses dev_t instead of int.
(parse_opt): Find a struct storeio_argp_params in STATE->input
and fill it in accordingly. Use makedev macro to construct rdev.
(trivfs_append_args): Find options in struct dev off control hook.
Use major, minor macros.
(main): Make DEVICE a local here, and point FSYS->hook at it.
Don't modify trivfs_allow_open.
(getroot_hook): New static function.
(trivfs_getroot_hook): New variable, initialized to that.
(check_open_hook): Find struct dev in CNTL->hook and
use new dev_open interface. Use dev_is_readonly.
(open_hook): Find struct dev in PEROPEN->cntl->hook and
check DEV->store.
(trivfs_modify_stat): Find struct dev in CRED->po->cntl->hook.
Use dev_is_readonly.
(trivfs_goaway): Find struct dev in FSYS->hook and use its lock.
(trivfs_S_fsys_syncfs): Find struct dev in CNTL->hook.
|
|
|
|
|
|
|
|
|
|
* 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.
|