From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1E634451983 for ; Mon, 28 Sep 2026 07:20:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790580035; cv=none; b=I12CjWMHfgNx6NXAevF3B414WmUZyMFeNQyzwaxszsuvJuFLo98KBcGFmxbvYy4g+QeL6ckQPhavTNXb7CY4FST+tQUOSWeGpE60pNIqEcDjV9tJmuvcFzeDoFloN52pEFBOGo7tkmUz6LuVH09k6CekKsROtAnNCtBqAeuDmPU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790580035; c=relaxed/simple; bh=bJ7inLh4C725HHCujMEt/LH+4GpdepLKY1PwA0rtMnc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Lzsns4oAUgqRUx/W6pZ0CYqIPjOjxDvLWkRmgmkKg4nL87aN9y03El8cuf9tqfkiXCdcixRTU+FGLV8jfUsTEBCyVaY+O4LAacRy2/JVmda2yYbSUeGulEAewBIjsj+AVZjI3spwDHbePJWV8TxW+TjtpyWzUZNeiL3sD9pkMGs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=fNGeqJO3; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="fNGeqJO3" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1790580032; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=G1BY6pRx9eA1b7lpUBe/92rB45DJWNRvUWjkYSitEHs=; b=fNGeqJO3+LogHxGcqeBb22L8Cn8ergL5x9EK3KJxsddBbSWyxb+ckPO82fokdyILFEtFEQ zFIpeCRAHtvjOYjN0MEMu2z3loUgkCPn2siWIrrOa8D5eluoqJHLlacWpacE7UCZ+Zk6ti 4KRdgKbz5K7W53uUO1O8ulSBhWHXzYI= Received: from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-62-O3rJCJaxPZazGHv0VjViUQ-1; Mon, 28 Sep 2026 03:20:30 -0400 X-MC-Unique: O3rJCJaxPZazGHv0VjViUQ-1 X-Mimecast-MFC-AGG-ID: O3rJCJaxPZazGHv0VjViUQ_1790580029 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id CBDE31843AC1; Mon, 28 Sep 2026 07:20:28 +0000 (UTC) Received: from thuth-p1g4.redhat.com (unknown [10.44.32.43]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id EA5F51956086; Mon, 28 Sep 2026 07:20:25 +0000 (UTC) From: Thomas Huth To: David Howells , Jarkko Sakkinen , Paul Moore , James Morris , "Serge E. Hallyn" Cc: keyrings@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] security: keys: Fix comment of search_process_keyrings_rcu() Date: Mon, 28 Sep 2026 09:20:23 +0200 Message-ID: <20260928072024.91664-1-thuth@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 search_my_process_keyrings() has been renamed to search_cred_keyrings_rcu() in commit e59428f721ee ("keys: Move the RCU locks outwards from the keyring search functions"), but one spot has been missed in a comment. Signed-off-by: Thomas Huth --- security/keys/process_keys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/keys/process_keys.c b/security/keys/process_keys.c index a63c46bb2d148..570c131d90d5c 100644 --- a/security/keys/process_keys.c +++ b/security/keys/process_keys.c @@ -528,7 +528,7 @@ key_ref_t search_cred_keyrings_rcu(struct keyring_search_context *ctx) /* * Search the process keyrings attached to the supplied cred for the first - * matching key in the manner of search_my_process_keyrings(), but also search + * matching key in the manner of search_cred_keyrings_rcu(), but also search * the keys attached to the assumed authorisation key using its credentials if * one is available. * -- 2.55.0