• Ajay Kaher's avatar
    This patch is to 'Add ARM64 support to peekfd'. · 32432ef9
    Ajay Kaher authored
    ARM64 copy user_pt_regs to user space instead of pt_regs.
    So in this patch, mapping the require user_pt_regs except orig_x0,
    as orig_x0 not available in user_pt_regs for SYSCALL exit.
    
    For each SYSCALL, peekfd catches user_pt_regs for SYSCALL entry/exit.
    Value of orig_x0 is available in user_pt_regs->x0 of SYSCALL entry.
    
    So to get orig_x0, stores user_pt_regs of SYSCALL entry,
    and then compare 'fd and addr of buffer' of  SYSCALL exit
    with SYSCALL entry to retrive orig_x0 at the time of SYSCALL exit.
    Signed-off-by: Ajay Kaher's avatarAjay Kaher <akaher@vmware.com>
    32432ef9
Name
Last commit
Last update
..
.gitignore Loading commit data...
comm.h Loading commit data...
fuser.c Loading commit data...
fuser.h Loading commit data...
i18n.h Loading commit data...
killall.c Loading commit data...
lists.h Loading commit data...
peekfd.c Loading commit data...
prtstat.c Loading commit data...
prtstat.h Loading commit data...
pslog.c Loading commit data...
pstree.c Loading commit data...
signals.c Loading commit data...
signals.h Loading commit data...
signames.c Loading commit data...
timeout.c Loading commit data...
timeout.h Loading commit data...