Age | Commit message (Collapse) | Author |
|
* users.c (open_hook): Assert DTR if NO_CARRIER, even for CLOCAL.
This is the only thing that tells it to open the device.
|
|
|
|
|
|
* cthreads.c (cthread_init): Move cthread_alloc call before
cproc_init call, since cthread_alloc uses malloc, and malloc won't
work between initializing the new stack and switching over to it.
|
|
* devio.c (char_size_mask_xxx): New variable.
(devio_set_bits): Don't munge c_cflag here. Instead,
set char_size_mask_xxx.
(device_read_reply_inband): Mask off high bits from the input to
simulate less than 8-bit channels.
|
|
* file-chflags.c (diskfs_S_file_chflags): Only set
NP->dn_set_ctime if we actually set the flags.
|
|
|
|
|
|
* inode.c (read_disknode): Use FSTYPE_ISO9660.
|
|
* hurd_types.h: Added FSTYPE_HTTP, FSTYPE_MEMFS, and
FSTYPE_ISO9660.
|
|
|
|
* hashexec.c: Use mach_* instead of __mach_*.
|
|
|
|
* init-startup.c (diskfs_startup_diskfs): Use diskfs_nput to free
the old diskfs_root_node when switching to a virtual root.
|
|
* hashexec.c (check_hashbang): Keep INTERP_LEN with the correct
value (bytes of memory holding INTERP) for later use.
(check_hashbang: setup_args): Set argv[0] from the interpreter
name, not copied from the existing command line.
|
|
|
|
|
|
* clookup.c (file_name_lookup_carefully): Use getdport instead of
__getdport, getumask () instead of _hurd_umask.
|
|
* ethernet.c (ethernet_open): Check error return from device_open and
device_set_filter.
(setup_ethernet_device): Check error return from device_get_status.
* ethernet.c (ethername): Remove static variable.
(setup_ethernet_device): Don't set it.
(ethernet_open): Don't use it; use DEV->name instead.
|
|
|
|
* ethernet.c (ethernet_open): Check error return from device_open and
device_set_filter.
(setup_ethernet_device): Check error return from device_get_status.
* ethernet.c (ethername): Remove static variable.
(setup_ethernet_device): Don't set it.
(ethernet_open): Don't use it; use DEV->name instead.
|
|
|
|
* dir-lookup.c (diskfs_S_dir_lookup): Add braces to silence gcc
warning.
* io-identity.c (diskfs_S_io_identity): Likewise.
* opts-append-std.c (diskfs_append_std_options): Likewise.
* opts-std-runtime.c (set_opts): Likewise.
|
|
* diskfs.h (diskfs_lookup_hard, diskfs_lookup,
diskfs_set_translator, diskfs_create_symlink_hook,
diskfs_notice_dirchange, diskfs_direnter, diskfs_direnter_hard,
diskfs_dirrewrite, diskfs_dirremove,
diskfs_create_node, diskfs_enter_lookup_cache,
diskfs_check_lookup_cache, dir_rename_dir, diskfs_set_options):
Add `const' qualifier to `char *' parameters where appropriate.
* opts-set.c (diskfs_set_options): Fix defn with `const'.
* node-create.c (diskfs_create_node): Likewise.
* name-cache.c (diskfs_enter_lookup_cache): Likewise.
(diskfs_check_lookup_cache): Likewise.
* dirremove.c (diskfs_dirremove): Likewise.
* dirrewrite.c (diskfs_dirrewrite): Likewise.
* lookup.c (diskfs_lookup): Likewise.
* direnter.c (diskfs_direnter): Likewise.
* dir-renamed.c (diskfs_rename_dir): Likewise.
* dir-chg.c (diskfs_notice_dirchange): Likewise.
|
|
* dir-lookup.c (diskfs_S_dir_lookup): Treat a shadow_root with null
shadow_root_parent as a "virtual root".
|
|
Add support for a "virtual root directory" specified at startup.
* priv.h (_diskfs_chroot_directory): Declare new variable.
* opts-std-startup.c (startup_options, parse_startup_opt): New
string-valued option -C/--directory/--virtual-root/--chroot sets
_diskfs_chroot_directory.
* init-startup.c (_diskfs_chroot_directory): New variable.
(diskfs_startup_diskfs): If that's set, look up the name and
warp us to that as a virtual root directory.
* fsys-getroot.c (diskfs_S_fsys_getroot): Initialize new peropen's
shadow_root_parent to null, and shadow_root to either null or,
if _diskfs_chroot_directory is set, to diskfs_root_node.
|
|
|
|
* cacheq.c (cacheq_set_length): Fix the limit of the destination
entries. Decide that there is no following entry if the current
entry is equal or greater than this limit.
|
|
* init.c (main): Don't bogusly clear bootstrap_args.
Reported by OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>.
|
|
|
|
* dir.c (diskfs_lookup_hard): Fix defn with `const'.
(diskfs_direnter_hard): Likewise.
(dirscanblock): Likewise.
* inode.c (diskfs_create_symlink_hook, create_symlink_hook): Likewise.
(diskfs_set_translator): Likewise.
|
|
|
|
* devio.c: Add #undef's for B19200, B38400, B57600, B115200, in case
they are defined in <device/tty_status.h> too.
|
|
|
|
|
|
* Makefile (OBJS): Use % pattern instead of explicit list.
|
|
|
|
* Makefile (TAGS): Create a TAGS file that specifies the subdir TAGS
files as includes.
|
|
* Makeconf (TAGS): Make rules cope with having no source files to tag.
|
|
|
|
* loopback.c (loopback_type_trans): Return u_int16_t.
|
|
* Makefile (SRCS): Remove argz-replace.c and argp-*.c from the list.
(installhdrs): Remove argp.h from the list.
|
|
* ugids-verify-auth.c (ugids_verify_make_auth): Fix typos in
svma_state change of 1998-08-11.
|
|
* idvec.c, idvec-auth.c (id_t): Remove typedef; use uid_t everywhere.
The name `id_t' is coopted in libc now for the SVID `waitid' interface.
|
|
* fshelp.h (fshelp_set_options): Use `const' for `char *' parameter.
* set-options.c (fshelp_set_options): Fix defn.
|
|
* lookup.c (diskfs_lookup_hard): Fix defn with `const'.
(diskfs_direnter_hard): Likewise.
(diskfs_get_directs): Use `const' for local var NAME.
* inode.c (diskfs_set_translator): Fix defn with `const'.
|
|
* ftpfs.c (netfs_append_args): Use %ld for time_t and %Zu for size_t.
|
|
* pager.c: strings.h -> string.h; gets strerror decl.
|
|
* dir.c (dirscanblock): Fix defn with `const'.
(diskfs_direnter_hard): Likewise.
* inode.c (diskfs_create_symlink_hook): Likewise.
(write_symlink): Likewise.
* dir.c (diskfs_lookup_hard): Fix defn with `const'.
* inode.c (diskfs_set_translator): Likewise.
|
|
* ext2fs.c (main): Fix return type to int.
|