]> Git Repo - linux.git/commit
lib: move strtobool() to kstrtobool()
authorKees Cook <[email protected]>
Thu, 17 Mar 2016 21:22:50 +0000 (14:22 -0700)
committerLinus Torvalds <[email protected]>
Thu, 17 Mar 2016 22:09:34 +0000 (15:09 -0700)
commitef951599074ba4fad2d0efa0a977129b41e6d203
treedcbd4d37ac7bb455efe788b9df90d24632bbfa25
parente3bde9568d992c5f985e6e30731a5f9f9bef7b13
lib: move strtobool() to kstrtobool()

Create the kstrtobool_from_user() helper and move strtobool() logic into
the new kstrtobool() (matching all the other kstrto* functions).
Provides an inline wrapper for existing strtobool() callers.

Signed-off-by: Kees Cook <[email protected]>
Cc: Joe Perches <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Cc: Rasmus Villemoes <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: Amitkumar Karwar <[email protected]>
Cc: Nishant Sarmukadam <[email protected]>
Cc: Kalle Valo <[email protected]>
Cc: Steve French <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/kernel.h
include/linux/string.h
lib/kstrtox.c
lib/string.c
This page took 0.057595 seconds and 4 git commands to generate.