diff options
author | Alexey Dobriyan <[email protected]> | 2020-01-30 22:17:10 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-01-31 10:30:41 -0800 |
commit | 1fbede6e6f3dc6c1c33e84b6989cf8079d899f89 (patch) | |
tree | c4e0165c20f9367545ec7eba2707c56df5d81d98 /tools/perf/util/c++/clang-test.cpp | |
parent | 28f46656ad18534f4488590b5447ec48b954420d (diff) |
fs/binfmt_elf.c: coredump: allow process with empty address space to coredump
Unmapping whole address space at once with
munmap(0, (1ULL<<47) - 4096)
or equivalent will create empty coredump.
It is silly way to exit, however registers content may still be useful.
The right to coredump is fundamental right of a process!
Link: http://lkml.kernel.org/r/20191222150137.GA1277@avx2
Signed-off-by: Alexey Dobriyan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions