summaryrefslogtreecommitdiff
path: root/term
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2016-06-03 00:52:06 +0200
committerJustus Winter <justus@gnupg.org>2016-08-09 23:34:17 +0200
commit02f5c0208985d60fede08c1eafad04e80353b670 (patch)
tree9938dc957282b5b47750ebeb67f54b1966ee8d4b /term
parentc8c973750b949f8c4fcac020c61a3b99e5d5c3a2 (diff)
trans/crash: core file name templates
Add an option to specify a template used to construct core file names. This way core files can be collected at a predictable central location. * hurd/crash.defs (crash_dump_task): Return EEXIST if the core file has been written elsewhere. * trans/crash.c (corefile_template): New variable. (template_valid): New function. (template_make_file_name): Likewise. (S_crash_dump_task): Use the template to construct a name, open the file, and write the core dump there instead of the handle provided by the caller. (argp_option): New option. (doc): Document the format. (parse_opt): Handle new option (trivfs_append_args): Likewise.
Diffstat (limited to 'term')
0 files changed, 0 insertions, 0 deletions