Re: [RFC PATCH 5 6/7] KEYS - use correct memory allocation flag in call_usermodehelper_keys()

From: David Howells
Date: Thu Apr 02 2015 - 09:00:23 EST


Ian Kent <raven@xxxxxxxxxx> wrote:

> When call_usermodehelper_keys() is called it assumes it won't be called
> with the flag UMH_NO_WAIT. Currently that's always the case.
>
> Change this to check the flag and use the correct kernel memory allocation
> flag to guard against future changes.
>
> Signed-off-by: Ian Kent <ikent@xxxxxxxxxx>

I think this is okay.

Reviewed-by: David Howells <dhowells@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/