[PATCH 4/8] powerpc ptrace: forced_successful_syscall_return() - Kernel

This is a discussion on [PATCH 4/8] powerpc ptrace: forced_successful_syscall_return() - Kernel ; Define the forced_successful_syscall_return() macro to pair with our force_successful_syscall_return() definition. Signed-off-by: Roland McGrath --- include/asm-powerpc/ptrace.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/asm-powerpc/ptrace.h b/include/asm-powerpc/ptrace.h index 891d689..07dd6fe 100644 --- a/include/asm-powerpc/ptrace.h +++ b/include/asm-powerpc/ptrace.h @@ -93,6 +93,7 @@ ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: [PATCH 4/8] powerpc ptrace: forced_successful_syscall_return()

  1. [PATCH 4/8] powerpc ptrace: forced_successful_syscall_return()

    Define the forced_successful_syscall_return() macro to
    pair with our force_successful_syscall_return() definition.

    Signed-off-by: Roland McGrath
    ---
    include/asm-powerpc/ptrace.h | 1 +
    1 files changed, 1 insertions(+), 0 deletions(-)

    diff --git a/include/asm-powerpc/ptrace.h b/include/asm-powerpc/ptrace.h
    index 891d689..07dd6fe 100644
    --- a/include/asm-powerpc/ptrace.h
    +++ b/include/asm-powerpc/ptrace.h
    @@ -93,6 +93,7 @@ extern unsigned long profile_pc(struct pt_regs *regs);
    do { \
    set_thread_flag(TIF_NOERROR); \
    } while(0)
    +#define forced_successful_syscall_return() (test_thread_flag(TIF_NOERROR))

    struct task_struct;
    extern unsigned long ptrace_get_reg(struct task_struct *task, int regno);
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  2. Re: [PATCH 4/8] powerpc ptrace: forced_successful_syscall_return()

    Roland McGrath writes:

    > Define the forced_successful_syscall_return() macro to
    > pair with our force_successful_syscall_return() definition.
    >
    > Signed-off-by: Roland McGrath


    Looks OK to me, but what's it useful for?

    Paul.
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

+ Reply to Thread