aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <[email protected]>2021-09-07 20:00:29 -0700
committerLinus Torvalds <[email protected]>2021-09-08 11:50:27 -0700
commitdbd9d6f8fa9c3e676e491ac65c7fa10a1af8321f (patch)
treeb777e6290ad7c9fbd33737009e5f04400b84cac6 /lib/test_overflow.c
parent98e2e409e76ef7781d8511f997359e9c504a95c1 (diff)
fs/coredump.c: log if a core dump is aborted due to changed file permissions
For obvious security reasons, a core dump is aborted if the filesystem cannot preserve ownership or permissions of the dump file. This affects filesystems like e.g. vfat, but also something like a 9pfs share in a Qemu test setup, running as a regular user, depending on the security model used. In those cases, the result is an empty core file and a confused user. To hopefully save other people a lot of time figuring out the cause, this patch adds a simple log message for those specific cases. [[email protected]: s/|%s/%s/ in printk text] Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: David Oberhollenzer <[email protected]> Cc: Al Viro <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions