<feed xmlns='http://www.w3.org/2005/Atom'>
<title>teythoon/hurd.git/trans, branch master</title>
<subtitle>Personal Hurd development repository</subtitle>
<id>https://darnassus.sceen.net/cgit/teythoon/hurd.git/atom?h=master</id>
<link rel='self' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/'/>
<updated>2016-10-05T08:45:08Z</updated>
<entry>
<title>trans/crash: Fix setting core file template at runtime.</title>
<updated>2016-10-05T08:45:08Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-10-05T08:45:08Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=74998f9ded99c41d34c0db20e6eb7088fe51d742'/>
<id>urn:sha1:74998f9ded99c41d34c0db20e6eb7088fe51d742</id>
<content type='text'>
* trans/crash.c (corefile_template_lock): New variable.
(S_crash_dump_task): Serialize access to 'corefile_template'.
(parse_opt): Likewise.  Also strdup the template.
(trivfs_append_args): Serialize access to 'corefile_template'.
</content>
</entry>
<entry>
<title>trans/crash: Use empty core file templates to disable the feature.</title>
<updated>2016-10-05T08:37:02Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-10-05T08:33:09Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=f45e96eec2681463572d5d996ac832626809ddd7'/>
<id>urn:sha1:f45e96eec2681463572d5d996ac832626809ddd7</id>
<content type='text'>
* trans/crash.c (parse_opt): Use empty core file templates to disable
the feature.
</content>
</entry>
<entry>
<title>Avoid fatal error handling in option parsers.</title>
<updated>2016-10-05T08:24:59Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-10-05T08:24:59Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=3a3c1759297d3621663571dc85d2fb5d1d53b3b1'/>
<id>urn:sha1:3a3c1759297d3621663571dc85d2fb5d1d53b3b1</id>
<content type='text'>
* trans/crash.c (parse_opt): Avoid 'error' in favor of the appropriate
argp error reporting mechanism.
* trans/remap.c (parse_opt): Likewise.
* utils/msgids.c (parse_opt): Likewise.
</content>
</entry>
<entry>
<title>typo</title>
<updated>2016-08-28T19:05:10Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2016-08-28T19:05:10Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=db0f7e843e8de6ed25cf7ad5aa0fb3df2acaef7c'/>
<id>urn:sha1:db0f7e843e8de6ed25cf7ad5aa0fb3df2acaef7c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remap: Refuse non-absolute paths</title>
<updated>2016-08-28T18:50:23Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2016-08-28T18:48:11Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=8208fdc63b56c5b1be837ad583534e5bbe4d6808'/>
<id>urn:sha1:8208fdc63b56c5b1be837ad583534e5bbe4d6808</id>
<content type='text'>
* trans/remap.c (parse_opt): Error out if some path is not absolute.
</content>
</entry>
<entry>
<title>trans/crash: core file name templates</title>
<updated>2016-08-09T21:34:17Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-06-02T22:52:06Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=02f5c0208985d60fede08c1eafad04e80353b670'/>
<id>urn:sha1:02f5c0208985d60fede08c1eafad04e80353b670</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>trans/crash: fix blunder</title>
<updated>2016-06-07T17:52:36Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-06-07T17:52:36Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=d024ec32b8fbeb039078388d5d3d699a821cfb14'/>
<id>urn:sha1:d024ec32b8fbeb039078388d5d3d699a821cfb14</id>
<content type='text'>
* trans/crash.c (S_crash_dump_task): Fix error handling.
</content>
</entry>
<entry>
<title>Do not make io_select return errors on unsupported READ/WRITE mode</title>
<updated>2016-06-04T21:14:46Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2016-06-04T21:14:46Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=4cb90fceb779dbf33cfd9bcf28c66ffc737537f2'/>
<id>urn:sha1:4cb90fceb779dbf33cfd9bcf28c66ffc737537f2</id>
<content type='text'>
The descriptor is valid, it is just the mode which is not available.

* console-client/kbd-repeat.c (repeater_select): Drop SELECT_URG flag from
`type'.  Return 0 instead of EINVAL if `type' contains SELECT_WRITE.
* console-client/pc-mouse (repeater_select): Likewise.
* trans/mtab.c (trivfs_S_io_select): Return 0 instead of EBADF when the
openmodes do not match the requested modes in `type'.
* trans/new-fifo.c (io_select_common): Likewise.
* trans/fifo.c (io_select_common): Likewise.
* trans/null.c (trivfs_S_io_select): Likewise.
* trans/streamio.c (io_select_common): Likewise.
</content>
</entry>
<entry>
<title>trans/crash: fix resource leaks</title>
<updated>2016-06-04T14:12:27Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-06-03T14:55:55Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=a8b8ece4ff36fca27492f0a4e925e2f4453ee483'/>
<id>urn:sha1:a8b8ece4ff36fca27492f0a4e925e2f4453ee483</id>
<content type='text'>
Previously, 'task', 'core_file', and 'ctty_id' were not deallocated if
crash was configured to write core files, and 'ctty_id' was leaked if
the crashing task was suspended.  This lead to resources not being
released in the kernel, the filesystem, and the terminal subsystem,
and could very well be responsible for making the Debian/Hurd shutdown
hang.

* trans/crash.c (S_crash_dump_task): Properly deallocate 'task',
'core_file', and 'ctty_id'.
</content>
</entry>
<entry>
<title>Fix build</title>
<updated>2016-05-02T23:20:51Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2016-05-02T23:20:51Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=b90164e0090473573a90e16cee515c2d4d6f3f91'/>
<id>urn:sha1:b90164e0090473573a90e16cee515c2d4d6f3f91</id>
<content type='text'>
* trans/crash.c: Include &lt;assert.h&gt;.
</content>
</entry>
</feed>
