Re: [PATCH RESEND] binfmt_elf: fix comment typo s/reset/regset/

From: Kees Cook
Date: Fri Jun 23 2023 - 12:38:57 EST


On Fri, Jun 23, 2023 at 08:56:44AM +0300, Baruch Siach wrote:
> Signed-off-by: Baruch Siach <baruch@xxxxxxxxxx>
> ---
>
> Resending with LKML in Cc. kvack.org MX does not like our mail server.
> ---
> fs/binfmt_elf.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git fs/binfmt_elf.c fs/binfmt_elf.c
> index 8a884e795f6a..f304a3434c5a 100644
> --- fs/binfmt_elf.c
> +++ fs/binfmt_elf.c

Same formatting issue with this one.

> @@ -1773,7 +1773,7 @@ static int fill_thread_core_info(struct elf_thread_core_info *t,
> /*
> * NT_PRSTATUS is the one special case, because the regset data
> * goes into the pr_reg field inside the note contents, rather
> - * than being the whole note contents. We fill the reset in here.
> + * than being the whole note contents. We fill the regset in here.
> * We assume that regset 0 is NT_PRSTATUS.
> */
> fill_prstatus(&t->prstatus.common, t->task, signr);

But thank you; I've applied both to the execve tree:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/log/?h=for-next/execve

-Kees

--
Kees Cook