]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/kmod.c
KEYS: Alter use of key instantiation link-to-keyring argument
[linux-2.6-omap-h63xx.git] / kernel / kmod.c
index 3d3c3ea3a023376f2ecf8c16b6c89aed39da67f4..f044f8f577030dabff0e43e8bed92439068f46f7 100644 (file)
@@ -140,7 +140,7 @@ static int ____call_usermodehelper(void *data)
        /* Unblock all signals and set the session keyring. */
        new_session = key_get(sub_info->ring);
        spin_lock_irq(&current->sighand->siglock);
-       old_session = __install_session_keyring(current, new_session);
+       old_session = __install_session_keyring(new_session);
        flush_signal_handlers(current, 1);
        sigemptyset(&current->blocked);
        recalc_sigpending();