aboutsummaryrefslogtreecommitdiffstats
path: root/lib/strncpy_from_user.c
diff options
context:
space:
mode:
authorMasami Ichikawa <[email protected]>2020-01-16 13:12:36 +0000
committerSteven Rostedt (VMware) <[email protected]>2020-01-20 21:18:14 +0000
commitbf24daac8f2bd5b8affaec03c2be1d20bcdd6837 (patch)
tree16b6d0565a085fced05d766e68c2fc503fc58447 /lib/strncpy_from_user.c
parenttracing: Fix histogram code when expression has same var as value (diff)
downloadkernel-bf24daac8f2bd5b8affaec03c2be1d20bcdd6837.tar.gz
kernel-bf24daac8f2bd5b8affaec03c2be1d20bcdd6837.zip
tracing: Do not set trace clock if tracefs lockdown is in effect
When trace_clock option is not set and unstable clcok detected, tracing_set_default_clock() sets trace_clock(ThinkPad A285 is one of case). In that case, if lockdown is in effect, null pointer dereference error happens in ring_buffer_set_clock(). Link: http://lkml.kernel.org/r/[email protected] Cc: [email protected] Fixes: 17911ff38aa58 ("tracing: Add locked_down checks to the open calls of files created for tracefs") Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1788488 Signed-off-by: Masami Ichikawa <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'lib/strncpy_from_user.c')
0 files changed, 0 insertions, 0 deletions