Re: [PATCH] Revert: audit: Fix check of return value of strnlen_user()
From: Steven Rostedt
Date: Thu Jul 09 2015 - 00:08:43 EST
On Wed, 8 Jul 2015 12:29:43 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> I tested the following patch. Feel free to author it yourself and just
> add my reported/tested-by tags, or give it to me. Either way, I don't
> care. I just want it fixed so that it doesn't make my own tests fail.
>
OK, you posted your version of the patch, and you just had to include
the quote from me that happened to have a grammar mistake:
As reported by Steven Rostedt:
"Yes, strnlen_user() returns 0 on fault, but if you look at what len is
set to, than you would notice that on fault len would be -1"
Ug, my "than" stupidity is forever carved in the git stone logs.
At least you didn't stick a "(sic)" in there.
-- Steve
--
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/