Re: [PATCH v3 4/7] KEYS: split call to call_usermodehelper_fns()

From: David Howells
Date: Mon Mar 25 2013 - 08:56:18 EST


Lucas De Marchi <lucas.demarchi@xxxxxxxxxxxxxx> wrote:

> Use call_usermodehelper_setup() + call_usermodehelper_exec() instead of
> calling call_usermodehelper_fns(). In case there's an OOM in this last
> function the cleanup function may not be called - in this case we would
> miss a call to key_put().
>
> Signed-off-by: Lucas De Marchi <lucas.demarchi@xxxxxxxxxxxxxx>

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