summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1999-06-131999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
Move all the /etc/ttys handling stuff into a separate source file. * init.c (_PATH_LOGIN, WINDOW_DELAY, struct terminal, nttys, ttyslen, setup_terminal, add_terminal, init_ttys, free_ttys, startup_terminal, startup_ttys, find_line, restart_terminal, shutdown_terminal, reread_ttys): Move to * ttys.c: ... here, new file. * ttys.h: New file, declare external functions in ttys.c. * Makefile (SRCS): Add ttys.c. (OBJS): Derive from $(SRCS). (LCLHDRS): New variable, add ttys.h.
1999-06-13.Roland McGrath
1999-06-131999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* lookup.c (diskfs_get_directs): Add cast to silence warning.
1999-06-13.Roland McGrath
1999-06-131999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* file-get-trans.c (diskfs_S_file_get_translator): Fix type cast in last change.
1999-06-13.Roland McGrath
1999-06-131999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* cthreads.h (MACRO_BEGIN, MACRO_END): #undef before unconditionally redefining. Use GCC extension for statement expression with value 0.
1999-06-13.Roland McGrath
1999-06-131999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* file-get-trans.c (diskfs_S_file_get_translator): If we return an error, vm_deallocate any vm_allocated memory. From Mark Kettenis <kettenis@gnu.org>.
1999-06-11.Roland McGrath
1999-06-111999-06-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* fsck.c (options): Add -t/--fstype option. (main): Parse that option, and use it to constrain fstab list. * fsck.c (FSCK_F_DRYRUN): New macro. (options, main): Add -N/--dry-run option to set it. (fs_start_fsck): If FSCK_F_DRYRUN set, just print out and return zero. * fsck.c (fscks_start_fsck): If FSCK_F_DRYRUN is set, don't try to make read-only, just print a message that we would. * fsck.c (options, main): Change --fstab from -t to -F. 1999-06-10 Roland McGrath <roland@baalperazim.frob.com> * fsck.c (options): Add -A/--all and -R/--exclude-root options for compatibility with Linux, and --exclude=PATTERN as general form. (main): Parse them. Constrain fstab list by exclude patterns. * fsck.c (fsck): Don't check for "noauto" mntopt. No other system skips a filesystem because of it. (fsck): Always start at pass 1, not 0. In every other system, "pass 0" always means to skip that filesystem entirely.
1999-06-111999-06-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* fstab.c (fstypes_get): Don't free PROGRAM twice on ENOENT failure.
1999-06-05.Roland McGrath
1999-06-051999-06-05 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* mgt.c (create_startup_proc): Don't call add_proc_to_hash here. * main.c (main): Do it here instead, after we have the task port.
1999-06-05.Roland McGrath
1999-06-051999-06-05 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* mgt.c (allocate_proc, complete_proc): New functions, broken out of new_proc. Remove magic handling of PIDs 0 and 1. (new_proc): Now just call those two. Made static. (create_startup_proc): New function, also broken out of old new_proc. Do special setup for PID 1 (init) proc structure here. * proc.h: Update decls. * main.c (main): Use create_startup_proc for startup_proc, and allocate_proc + complete_proc (with PID 0) for self_proc. * mgt.c (make_ids): Add const to arguments.
1999-06-051999-06-05 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* proc.h (struct proc): Use unsigned int for flag bitfields. * mgt.c (allocate_proc, complete_proc): New functions, broken out of new_proc. Remove magic handling of PIDs 0 and 1. (new_proc): Now just call those two. Made static. (create_startup_proc): New function, also broken out of old new_proc. Do special setup for PID 1 (init) proc structure here. * proc.h: Update decls. * main.c (main): Use create_startup_proc for startup_proc, and allocate_proc + complete_proc (with PID 0) for self_proc.
1999-06-051999-06-05 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* mgt.c (allocate_proc, complete_proc): New functions, broken out of new_proc. Remove magic handling of PIDs 0 and 1. (new_proc): Now just call those two. Made static. (create_startup_proc): New function, also broken out of old new_proc. Do special setup for PID 1 (init) proc structure here. * proc.h: Update decls. * main.c (main): Use create_startup_proc for startup_proc, and allocate_proc + complete_proc (with PID 0) for self_proc.
1999-06-051999-06-05 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* init.c (request_dead_name): New function. (S_startup_request_notification, S_startup_essential_task): Use it. (run): Request dead-name notification for new task. (main): Request dead-name notification for FSTASK. (do_mach_notify_dead_name): If system_state is INITIAL, recognize FSTASK, AUTHTASK, PROCTASK specifically and crash with appropriate msg. 1999-06-04 Roland McGrath <roland@baalperazim.frob.com> * init.c (launch_core_servers): Use proc_child on the proc server task to register it with itself as our child. Snarf its proc port and use proc_mark_exec do remove that unsightly `f', as we do for the other bootstrap processes.
1999-06-04.Roland McGrath
1999-06-041999-06-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* exec.c (map): Fix mapping calls to use F->__offset consistently instead of F->__target.
1999-06-04.Roland McGrath
1999-06-041999-06-02 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* boot-start.c (diskfs_start_bootstrap): Pass environment collected from `environ' on to init. The kernel can send more parameters through this way without us knowing about them specifically.
1999-06-03.Roland McGrath
1999-06-031999-06-03 Mark Kettenis <kettenis@gnu.org>Roland McGrath
* default_pager.c (new_partition): Declare `waste' as `int' instead of `unsigned int'.
1999-06-02.Roland McGrath
1999-06-021999-06-02 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* init.c (frob_kernel_process): If no --kernel-command-line option, try `getenv ("MULTIBOOT_CMDLINE")' before defaulting to "(kernel)".
1999-06-02.Roland McGrath
1999-06-021999-06-02 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* bootstrap.c (main): If we have a MULTIBOOT_CMDLINE environment variable, set its value as ${kernel-command-line} for boot scripts.
1999-06-021999-06-02 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* load.c (boot_script_exec_cmd): Copy environment from our `environ' onto the new task's stack along with its arguments.
1999-06-02.Roland McGrath
1999-06-021999-06-02 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* ps.h (PSTAT_ENV): New macro. (struct proc_stat): New members `env', `env_len', `env_vm_alloced'. (proc_stat_env, proc_stat_env_len): New accessor macros. (PSTAT_USER_BASE): Increase value to leave more room for additions. * procstat.c (proc_stat_set_flags): Handle environment. (_proc_stat_free): Likewise. * spec.c (ps_get_env, ps_env_getter): New function and constant. (specs): New spec "Env" using ps_env_getter and ps_emit_args.
1999-06-02.Roland McGrath
1999-06-021999-06-01 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* init.c (CRASH_FLAGS): Macro removed. (crash_flags): New variable replaces it. (crash_mach, crash_system): Use crash_flags instead of CRASH_FLAGS. (options, parse_opt): Add --crash-debug/-H, to set crash_flags to RB_DEBUGGER.
1999-06-01.Roland McGrath
1999-06-011999-06-01 Marcus Brinkmann <brinkmd@debian.org>Roland McGrath
* shlibs: New file. This makes Debian packages which use Hurd libraries dependant on the Hurd package. * rules: Add shlibs to the Hurd package.
1999-06-011999-06-01 Marcus Brinkmann <brinkmd@debian.org>Roland McGrath
* shlibs: New file. This makes Debian packages which use Hurd libraries dependant on the Hurd package. * rules: Add shlibs to the Hurd package. * shlibs.local: New file. This is a work around needed for cross compilation, so dpkg-shlibdeps does not make the Hurd package dependant on itself.
1999-06-011999-06-01 Marcus Brinkmann <brinkmd@debian.org>Roland McGrath
* shlibs.local: New file. This is a work around needed for cross compilation, so dpkg-shlibdeps does not make the Hurd package dependant on itself.
1999-06-011999-06-01 Marcus Brinkmann <brinkmd@debian.org>Roland McGrath
* TODO: Remove entry about shared library dependencies (see below). Remove entry about suid-manager. We don't need to register binaries which must be suid to operate.
1999-06-011999-06-01 Marcus Brinkmann <brinkmd@debian.org>Roland McGrath
* servers.boot: Remove obsolete $(default-pager) tag.
1999-06-011999-06-01 Marcus Brinkmann <brinkmd@debian.org>Roland McGrath
* changelog: Update to reflect the Debian releases done.
1999-06-011999-06-01 Marcus Brinkmann <brinkmd@debian.org>Roland McGrath
* control: Add Replaces, Conflicts login, as done with makedev.
1999-06-01.Roland McGrath
1999-06-011999-06-01 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* init.c (kernel_command_line): New variable. (frob_kernel_process): New function. (S_startup_essential_task): Call it after init_stdarrays. (options): Add --kernel-command-line/-K option. (parse_opt): Grok -K, set kernel_command_line.
1999-06-01.Roland McGrath
1999-06-011999-06-01 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* crash.c (options): Add --dump-core as alias for --core-file.
1999-06-01.Roland McGrath
1999-06-011999-06-01 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* crash.c: Support three modes of operation, selected by command line switches: -s/--suspend suspend crashing process (old behavior) -k/--kill kill crashing process, no core dump -c/--core-file dump core file (enum crash_action): New type. (crash_how): New variable. (options, crash_argp, trivfs_runtime_argp): New variables. (parse_opt, trivfs_append_args): New functions. (main): Call argp_parse.
1999-05-311999-05-24 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* protocols, services, shells, passwd, group, resolv.conf, fstab, root-.bash_login, root-.bashrc, root-.profile: Files removed. These files are not really Hurd-specific, and so should be installed by some other package (and are in Debian). * Makefile (SYSCONFFILES): Remove those files from the list. (ROOTDOTS, installed_rootdots): Variables removed. (DIST_FILES): Remove reference to $(ROOTDOTS). (install): Remove dep on $(installed_rootdots). ($(installed_rootdots)): Rule removed.
1999-05-30.Roland McGrath