Commit a338630
arm64/ptrace: Return early for ptrace_report_syscall_entry() error
The generic entry abort the syscall_trace_enter() sequence if
ptrace_report_syscall_entry() errors out, but arm64 not.
When ptrace requests interception, it should prevent all subsequent
system-call processing, including audit and seccomp. In preparation for
moving arm64 over to the generic entry code, return early if
ptrace_report_syscall_entry() encounters an error.
Reviewed-by: Kevin Brodsky <kevin.brodsky@arm.com>
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Signed-off-by: Will Deacon <will@kernel.org>1 parent 741a900 commit a338630
1 file changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2372 | 2372 | | |
2373 | 2373 | | |
2374 | 2374 | | |
2375 | | - | |
| 2375 | + | |
2376 | 2376 | | |
2377 | 2377 | | |
2378 | | - | |
| 2378 | + | |
2379 | 2379 | | |
2380 | 2380 | | |
2381 | | - | |
| 2381 | + | |
| 2382 | + | |
2382 | 2383 | | |
2383 | 2384 | | |
| 2385 | + | |
| 2386 | + | |
2384 | 2387 | | |
2385 | 2388 | | |
2386 | 2389 | | |
| |||
2407 | 2410 | | |
2408 | 2411 | | |
2409 | 2412 | | |
| 2413 | + | |
2410 | 2414 | | |
2411 | 2415 | | |
2412 | | - | |
2413 | | - | |
| 2416 | + | |
| 2417 | + | |
2414 | 2418 | | |
2415 | 2419 | | |
2416 | 2420 | | |
| |||
0 commit comments