RFC Fix restart_block syscall restarting for 3.5
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest8 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | Revert "arm: remove unused restart trampoline"arch/ arch/ arch/ | +17 | 0 replies | |
| 2/8 | Revert "arm: new way of handling ERESTART_RESTARTBLOCK"arch/ arch/ arch/ | +28 | 0 replies | |
| 3/8 | audit: arm: only allow syscall auditing for pure EABI userspaceinit/ | +1 | 0 replies | |
| 4/8 | ARM: entry: don't bother with syscall tracing on ret_from_fork patharch/ | +0 | 0 replies | |
| 5/8 | ARM: audit: move syscall auditing until after ptrace SIGTRAP handlingarch/ | +9 | 0 replies | |
| 6/8 | ARM: ptrace: provide separate functions for tracing syscall {entry, exit}arch/ arch/ | +31 | 0 replies | |
| 7/8 | ARM: signal: perform restart_block system call restarting in the kernelarch/ arch/ arch/ +2 more | +57 | 0 replies | |
| 8/8 | Revert "Revert "arm: remove unused restart trampoline""arch/ arch/ arch/ | +0 | 0 replies |
Reviews trailers per patch
7 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Catalin Marinas | Al Viro |
|---|---|---|
| 1/8 | A-b | |
| 2/8 | A-b | |
| 3/8 | R-b | |
| 4/8 | R-b | |
| 5/8 | R-b | |
| 6/8 | R-b | |
| 7/8 | R-b | Heavily-inspired-by |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC PATCH 0/8] Fix restart_block syscall restarting for 3.5
Hello,
This RFC series attempts to address the syscall restarting problems introduced during the merge window and described here:
http://lists.infradead.org/pipermail/linux-arm-kernel/2012-June/104733.html
I reckon the first two reverts should go in for 3.5 unless anybody has a better solution. The rest of the code is an RFC since, as Russell has said before, the code is `rather yucky'.
In my effort to avoid breaking strace, I ended up merging in my audit fixes with this series since keeping the patch sets separate was becoming a bit of a nightmare given the amount of common code they are modifying.
Given the mysterious ability of this code to wrap my brain around my face and beat it with a hammer, I would really appreciate some feedback!
Cheers,
Will
Will Deacon (8):
Revert "arm: remove unused restart trampoline"
Revert "arm: new way of handling ERESTART_RESTARTBLOCK"
audit: arm: only allow syscall auditing for pure EABI userspace
ARM: entry: don't bother with syscall tracing on ret_from_fork path
ARM: audit: move syscall auditing until after ptrace SIGTRAP handling
ARM: ptrace: provide separate functions for tracing syscall
{entry,exit} ARM: signal: perform restart_block system call restarting in the
kernel
Revert "Revert "arm: remove unused restart trampoline""
arch/arm/include/asm/ptrace.h | 3 ++ arch/arm/include/asm/thread_info.h | 11 +++--- arch/arm/kernel/calls.S | 2 +- arch/arm/kernel/entry-common.S | 25 ++++++-------- arch/arm/kernel/ptrace.c | 37 +++++++++++++------- arch/arm/kernel/signal.c | 63 ++++++++++++++++++++++++------------ init/Kconfig | 2 +- 7 files changed, 88 insertions(+), 55 deletions(-)
Signature · 1 line
1.7.4.1