aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDan Rosenberg <[email protected]>2012-07-30 14:40:26 -0700
committerLinus Torvalds <[email protected]>2012-07-30 17:25:14 -0700
commit3715c5309f6d175c3053672b73fd4f73be16fd07 (patch)
tree1edebc7992a0df311b4fffc5b5f58f206a0cc2fb /tools/perf/scripts/python/bin
parent80f548e04d0b1d67d4fa8f59dbecc247f7b71c92 (diff)
lib/vsprintf.c: kptr_restrict: fix pK-error in SysRq show-all-timers(Q)
When using ALT+SysRq+Q all the pointers are replaced with "pK-error" like this: [23153.208033] .base: pK-error with echo h > /proc/sysrq-trigger it works: [23107.776363] .base: ffff88023e60d540 The intent behind this behavior was to return "pK-error" in cases where the %pK format specifier was used in interrupt context, because the CAP_SYSLOG check wouldn't be meaningful. Clearly this should only apply when kptr_restrict is actually enabled though. Reported-by: Stevie Trujillo <[email protected]> Signed-off-by: Dan Rosenberg <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions