aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorRoss Zwisler <[email protected]>2017-09-06 16:18:54 -0700
committerLinus Torvalds <[email protected]>2017-09-06 17:27:24 -0700
commita2e050f5a9a9bd2b632d67bd06d87088e6a02dae (patch)
treea7cc6d57eccb6b9e168c51ff5d1baf065f62dae7 /tools/perf/scripts/python/stackcollapse.py
parent527b19d0808e75fbba896beb2435c2b4d6bcd32a (diff)
dax: explain how read(2)/write(2) addresses are validated
Add a comment explaining how the user addresses provided to read(2) and write(2) are validated in the DAX I/O path. We call dax_copy_from_iter() or copy_to_iter() on these without calling access_ok() first in the DAX code, and there was a concern that the user might be able to read/write to arbitrary kernel addresses with this path. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ross Zwisler <[email protected]> Reviewed-by: Jan Kara <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Dan Williams <[email protected]> Cc: Matthew Wilcox <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions