Age | Commit message (Collapse) | Author |
|
* crash.c: Add `corelimit' parameter to `dump_core' forward decl.
(S_crash_dump_task): Change caller, pass (off_t)-1 for now.
(struct crasher): New member `core_limit'.
(dead_crasher): Pass C->core_limit to dump_core.
(S_crash_dump_task): Set C->core_limit, to (off_t) -1 for now.
(dump_core): Function removed; now ../exec/elfcore.c defines it.
* Makefile (OBJS, crash): Add elfcore.o.
(elfcore.c): vpath decl to find this in $(top_srcdir)/exec.
|
|
2001-02-12 Marcus Brinkmann <marcus@gnu.org>
* auth.c (main): New variable ARGP defining a doc string.
Pass address of ARGP to argp_parse().
exec/
2001-02-12 Marcus Brinkmann <marcus@gnu.org>
* main.c: Change hurd version name from proc to exec.
(main): Add period to doc string.
ftpfs/
2001-02-12 Marcus Brinkmann <marcus@gnu.org>
* ftpfs.c: Include <version.h>. Add global variable
ARGP_PROGRAM_VERSION. Add period to DOC.
hostmux/
2001-02-12 Marcus Brinkmann <marcus@gnu.org>
* hostmux.c: Include <version.h>. Add global variable
ARGP_PROGRAM_VERSION. Add period to DOC.
usermux/
2001-02-12 Marcus Brinkmann <marcus@gnu.org>
* usermux.c (options): Include <version.h>. Add global variable
ARGP_PROGRAM_VERSION. Add period to DOC.
trans/
2001-02-12 Marcus Brinkmann <marcus@gnu.org>
* fifo.c: Make version string say `fifo', not `null'.
Add period to doc text in ARGP.
* firmlink.c: Add period to doc text in ARGP_DOC, convert
semi-colon to colon.
* magic.c (options): Add period to DOC.
* new-fifo.c (fifo_trans_parse_args): Add doc string to ARGP.
Include <version.h>, new global variable ARGP_PROGRAM_VERSION.
* crash.c: Include <version.h>, add global variable
ARGP_PROGRAM_VERSION.
* hello.c: Include <version.h>, add global variable
ARGP_PROGRAM_VERSION.
(hello_argp): Add doc string.
* hello-mt.c: Likewise.
* streamio.c: Add period to DOC. Change streamdev to streamio in
version string.
* password.c (main): Add period to doc string in ARGP.
|
|
* crash.c (S_crash_dump_task): Use ports_get_send_right.
|
|
* crash.c (enum crash_action): New alternative crash_unspecified (0).
(crash_orphans_how): New variable.
(S_crash_dump_task): If crash_how != crash_orphans_how, ascertain if
the task is an orphan before deciding what to do.
(options): New options --action, --orphan-action.
Old options now compatability aliases for --action=foo.
(parse_opt): Parse them.
(doc): New variable.
(crash_argp): Use DOC.
|
|
* crash.c (trivfs_modify_stat): Remove redundant fstype setting.
* password.c (trivfs_modify_stat): Likewise.
|
|
* crash.c: Add #include <sys/mman.h> for munmap decl.
|
|
* crash.c (stop_pgrp): Use munmap instead of vm_deallocate.
|
|
* 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.
|
|
* crash.c (main): New args for
ports_manage_port_operations_multithread.
* fifo.c (main): Likewise.
* firmlink.c (main): Likewise.
* new-fifo.c (main): Likewise.
* null.c (main): Likewise.
|
|
|
|
|
|
send msg_sig_post with that as refport instead of calling POSIX.1 kill
function like a bonehead.
(S_crash_dump_task): Pass CTTY_ID arg through to stop_pgrp.
|
|
|
|
(S_crash_dump_task): Call stop_pgrp.
|
|
|
|
(dump_core): Likewise; all callers changed.
(struct crasher): Delete member `target'.
|
|
SIGCODE arg to proc_mark_stop.
(signal_crasher): New arg SIGCODE, supply to proc_mark_exit. All
callers changed.
(S_msg_sig_post_untraced): Supply C->sigcode to proc_mark_stop.
|
|
|
|
|
|
|