security: keys: Fix comment of search_process_keyrings_rcu()
Subsystems (2)
PATCH 1/1 security: keys: Fix comment of search_process_keyrings_rcu()
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.
--- security/keys/process_keys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
security/keys/process_keys.c +1 -1
@@ -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. *
Signature · 1 line
2.55.0
[email protected]
AI reviewSashiko has reviewed this patch and found no issues. It looks great!
Quoted 5 lines
search_my_process_keyrings()has been renamed tosearch_cred_keyrings_rcu()in commite59428f721ee("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 <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Quoted 14 lines · Thomas Huth
search_my_process_keyrings()has been renamed tosearch_cred_keyrings_rcu()in commite59428f721ee("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 <[email protected]>--- security/keys/process_keys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)security/keys/process_keys.c +0
-0
security/keys/process_keys.c key_ref_t search_cred_keyrings_rcu(struct keyring_search_context *ctx) · line 532
Quoted 6 lines
security/keys/process_keys.c +1
-1@@ -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
Quoted 2 lines
security/keys/process_keys.c +0
-0* one is available. *
Signature · 2 lines
Best regards, Jinjie
Quoted 25 lines · Thomas Huth
search_my_process_keyrings()has been renamed tosearch_cred_keyrings_rcu()in commite59428f721ee("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 <[email protected]>--- security/keys/process_keys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)security/keys/process_keys.c +1
-1@@ -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. * Signature · 1 line
2.55.0
Thanks.
Br, Jarkko