summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_elf.c
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2023-06-23 07:56:44 +0200
committerKees Cook <keescook@chromium.org>2023-06-23 18:36:30 +0200
commitaa88054b70905069d1cf706aa5e9a3418d1d341d (patch)
tree09144ca8a5992a8b9295b4ec91de10f5cbcef350 /fs/binfmt_elf.c
parentelf: correct note name comment (diff)
downloadlinux-aa88054b70905069d1cf706aa5e9a3418d1d341d.tar.xz
linux-aa88054b70905069d1cf706aa5e9a3418d1d341d.zip
binfmt_elf: fix comment typo s/reset/regset/
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
Diffstat (limited to 'fs/binfmt_elf.c')
-rw-r--r--fs/binfmt_elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c
index 44b4c42ab8e8..983ce34115d5 100644
--- a/fs/binfmt_elf.c
+++ b/fs/binfmt_elf.c
@@ -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);