lkml.org 
[lkml]   [2014]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.11 116/137] sparc64: Fix argument sign extension for compat_sys_futex().
    Date
    3.11.10.15 -stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: "David S. Miller" <davem@davemloft.net>

    commit aa3449ee9c87d9b7660dd1493248abcc57769e31 upstream.

    Only the second argument, 'op', is signed.

    Signed-off-by: David S. Miller <davem@davemloft.net>
    Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
    ---
    arch/sparc/kernel/sys32.S | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/arch/sparc/kernel/sys32.S b/arch/sparc/kernel/sys32.S
    index f7c72b6efc27..d066eb18650c 100644
    --- a/arch/sparc/kernel/sys32.S
    +++ b/arch/sparc/kernel/sys32.S
    @@ -44,7 +44,7 @@ SIGN1(sys32_timer_settime, compat_sys_timer_settime, %o1)
    SIGN1(sys32_io_submit, compat_sys_io_submit, %o1)
    SIGN1(sys32_mq_open, compat_sys_mq_open, %o1)
    SIGN1(sys32_select, compat_sys_select, %o0)
    -SIGN3(sys32_futex, compat_sys_futex, %o1, %o2, %o5)
    +SIGN1(sys32_futex, compat_sys_futex, %o1)
    SIGN1(sys32_recvfrom, compat_sys_recvfrom, %o0)
    SIGN1(sys32_recvmsg, compat_sys_recvmsg, %o0)
    SIGN1(sys32_sendmsg, compat_sys_sendmsg, %o0)
    --
    1.9.1


    \
     
     \ /
      Last update: 2014-08-18 12:21    [W:4.064 / U:0.424 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site