diff options
author | Kees Cook <keescook@chromium.org> | 2020-09-19 01:09:36 -0700 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-09-22 18:24:46 +0200 |
commit | 900ffe39fec908e0aa26a30612e43ebc7140db79 (patch) | |
tree | ed0ab3aeced687ebbe3c6761243721dec629039d /kernel/entry | |
parent | 93921baa3f6ff77e57d7e772165aa7bd709b5387 (diff) | |
download | linux-900ffe39fec908e0aa26a30612e43ebc7140db79.tar.gz linux-900ffe39fec908e0aa26a30612e43ebc7140db79.tar.bz2 linux-900ffe39fec908e0aa26a30612e43ebc7140db79.zip |
x86/entry: Fix typo in comments for syscall_enter_from_user_mode()
Just to help myself and others with finding the correct function names,
fix a typo for "usermode" vs "user_mode".
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200919080936.259819-1-keescook@chromium.org
Diffstat (limited to 'kernel/entry')
-rw-r--r-- | kernel/entry/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/entry/common.c b/kernel/entry/common.c index fcae019158ca..7c7b9d00338a 100644 --- a/kernel/entry/common.c +++ b/kernel/entry/common.c @@ -183,7 +183,7 @@ static inline bool report_single_step(unsigned long ti_work) /* * If TIF_SYSCALL_EMU is set, then the only reason to report is when * TIF_SINGLESTEP is set (i.e. PTRACE_SYSEMU_SINGLESTEP). This syscall - * instruction has been already reported in syscall_enter_from_usermode(). + * instruction has been already reported in syscall_enter_from_user_mode(). */ #define SYSEMU_STEP (_TIF_SINGLESTEP | _TIF_SYSCALL_EMU) |