diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-05-09 05:36:38 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-05-09 05:36:38 +0200 |
commit | 00d959333513a41959d3b85ba3e35320ec8844e5 (patch) | |
tree | e162a6aa9c203740629e3756b38dceb11968adae /fs/proc | |
parent | Merge tags 'for-linus' and 'for-next' of git://git.kernel.org/pub/scm/linux/k... (diff) | |
parent | ftrace: Simplify ftrace_match_record() even more (diff) | |
download | linux-00d959333513a41959d3b85ba3e35320ec8844e5.tar.xz linux-00d959333513a41959d3b85ba3e35320ec8844e5.zip |
Merge tag 'trace-v4.12-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
Pull more tracing updates from Steven Rostedt:
"These are three simple changes.
The first one is just a switch from using strcpy() to strlcpy().
Someone thought that it may cause an overflow bug, but since it only
copies comms into a pre-allocated array of TASK_COMM_LEN, and no comm
should ever be bigger than that, nor not end with a nul character,
this change is more of a safety precaution than fixing anything that
is actually broken.
The other two changes are simply cleaning and optimizing some code"
* tag 'trace-v4.12-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
ftrace: Simplify ftrace_match_record() even more
ftrace: Remove an unneeded condition
tracing: Use strlcpy() instead of strcpy() in __trace_find_cmdline()
Diffstat (limited to 'fs/proc')
0 files changed, 0 insertions, 0 deletions