When lookup_user_key() is available, use the kernel API rather than directly accessing the desired keyring via the current process's credentials.