diff options
| author | Bodo Stroesser <[email protected]> | 2005-09-03 15:57:21 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2005-09-05 00:06:20 -0700 |
| commit | ab1c23c24471c760c573f4fb0dd78e166ddfd844 (patch) | |
| tree | fad0953ece8710b58a14a2a9eed1b1f83fb47f4b /scripts/basic/split-include.c | |
| parent | 1b38f0064e4e0b9ec626e39f0740b1cf2e295743 (diff) | |
[PATCH] SYSEMU: fix sysaudit / singlestep interaction
Paolo 'Blaisorblade' Giarrusso <[email protected]>
This is simply an adjustment for "Ptrace - i386: fix Syscall Audit interaction
with singlestep" to work on top of SYSEMU patches, too. On this patch, I have
some doubts: I wonder why we need to alter that way ptrace_disable().
I left the patch this way because it has been extensively tested, but I don't
understand the reason.
The current PTRACE_DETACH handling simply clears child->ptrace; actually this
is not enough because entry.S just looks at the thread_flags; actually,
do_syscall_trace checks current->ptrace but I don't think depending on that is
good, at least for performance, so I think the clearing is done elsewhere.
For instance, on PTRACE_CONT it's done, but doing PTRACE_DETACH without
PTRACE_CONT is possible (and happens when gdb crashes and one kills it
manually).
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[email protected]>
CC: Roland McGrath <[email protected]>
Cc: Jeff Dike <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions