Systemd/src/coredump
Lennart Poettering 544e146b0e journalctl,elsewhere: make sure --file=foo fails with sane error msg if foo is not readable
It annoyed me for quite a while that running "journalctl --file=…" on a
file that is not readable failed with a "File not found" error instead
of a permission error. Let's fix that.

We make this work by using the GLOB_NOCHECK flag for glob() which means
that files are not accessible will be returned in the array as they are
instead of being filtered away. This then means that our later attemps
to open the files will fail cleanly with a good error message.
2020-05-19 15:26:51 +02:00
..
coredump-vacuum.c headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
coredump-vacuum.h tree-wide: remove Lennart's copyright lines 2018-06-14 10:20:20 +02:00
coredump.c tree-wide: make sure our control buffers are properly aligned 2020-05-07 14:39:44 +02:00
coredump.conf build-sys: move coredump logic into subdir of its own 2016-02-10 14:32:27 +01:00
coredumpctl.c journalctl,elsewhere: make sure --file=foo fails with sane error msg if foo is not readable 2020-05-19 15:26:51 +02:00
meson.build coredump: only install coredump.conf when ENABLED_COREDUMP=true 2018-11-02 14:31:12 +01:00
stacktrace.c coredump: Include module offsets in stack traces 2019-10-18 15:26:47 +02:00
stacktrace.h coredump: slighlty simplify stack trace generation logic 2019-06-27 19:01:32 +02:00
test-coredump-vacuum.c Drop my copyright headers 2018-06-14 13:03:20 +02:00