]> Git Repo - linux.git/commitdiff
x86/entry: Fix typo in comments for syscall_enter_from_user_mode()
authorKees Cook <[email protected]>
Sat, 19 Sep 2020 08:09:36 +0000 (01:09 -0700)
committerBorislav Petkov <[email protected]>
Tue, 22 Sep 2020 16:24:46 +0000 (18:24 +0200)
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 <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
include/linux/entry-common.h
kernel/entry/common.c

index efebbffcd5cc971dfc5197e32eea6bbdd991dc2c..3b6754d5a6043abb218ae620590f5bdd2153ee20 100644 (file)
@@ -38,7 +38,7 @@
 #endif
 
 /*
- * TIF flags handled in syscall_enter_from_usermode()
+ * TIF flags handled in syscall_enter_from_user_mode()
  */
 #ifndef ARCH_SYSCALL_ENTER_WORK
 # define ARCH_SYSCALL_ENTER_WORK       (0)
index fcae019158cad4c63df4305aed1c6308b427b722..7c7b9d00338aefb9a28754dcd6d0b60cbb93b9a9 100644 (file)
@@ -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)
 
This page took 0.065589 seconds and 4 git commands to generate.