lkml.org 
[lkml]   [2019]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 2/6] ptrace: introduce ptrace_syscall_enter to consolidate PTRACE_SYSEMU handling
    On Mon, Mar 18, 2019 at 05:41:15PM +0300, Dmitry V. Levin wrote:
    > On Mon, Mar 18, 2019 at 10:49:21AM +0000, Sudeep Holla wrote:
    > > Currently each architecture handles PTRACE_SYSEMU in very similar way.
    > > It's completely arch independent and can be handled in the code helping
    > > to consolidate PTRACE_SYSEMU handling.
    > >
    > > Let's introduce a hook 'ptrace_syscall_enter' that arch specific syscall
    > > entry code can call.
    >
    > Sorry if I'm late for the party, but the new name looks confusing.
    > If all it does is related to TIF_SYSCALL_EMU, why does it have a generic
    > name 'ptrace_syscall_enter' without any hint of being specific to
    > TIF_SYSCALL_EMU?
    >

    Not at all late. Infact Haibo Xu pointed that out, I updated but somehow
    missed to commit and lost those changes. I will rename as
    ptrace_sysemu_syscall_enter

    --
    Regards,
    Sudeep

    \
     
     \ /
      Last update: 2019-03-18 15:58    [W:4.096 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site