diff options
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2013-05-01 00:28:05 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-01 02:04:06 +0200 |
commit | 93997f6ddb9d574cd58694f13c5b15212927bfa1 (patch) | |
tree | 730d902f168df136dad8b7a2b0b438a2929311f3 /virt/kvm | |
parent | kmod: split call to call_usermodehelper_fns() (diff) | |
download | linux-93997f6ddb9d574cd58694f13c5b15212927bfa1.tar.xz linux-93997f6ddb9d574cd58694f13c5b15212927bfa1.zip |
KEYS: split call to call_usermodehelper_fns()
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@profusion.mobi>
Cc: Oleg Nesterov <oleg@redhat.com>
Acked-by: David Howells <dhowells@redhat.com>
Acked-by: James Morris <james.l.morris@oracle.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Tejun Heo <tj@kernel.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions