Systemd/src/coredump
Evgeny Vereshchagin 0c7739039b coredump: create unnamed temporary files if possible (O_TMPFILE) (#3065)
Don't leave temporary files if the coredump service is aborted during
the operation

Yeah, these are temporary files that systemd-coredump needs while
processing the coredumps. Of course, if the coredump service is aborted
during the operation we better shouldn't leave those files around. This
is hence a bug to fix in our coredumping code.
See https://github.com/systemd/systemd/issues/2804#issuecomment-210578147

Another option is to simply use O_TMPFILE, and when it is not available
fall back to the current behaviour. After all, the files are cleaned up
eventually, through normal tmpfiles aging, and the offending file
systems are pretty exotic these days, or not in the upstream kernel.

See https://github.com/systemd/systemd/issues/2804#issuecomment-211496707
2016-04-19 16:59:47 +02:00
..
coredump-vacuum.c build-sys: move coredump logic into subdir of its own 2016-02-10 14:32:27 +01:00
coredump-vacuum.h build-sys: move coredump logic into subdir of its own 2016-02-10 14:32:27 +01:00
coredump.c coredump: create unnamed temporary files if possible (O_TMPFILE) (#3065) 2016-04-19 16:59:47 +02:00
coredump.conf build-sys: move coredump logic into subdir of its own 2016-02-10 14:32:27 +01:00
coredumpctl.c coredumpctl: grammaro fix 2016-04-02 11:35:08 -04:00
Makefile build-sys: move coredump logic into subdir of its own 2016-02-10 14:32:27 +01:00
stacktrace.c tree-wide: make ++/-- usage consistent WRT spacing 2016-02-22 20:32:04 -08:00
stacktrace.h build-sys: move coredump logic into subdir of its own 2016-02-10 14:32:27 +01:00
test-coredump-vacuum.c build-sys: move coredump logic into subdir of its own 2016-02-10 14:32:27 +01:00