diff options
author | Dave Jones <davej@redhat.com> | 2014-04-08 00:39:15 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-08 01:36:10 +0200 |
commit | 16caed319604609a5579df132fce362a456170d7 (patch) | |
tree | 4957342fcb459c2821297167362616ed38ce202c /init/initramfs.c | |
parent | x86: always define BUG() and HAVE_ARCH_BUG, even with !CONFIG_BUG (diff) | |
download | linux-16caed319604609a5579df132fce362a456170d7.tar.xz linux-16caed319604609a5579df132fce362a456170d7.zip |
fault-injection: set bounds on what /proc/self/make-it-fail accepts.
/proc/self/make-it-fail is a boolean, but accepts any number, including
negative ones. Change variable to unsigned, and cap upper bound at 1.
[akpm@linux-foundation.org: don't make make_it_fail unsigned]
Signed-off-by: Dave Jones <davej@fedoraproject.org>
Reviewed-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init/initramfs.c')
0 files changed, 0 insertions, 0 deletions