binfmt_elf: fix comment typo s/reset/regset/
authorBaruch Siach <baruch@tkos.co.il>
Fri, 23 Jun 2023 05:56:44 +0000 (08:56 +0300)
committerKees Cook <keescook@chromium.org>
Fri, 23 Jun 2023 16:36:30 +0000 (09:36 -0700)
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/0b2967c4a4141875c493e835d5a6f8f2d19ae2d6.1687499804.git.baruch@tkos.co.il
fs/binfmt_elf.c

index 44b4c42..983ce34 100644 (file)
@@ -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);