diff options
| author | Borislav Petkov <[email protected]> | 2019-02-12 13:28:03 +0000 |
|---|---|---|
| committer | Borislav Petkov <[email protected]> | 2019-02-13 11:10:51 +0000 |
| commit | 10970e1b4be9c74fce8ab6e3c34a7d718f063f2c (patch) | |
| tree | 679b860fb9f0bb90068d414aca73005dc007cc9e /tools/perf/util/c++/clang.cpp | |
| parent | x86/mm: Make set_pmd_at() paravirt aware (diff) | |
| download | kernel-10970e1b4be9c74fce8ab6e3c34a7d718f063f2c.tar.gz kernel-10970e1b4be9c74fce8ab6e3c34a7d718f063f2c.zip | |
x86/a.out: Clear the dump structure initially
dump_thread32() in aout_core_dump() does not clear the user32 structure
allocated on the stack as the first thing on function entry.
As a result, the dump.u_comm, dump.u_ar0 and dump.signal which get
assigned before the clearing, get overwritten.
Rename that function to fill_dump() to make it clear what it does and
call it first thing.
This was caught while staring at a patch by Derek Robson
<[email protected]>.
Signed-off-by: Borislav Petkov <[email protected]>
Cc: Derek Robson <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Michael Matz <[email protected]>
Cc: [email protected]
Cc: <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions
