Re: strlen_user and keys

From: David Howells
Date: Mon Apr 10 2006 - 06:18:30 EST


<Andries.Brouwer@xxxxxx> wrote:

> strnlen_user() is documented as returning the string length including
> terminating NUL.

There's now a strndup_user() in Linus's git tree.

> security/keys/keyctl.c does

This now uses strndup_user().

David
-
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/