Age | Commit message (Collapse) | Author |
|
|
|
* ext2fs.c (main): Pass ARGP_IN_ORDER flag to argp_parse because
diskfs options need it.
|
|
* main.c (main): Pass ARGP_IN_ORDER flag to argp_parse because
diskfs options need it.
|
|
* opts-std-startup.c (startup_options): Move -C above "Boot options:",
give it a docstring. Docstrings for --bootflags, --boot-command.
(_diskfs_boot_command): New variable.
(startup_options, parse_startup_opt): New option --boot-command,
consumes remaining args to set _diskfs_boot_command.
* priv.h: Declare _diskfs_boot_command.
* boot-start.c (diskfs_start_bootstrap): If diskfs_exec_server_task is
null, assume we are running as the boot command and have a root with
/servers/exec.
If _diskfs_boot_command is set, start that command in place of init.
If can't lookup initname, print error msg and loop to prompt.
Put a newline before "Init name" prompt.
After starting exec server, try to set active trans on /servers/exec.
(diskfs_boot_getpriv): New function: if _hurd_host_priv
is null, use fsys_getpriv on our bootstrap port.
(parent_task): New static variable, set there with fsys_getpriv call.
(diskfs_S_fsys_init): If diskfs_exec_server_task is null, don't do
anything with it; instead register parent_task as our child
and send an fsys_init to our parent on our bootstrap port.
* console.c (diskfs_console_stdio): Call diskfs_boot_privports before
get_privileged_ports if diskfs_boot_flags is set.
|
|
* file-exec.c (diskfs_S_file_exec): If exec server port is stale, try
once to look up a new one.
|
|
|
|
* open.c (store_open): Like file.c:fiopen, catch EACCES or EROFS
and try to open read-only.
|
|
* open.c (store_open): Like file.c:fiopen, catch EACCES or EROFS
and try to open read-only.
* file.c (fiopen): Treat EROFS same as EACCES.
|
|
|
|
* inode.c (diskfs_write_disknode): Add braces to silence warning.
* pager.c (file_pager_read_page): Likewise.
|
|
* storeinfo.c: Don't include <netinet/in.h>.
|
|
|
|
|
|
* loop.c (server_loop): Cosmetic.
|
|
* nfsd.h: Include <rpc/types.h>.
(bool_t, enum_t): Remove typedefs.
|
|
* alloc.c (diskfs_alloc_node): Fix printf format to silence warning.
* hyper.c (get_hypermetadata): Likewise.
|
|
|
|
* lmail.c (deliver, main): Add braces to silence gcc warning.
|
|
|
|
* boot-parse.c: File removed (it has been obsolete since 1995).
|
|
|
|
* 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.
|