[PATCH] x86_64: ia32_signal.c: remove signal number conversion - Kernel

This is a discussion on [PATCH] x86_64: ia32_signal.c: remove signal number conversion - Kernel ; From: Hiroshi Shimamoto This was old code that was needed for iBCS and x86-64 never supported that. Signed-off-by: Hiroshi Shimamoto --- arch/x86/ia32/ia32_signal.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/arch/x86/ia32/ia32_signal.c b/arch/x86/ia32/ia32_signal.c index dc9b9b9..20af4c7 100644 --- ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: [PATCH] x86_64: ia32_signal.c: remove signal number conversion

  1. [PATCH] x86_64: ia32_signal.c: remove signal number conversion

    From: Hiroshi Shimamoto

    This was old code that was needed for iBCS and x86-64 never supported that.

    Signed-off-by: Hiroshi Shimamoto
    ---
    arch/x86/ia32/ia32_signal.c | 4 +---
    1 files changed, 1 insertions(+), 3 deletions(-)

    diff --git a/arch/x86/ia32/ia32_signal.c b/arch/x86/ia32/ia32_signal.c
    index dc9b9b9..20af4c7 100644
    --- a/arch/x86/ia32/ia32_signal.c
    +++ b/arch/x86/ia32/ia32_signal.c
    @@ -520,7 +520,6 @@ int ia32_setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info,
    compat_sigset_t *set, struct pt_regs *regs)
    {
    struct rt_sigframe __user *frame;
    - struct exec_domain *ed = current_thread_info()->exec_domain;
    void __user *restorer;
    int err = 0;

    @@ -543,8 +542,7 @@ int ia32_setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info,
    if (!access_ok(VERIFY_WRITE, frame, sizeof(*frame)))
    goto give_sigsegv;

    - err |= __put_user((ed && ed->signal_invmap && sig < 32
    - ? ed->signal_invmap[sig] : sig), &frame->sig);
    + err |= __put_user(sig, &frame->sig);
    err |= __put_user(ptr_to_compat(&frame->info), &frame->pinfo);
    err |= __put_user(ptr_to_compat(&frame->uc), &frame->puc);
    err |= copy_siginfo_to_user32(&frame->info, info);
    --
    1.5.4.1

    --
    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] x86_64: ia32_signal.c: remove signal number conversion


    * Hiroshi Shimamoto wrote:

    > This was old code that was needed for iBCS and x86-64 never supported
    > that.


    applied to tip/x86/cleanups, thanks Hiroshi.

    Ingo
    --
    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