torture: Avoid format string leak to thead name
authorKees Cook <keescook@chromium.org>
Thu, 22 May 2014 18:51:04 +0000 (11:51 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 7 Jul 2014 17:12:56 +0000 (10:12 -0700)
commit6945915e7f949e213c525d4eb244be87ec92f3d1
tree284e98cf0402cc53cfdae22c7719d4ed9a413779
parent9bee2c6fb49d93678e4fb506a911c0b5ffe455ee
torture: Avoid format string leak to thead name

Since the torture-test thread creation interface does not include
format string arguments, this commit makes sure the name can never be
accidentally processed as a format string.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/torture.c