Re: [PATCH] Set bounds on what /proc/self/make-it-fail accepts.

From: David Rientjes
Date: Wed Feb 19 2014 - 16:37:25 EST


On Wed, 19 Feb 2014, Akinobu Mita wrote:

> I don't have any plans to extend /proc/self/make-it-fail to support
> other than 0 or 1. So I have no objection against this change.
>
> Reviewed-by: Akinobu Mita <akinobu.mita@xxxxxxxxx>
>

Ok, thanks. I hoped that the simple_strtol() would have been replaced by
kstrtoint() since it's the preferred interface to make a lot of this
simpler and then just test for val == !!val, but the minimal change is
fine as well.

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/