History

Merge tag 'core_urgent_for_v5.11_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull syscall entry fixes from Borislav Petkov: - For syscall user dispatch, separate prctl operation from syscall redirection range specification before the API has been made official in 5.11. - Ensure tasks using the generic syscall code do trap after returning from a syscall when single-stepping is requested. * tag 'core_urgent_for_v5.11_rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: entry: Use different define for selector variable in SUD entry: Ensure trap after single-step on system call return

Linus Torvalds committed 5 years ago

Commit c6792d42 parents 6fed85d 36a6c8410 files · +33 −27Browse files

Showing the changes to include/linux (2 of 10 files). Show all

Unified · Split

2 files
  1. include/linux/entry-common.h +1 −0
  2. include/linux/thread_info.h +2 −0
include/linux/entry-common.h+1−0
@@ -46,6 +46,7 @@ · 45 unmodified lines
4646 SYSCALL_WORK_SYSCALL_TRACE | \
4747 SYSCALL_WORK_SYSCALL_AUDIT | \
4848 SYSCALL_WORK_SYSCALL_USER_DISPATCH | \
49+ SYSCALL_WORK_SYSCALL_EXIT_TRAP | \
4950 ARCH_SYSCALL_WORK_EXIT)
5051
5152 /*
include/linux/thread_info.h+2−0
@@ -43,6 +43,7 @@ enum syscall_work_bit { · 42 unmodified lines
4343 SYSCALL_WORK_BIT_SYSCALL_EMU,
4444 SYSCALL_WORK_BIT_SYSCALL_AUDIT,
4545 SYSCALL_WORK_BIT_SYSCALL_USER_DISPATCH,
46+ SYSCALL_WORK_BIT_SYSCALL_EXIT_TRAP,
4647 };
4748
4849 #define SYSCALL_WORK_SECCOMP BIT(SYSCALL_WORK_BIT_SECCOMP)
@@ -51,6 +52,7 @@ enum syscall_work_bit { · 2 unmodified lines
5152 #define SYSCALL_WORK_SYSCALL_EMU BIT(SYSCALL_WORK_BIT_SYSCALL_EMU)
5253 #define SYSCALL_WORK_SYSCALL_AUDIT BIT(SYSCALL_WORK_BIT_SYSCALL_AUDIT)
5354 #define SYSCALL_WORK_SYSCALL_USER_DISPATCH BIT(SYSCALL_WORK_BIT_SYSCALL_USER_DISPATCH)
55+#define SYSCALL_WORK_SYSCALL_EXIT_TRAP BIT(SYSCALL_WORK_BIT_SYSCALL_EXIT_TRAP)
5456 #endif
5557
5658 #include <asm/thread_info.h>

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t