Age | Commit message (Collapse) | Author |
|
|
|
* ugids-verify-auth.c (svma_state_add_auths): Allocate correct
number of bytes for new auth port array.
(server_verify_make_auth): Set check to password_check_group if
is_group is true and to password_check_user if not. Not the other
way around.
|
|
* Makeconf ($(libdir) installation rules): Use automatic variables.
Use a static pattern rule for foo.a and foo_p.a, treated the same.
|
|
|
|
* hurd_types.defs: Include <bits/utsname.h> instead of
<utsnamelen.h>. Reported by Mark Kettenis <kettenis@phys.uva.nl>.
|
|
|
|
|
|
* main.c (S_exec_init): Call _hurd_proc_init with new args set to
zero.
|
|
* hashexec.c (check_hashbang): Fix typo: interplen -> interp_len.
|
|
* auth.c (main): Call _hurd_proc_init with new args set to zero.
|
|
* boot-start.c (diskfs_S_fsys_init): Call _hurd_proc_init with new
args set to zero.
|
|
* trans-callback.c (_diskfs_translator_callback1_fn): Use size_t*
instead of int* for ARGZ_LEN arg.
|
|
* fsck.c (main): Add braces to silence gcc warning.
|
|
* fstab.c: Rename fsys_remount -> fsys_update in extern decl.
|
|
* clookup.c (file_name_lookup_carefully): Change __getuids to geteuids.
Use hurd_file_name_lookup instead of __hurd_file_name_lookup.
|
|
|
|
* 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.
|
|
|