]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - security/keys/process_keys.c
kernel: rename is_single_threaded(task) to current_is_single_threaded(void)
[thirdparty/linux.git] / security / keys / process_keys.c
index 276d27882ce84394d7d6ce5b0c12d82e05f89987..ed929af466d358ee9fce44fb31346ce5fe2637e8 100644 (file)
@@ -702,7 +702,7 @@ long join_session_keyring(const char *name)
        /* only permit this if there's a single thread in the thread group -
         * this avoids us having to adjust the creds on all threads and risking
         * ENOMEM */
-       if (!is_single_threaded(current))
+       if (!current_is_single_threaded())
                return -EMLINK;
 
        new = prepare_creds();