aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2016-03-17 14:22:54 -0700
committerLinus Torvalds <[email protected]>2016-03-17 15:09:34 -0700
commit1404297ebf76fd91a41de215fc8c94c2619e5fdb (patch)
tree4077098dada46a63e408c80ee22a59bdd6cfbd67 /tools/perf/util/trace-event-scripting.c
parentef951599074ba4fad2d0efa0a977129b41e6d203 (diff)
lib: update single-char callers of strtobool()
Some callers of strtobool() were passing a pointer to unterminated strings. In preparation of adding multi-character processing to kstrtobool(), update the callers to not pass single-character pointers, and switch to using the new kstrtobool_from_user() helper where possible. Signed-off-by: Kees Cook <[email protected]> Cc: Amitkumar Karwar <[email protected]> Cc: Nishant Sarmukadam <[email protected]> Cc: Kalle Valo <[email protected]> Cc: Steve French <[email protected]> Cc: Andy Shevchenko <[email protected]> Cc: Daniel Borkmann <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: Joe Perches <[email protected]> Cc: Kees Cook <[email protected]> Cc: Martin Schwidefsky <[email protected]> Cc: Michael Ellerman <[email protected]> Cc: Rasmus Villemoes <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions