aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy.c
diff options
context:
space:
mode:
authorGuilherme G. Piccoli <[email protected]>2022-10-13 18:06:46 -0300
committerKees Cook <[email protected]>2022-10-19 09:25:39 -0700
commit38b91847c314f49c80e30062549d4709a3754ea6 (patch)
treed754192d910ceaff2bf4517dc7faeff0e8854891 /lib/test_fortify/write_overflow-strncpy.c
parent7d7eca411fa0c662693613805107494a9dc7477f (diff)
pstore: Alert on backend write error
The pstore dump function doesn't alert at all on errors - despite pstore is usually a last resource and if it fails users won't be able to read the kernel log, this is not the case for server users with serial access, for example. So, let's at least attempt to inform such advanced users on the first backend writing error detected during the kmsg dump - this is also very useful for pstore debugging purposes. Signed-off-by: Guilherme G. Piccoli <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Signed-off-by: Kees Cook <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions