diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-05-08 20:36:38 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-05-08 20:36:38 -0700 |
commit | 00d959333513a41959d3b85ba3e35320ec8844e5 (patch) | |
tree | e162a6aa9c203740629e3756b38dceb11968adae /fs/pstore | |
parent | 3341713c67d5eae5c68bab30add97e9f9ecfafa5 (diff) | |
parent | 77c0eddeeeee14bf0fb0c0bb97e782981bbcf084 (diff) |
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/pstore')
0 files changed, 0 insertions, 0 deletions