diff options
author | Marco Elver <elver@google.com> | 2021-08-09 13:25:14 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2021-09-14 01:41:19 +0200 |
commit | 6c65eb75686fc2068c926a73c9c3631b5f0e4c9c (patch) | |
tree | 1567b7b2f2259b039298e75630eb7a6ba8606dba /fs/cifs/smb2status.h | |
parent | kcsan: Save instruction pointer for scoped accesses (diff) | |
download | linux-6c65eb75686fc2068c926a73c9c3631b5f0e4c9c.tar.xz linux-6c65eb75686fc2068c926a73c9c3631b5f0e4c9c.zip |
kcsan: Start stack trace with explicit location if provided
If an explicit access address is set, as is done for scoped accesses,
always start the stack trace from that location. get_stack_skipnr() is
changed into sanitize_stack_entries(), which if given an address, scans
the stack trace for a matching function and then replaces that entry
with the explicitly provided address.
The previous reports for scoped accesses were all over the place, which
could be quite confusing. We now always point at the start of the scope.
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'fs/cifs/smb2status.h')
0 files changed, 0 insertions, 0 deletions