Age | Commit message (Collapse) | Author |
|
* 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.
|
|
|
|
* main.c: Include <device/device.h>.
|
|
* devio.c: Include <assert.h>, <errno.h> and <error.h>. Do
not include <stdio.h> and <sys/types.h>.
Reorganize the order of inclusion of the header files a bit and
document the baud-rate hackery. Include <termios.h> explicitely.
(init_devio): Use new local variable ERR instead of ERRNO. Use
error instead of perror and exit to report failure.
(devio_desert_dtr): Declare BITS as `int' instead of
`dev_status_t'.
|
|
* conffiles: Add /etc/ttys.
|
|
* rules (binary-arch): Don't remove root and etc dirs.
|
|
* 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.
|
|
* login-.bashrc: Alias su to login.
|
|
|
|
* rc.sh: Don't create /var/run/uptime. It's no longer used.
|
|
|
|
* cthreads.h (mutex_clear): Change again, to call mutex_init.
|
|
|
|
* ps.c (output_fmts): Add %start and %time specs before %command
in "user" (ps -u) format.
|
|
* w.c (fetch_boot_time): New function. Use libps to get
task_basic_info for PID 1 (init); its creation_time is "boot time".
(uptime): Use it, instead of stat'ing /var/run/uptime.
|
|
* context.c (ps_context_free): Don't call ihash_free on PC->procs
twice! Instead, call it on ttys, ttys_by_cttyid, and users.
|
|
* spec.c (ps_emit_past_time, ps_emit_minutes): Fix return type of
getter fn (int to void).
* spec.c (ps_get_start_time, ps_start_time_getter): New function and
constant to report task_basic_info.creation_time time stamp via
"start_time" spec.
(specs): Add "Start" fmt for it.
|
|
|
|
* cthreads.h (mutex_clear): Change from syntax error to no-op (with
warning avoidance).
|
|
|
|
* idvec-verify.c (SHADOW_PASSWORD_STRING): New macro.
(verify_id): Check for shadow password immediately after getpwuid_r
call, and replace PW->pw_passwd pointer with SP->sp_pwdp.
This is ok since the only use will be later in the function,
and we give the lookup buffer function scope.
(verify_passwd): Don't call CHECK_SHADOW for main passwd,
only when rechecking for wheel-group hack.
|
|
* Makefile (SYSCONFFILES): Remove hostname.
* hostname: File removed (it was empty). Current libc copes with
having no hostname file.
|
|
* Makefile (SYSCONFFILES): Remove hostname.
* hostname: File removed (it was empty). Current libc copes with
having no hostname file.
|
|
|
|
* MAKEDEV.sh (ECHO, EXEC): Do not export.
(DEVDIR): Initialize to `pwd` before argument parsing.
(_CWD): Don't set this.
(lose): New function. Use it for all miscellaneous fatal errors.
(mkdev): Disallow directory names. Always use ${DEVDIR} for name to
embed in translator settings.
Rewrite syntax checking for disk device names.
|
|
* storeio.c (check_open_hook): Translate D_NO_SUCH_DEVICE to ENXIO.
|
|
|
|
* default_pager.c (new_partition): Fix arg order in printf for
linux-2.2 signature page.
|
|
|
|
* fstab.c, fstab.h: Add numerous `const' qualifiers.
* fstab.c (fstab_find_mount): Don't count "none" or "-" as matching
any other entry.
|
|
* fsck.c (struct fsck): Don't use bitfield.
|
|
* fstab.c, fstab.h: Add numerous `const' qualifiers.
|
|
|
|
* ialloc.c (diskfs_alloc_node): Frob printf format to suppress warning.
* getblk.c (ext2_getblk): Likewise.
* balloc.c (ext2_free_blocks): Likewise.
* hyper.c (get_hypermetadata): Likewise.
|
|
|
|
* remap.c (remap_open): Don't multiply by 512. Offsets and sizes are
in blocks, not bytes.
|
|
|