Kees Cook
1404297ebf
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 <keescook@chromium.org>
Cc: Amitkumar Karwar <akarwar@marvell.com>
Cc: Nishant Sarmukadam <nishants@marvell.com>
Cc: Kalle Valo <kvalo@codeaurora.org>
Cc: Steve French <sfrench@samba.org>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Joe Perches <joe@perches.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-03-17 15:09:34 -07:00
..
2016-01-22 18:04:28 -05:00
2016-01-20 17:09:18 -08:00
2016-02-20 00:15:51 -05:00
2016-01-22 18:04:28 -05:00
2016-03-15 16:55:16 -07:00
2016-01-14 16:00:49 -08:00
2016-01-14 16:00:49 -08:00
2016-03-17 15:09:34 -07:00
2016-01-22 18:04:28 -05:00
2016-03-04 21:00:37 +01:00
2016-03-17 15:09:34 -07:00
2016-01-23 12:24:56 -08:00
2016-01-22 18:04:28 -05:00
2015-12-08 22:41:36 -05:00
2016-01-22 18:04:28 -05:00
2016-02-06 23:45:46 -08:00
2016-01-21 17:45:15 -05:00
2016-01-22 18:04:28 -05:00
2016-02-10 16:25:52 +00:00
2016-01-14 16:00:49 -08:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00
2016-02-27 12:46:16 -08:00
2016-03-09 19:33:05 -08:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00
2015-12-08 22:41:36 -05:00
2015-11-11 02:11:02 -05:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00
2016-02-27 19:15:51 -05:00
2016-01-22 18:04:28 -05:00
2016-01-14 16:00:49 -08:00
2016-01-06 13:03:18 -05:00
2016-03-11 10:13:49 -08:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00
2016-01-07 10:10:50 -05:00
2016-01-22 18:04:28 -05:00
2016-01-14 16:00:49 -08:00
2016-03-07 22:25:16 -05:00
2016-02-22 17:46:34 -05:00
2015-08-13 10:22:06 -04:00
2016-01-22 18:04:28 -05:00
2016-03-17 15:09:34 -07:00
2016-02-18 16:23:24 -08:00
2016-01-22 18:04:28 -05:00
2016-03-15 16:55:16 -07:00
2015-05-28 18:25:19 -07:00
2016-01-14 16:00:49 -08:00
2016-03-03 17:17:46 +01:00
2016-03-17 15:09:34 -07:00
2016-01-22 18:04:28 -05:00
2016-01-14 16:00:49 -08:00
2016-01-14 16:00:49 -08:00
2016-01-22 18:04:28 -05:00
2015-12-08 22:41:36 -05:00
2016-01-22 18:04:28 -05:00
2016-01-14 16:00:49 -08:00
2016-01-14 16:00:49 -08:00
2015-11-13 21:53:18 -08:00
2016-01-14 16:00:49 -08:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00
2016-01-23 12:24:56 -08:00
2016-01-14 16:00:49 -08:00
2016-03-15 16:55:16 -07:00
2015-09-04 16:54:41 -07:00
2016-01-22 18:04:28 -05:00
2015-12-06 21:17:14 -05:00
2015-11-10 12:07:22 -08:00
2016-02-27 10:28:52 -08:00
2016-01-22 18:04:28 -05:00
2016-02-27 10:28:52 -08:00
2016-03-15 16:55:16 -07:00
2015-08-05 13:49:35 -07:00
2016-01-27 10:48:26 -05:00
2016-01-04 10:28:32 -05:00
2016-01-20 17:09:18 -08:00
2016-03-09 15:43:42 -08:00
2016-02-29 12:16:43 -05:00
2016-01-30 22:02:10 -07:00
2015-08-17 18:39:46 -04:00
2015-12-08 14:52:03 +01:00
2016-03-17 15:09:34 -07:00
2016-01-22 18:04:28 -05:00
2016-01-09 02:55:37 -05:00
2015-06-02 10:29:07 -07:00
2015-08-07 04:39:40 +03:00
2016-01-14 16:00:49 -08:00
2016-01-19 12:02:23 -05:00
2015-04-09 11:39:55 -05:00
2016-03-03 14:42:50 -07:00
2016-02-16 14:57:21 -07:00
2016-01-08 21:20:11 -05:00
2016-01-22 18:04:28 -05:00
2016-01-15 17:56:32 -08:00
2015-04-14 16:49:05 -07:00
2016-01-22 18:04:28 -05:00
2016-01-22 18:04:28 -05:00
2015-10-15 10:33:21 -04:00
2015-06-30 19:44:56 -07:00
2016-03-15 16:55:16 -07:00
2016-02-27 19:37:37 -05:00
2016-01-22 18:04:28 -05:00
2015-09-11 15:21:34 -07:00
2016-01-22 18:04:28 -05:00
2016-01-19 19:25:21 -05:00
2016-02-20 00:15:52 -05:00
2015-07-22 20:33:27 -05:00
2015-12-13 19:46:12 -05:00
2015-12-06 21:17:16 -05:00
2016-02-27 19:15:51 -05:00
2016-01-22 18:04:28 -05:00
2016-03-17 15:09:34 -07:00
2015-11-06 17:50:42 -08:00
2015-08-07 04:39:40 +03:00
2016-01-09 02:55:35 -05:00
2016-01-16 11:17:23 -08:00
2016-03-03 14:42:50 -07:00
2015-11-06 17:50:42 -08:00
2016-01-17 11:13:55 +01:00
2016-03-02 09:03:18 -08:00
2016-01-22 18:04:28 -05:00
2016-02-20 00:15:51 -05:00