Age | Commit message (Collapse) | Author |
|
* console-run.c: New file.
* Makefile (targets, SRCS): Add console-run, console-run.c.
(console-run): New target.
|
|
* runsystem.sh: New file.
* Makefile (targets, special-targets): Add runsystem.
(runsystem): New target.
1999-06-15 Roland McGrath <roland@baalperazim.frob.com>
* runttys.c: New file.c
* Makefile (targets, SRCS): Add runttys, runttys.c.
(runttys): New target.
(runttys-LDLIBS): New variable, -lutil.
* console-run.c: New file.
* Makefile (targets, SRCS): Add console-run, console-run.c.
(console-run): New target.
|
|
|
|
* move-if-change: New file, canonical GNU script.
|
|
|
|
* Makefile (%.info rule): Put output in build dir, not srcdir.
Pass -I options to makeinfo for both dirs.
(move-if-change): New variable.
(version.texi, stamp-version): New targets, update version.texi (in
build dir) from `$(hurd-version)' as set in Makeconf.
|
|
* pager.c: Clamp the number of free pages we keep around to some
reasonably small value. Patch from Mark Kettenis
<kettenis@wins.uva.nl>.
1999-06-15 Thomas Bushnell, BSG <tb@mit.edu>
* inode.c (diskfs_validate_flags_change): Invert sense of test wrt
bits that haven't yet been defined. Reported by Kalle Olavi
Niemitalo <tosi@ees2.oulu.fi>.
|
|
|
|
* 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.
|
|
|
|
* ttys.c: Include "ttys.h".
|
|
|
|
* 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).
|
|
|
|
* main.c (trivfs_goaway): Exit if there are no socket ports.
|
|
|
|
* init.c (run): Add const to SERVER arg, PROG local.
Don't trim directory name from PROG for argument.
|
|
|
|
* 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.
|
|
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.
|
|
|
|
* lookup.c (diskfs_get_directs): Add cast to silence warning.
|
|
|
|
* file-get-trans.c (diskfs_S_file_get_translator): Fix type cast in
last change.
|
|
|
|
* cthreads.h (MACRO_BEGIN, MACRO_END): #undef before unconditionally
redefining. Use GCC extension for statement expression with value 0.
|
|
|
|
* 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>.
|
|
|
|
* 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.
|
|
* fstab.c (fstypes_get): Don't free PROGRAM twice on ENOENT failure.
|
|
|
|
* 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.
|
|
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
|
|
* exec.c (map): Fix mapping calls to use F->__offset consistently
instead of F->__target.
|
|
|
|
* 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.
|
|
|
|
* default_pager.c (new_partition): Declare `waste' as `int'
instead of `unsigned int'.
|
|
|
|
* init.c (frob_kernel_process): If no --kernel-command-line option,
try `getenv ("MULTIBOOT_CMDLINE")' before defaulting to "(kernel)".
|
|
|
|
* bootstrap.c (main): If we have a MULTIBOOT_CMDLINE environment
variable, set its value as ${kernel-command-line} for boot scripts.
|
|
* load.c (boot_script_exec_cmd): Copy environment from our `environ'
onto the new task's stack along with its arguments.
|
|
|