[PATCH] syscall_user_dispatch: Fix grammar in task_set_syscall_user_dispatch()

From: Ingo Molnar
Date: Sat Jun 14 2025 - 02:59:44 EST



* tip-bot2 for Dmitry Vyukov <tip-bot2@xxxxxxxxxxxxx> wrote:

> + /*
> + * access_ok() will clear memory tags for tagged addresses
> + * if current has memory tagging enabled.
> + *
> + * To enable a tracer to set a tracees selector the
> + * selector address must be untagged for access_ok(),
> + * otherwise an untagged tracer will always fail to set a
> + * tagged tracees selector.
> + */

Typo/grammar fixes below. (And feel free to squash this fixlet into the
originator commit.)

Thanks,

Ingo

==================================>

Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>

kernel/entry/syscall_user_dispatch.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/entry/syscall_user_dispatch.c b/kernel/entry/syscall_user_dispatch.c
index a9055eccb27e..d5363bc768fe 100644
--- a/kernel/entry/syscall_user_dispatch.c
+++ b/kernel/entry/syscall_user_dispatch.c
@@ -106,10 +106,10 @@ static int task_set_syscall_user_dispatch(struct task_struct *task, unsigned lon
* access_ok() will clear memory tags for tagged addresses
* if current has memory tagging enabled.
*
- * To enable a tracer to set a tracees selector the
+ * To enable a tracer to set a tracee's selector, the
* selector address must be untagged for access_ok(),
* otherwise an untagged tracer will always fail to set a
- * tagged tracees selector.
+ * tagged tracee's selector.
*/
if (mode != PR_SYS_DISPATCH_OFF && selector &&
!access_ok(untagged_addr(selector), sizeof(*selector)))