lkml.org 
[lkml]   [2020]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: arm64: Register modification during syscall entry/exit stop
    On Sun, May 31, 2020 at 12:20:51PM -0400, Keno Fischer wrote:
    > > Can't PTRACE_SYSEMU be emulated by using PTRACE_SYSCALL, cancelling the
    > > syscall at the syscall enter stop, then modifying the regs at the
    > > syscall exit stop?
    >
    > Yes, it can. The idea behind SYSEMU is to be able to save half the
    > ptrace traps that would require, in theory making the ptracer
    > a decent amount faster. That said, the x7 issue is orthogonal to
    > SYSEMU, you'd have the same issues if you used PTRACE_SYSCALL.

    Right, I just wondered whether there was some deeper difference between
    the two approaches.

    Cheers
    ---Dave

    \
     
     \ /
      Last update: 2020-06-01 11:24    [W:4.675 / U:0.224 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site