summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1999-06-151999-06-15 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* init.c (booted): New variable. (open_console): Use that instead of system_state. (S_startup_essential_task): Likewise. (do_mach_notify_dead_name): Likewise. (launch_system): New function. (S_startup_essential_task): Call it. * init.c (global_argv): Make static. * init.c (startup_envz, startup_envz_len): New variables. (run, run_for_real): Use those for child environment. (main): Set them up from our ENVP argument. 1999-06-14 Roland McGrath <roland@baalperazim.frob.com> * init.c (main): Barf if run in a normal Hurd environment (not boot). * init.c (record_essential_task): Add missing return.
1999-06-15.Roland McGrath
1999-06-151999-06-14 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* ttys.c: Include "ttys.h".
1999-06-14.Roland McGrath
1999-06-141999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* init.c (kill_multi_user): Suggest `ps -AlM' in error message. * init.c (record_essential_task): New function, broken out of S_startup_essential_task. (S_startup_essential_task): Call it. (frob_kernel_process): Call it for kernel task port. (kill_everyone): Remove special case for PID 2 (kernel task).
1999-06-13.Roland McGrath
1999-06-131999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* main.c (trivfs_goaway): Exit if there are no socket ports.
1999-06-13.Roland McGrath
1999-06-131999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* init.c (run): Add const to SERVER arg, PROG local. Don't trim directory name from PROG for argument.
1999-06-13.Roland McGrath
1999-06-131999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* ttys.c (struct terminal): Use `pid_t' for `pid' member. (ttys, nttys, ttyslen): Make variables static. (setup_terminal, add_terminal, find_line, startup_terminal, shutdown_terminal): Make all these functions static. 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-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.