diff options
Diffstat (limited to 'security/keys/process_keys.c')
-rw-r--r-- | security/keys/process_keys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keys/process_keys.c b/security/keys/process_keys.c index 276d27882ce8..ed929af466d3 100644 --- a/security/keys/process_keys.c +++ b/security/keys/process_keys.c | |||
@@ -702,7 +702,7 @@ long join_session_keyring(const char *name) | |||
702 | /* only permit this if there's a single thread in the thread group - | 702 | /* only permit this if there's a single thread in the thread group - |
703 | * this avoids us having to adjust the creds on all threads and risking | 703 | * this avoids us having to adjust the creds on all threads and risking |
704 | * ENOMEM */ | 704 | * ENOMEM */ |
705 | if (!is_single_threaded(current)) | 705 | if (!current_is_single_threaded()) |
706 | return -EMLINK; | 706 | return -EMLINK; |
707 | 707 | ||
708 | new = prepare_creds(); | 708 | new = prepare_creds(); |