diff options
author | Tobin C. Harding <[email protected]> | 2018-04-10 16:33:31 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2018-04-11 10:28:36 -0700 |
commit | e3c6bc95668b9b9fc1e74f221551dfa622ea9061 (patch) | |
tree | 5944aab0e08634b8b89b96f9a95dfa56c0133d40 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | e3d95a2a05afd6b51ade4686291b0ed8581dd5e5 (diff) |
checkpatch: warn for use of %px
Usage of the new %px specifier potentially leaks sensitive information.
Printing kernel addresses exposes the kernel layout in memory, this is
potentially exploitable. We have tools in the kernel to help us do the
right thing. We can have checkpatch warn developers of potential
dangers of using %px.
Have checkpatch emit a warning for usage of specifier %px.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Tobin C. Harding <[email protected]>
Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions