Age | Commit message (Collapse) | Author |
|
|
|
* 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.
|
|
|
|
* 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.
|
|
|
|
* 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.
|
|
|
|
* shlibs: New file. This makes Debian packages which use Hurd
libraries dependant on the Hurd package.
* rules: Add shlibs to the Hurd package.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* servers.boot: Remove obsolete $(default-pager) tag.
|
|
* changelog: Update to reflect the Debian releases done.
|
|
* control: Add Replaces, Conflicts login, as done with makedev.
|
|
|
|
* 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.
|
|
|
|
* crash.c (options): Add --dump-core as alias for --core-file.
|
|
|
|
* 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.
|
|
* 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.
|
|
|
|
* ttys (console): Change type column ($TERM setting) to `mach'.
|
|
* mgt.c (add_tasks): Skip invalid (null) rights in tasks array.
* info.c (S_proc_pid2task): Add assert for p_task right validity.
|
|
|
|
* bootstrap.c (main): Define $(serverboot) function for "serverboot
controls", control command replacing the pathname. For command "die",
terminate ourselves after running the boot script, no default pager.
|
|
|