Re: [PATCH v3 4/7] KEYS: split call to call_usermodehelper_fns()
From: James Morris
Date: Mon Mar 11 2013 - 21:05:10 EST
On Mon, 11 Mar 2013, Lucas De Marchi 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: James Morris <james.l.morris@xxxxxxxxxx>
--
James Morris
<jmorris@xxxxxxxxx>
--
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/