diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-04-13 16:27:08 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-13 16:27:08 -0400 |
commit | 5c7aa6ffae514bfeb7ec0f249dde949863d895ac (patch) | |
tree | 04fbd9aeda07efca134540c35c4cf71c52c8dcfc /arch/sparc64/kernel/sys32.S | |
parent | f6b45da1299f1f2e92a1446cfa400be53fdc5c99 (diff) |
[SPARC64]: Fix arg passing to compat_sys_ipc().
Do not sign extend args using the sys32_ipc stub, that is
buggy and unnecessary.
Based upon an excellent report by Mikael Pettersson.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/sys32.S')
-rw-r--r-- | arch/sparc64/kernel/sys32.S | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/sys32.S b/arch/sparc64/kernel/sys32.S index c09ab4b9431d..010a737908ee 100644 --- a/arch/sparc64/kernel/sys32.S +++ b/arch/sparc64/kernel/sys32.S | |||
@@ -91,7 +91,6 @@ SIGN1(sys32_select, compat_sys_select, %o0) | |||
91 | SIGN1(sys32_mkdir, sys_mkdir, %o1) | 91 | SIGN1(sys32_mkdir, sys_mkdir, %o1) |
92 | SIGN3(sys32_futex, compat_sys_futex, %o1, %o2, %o5) | 92 | SIGN3(sys32_futex, compat_sys_futex, %o1, %o2, %o5) |
93 | SIGN1(sys32_sysfs, compat_sys_sysfs, %o0) | 93 | SIGN1(sys32_sysfs, compat_sys_sysfs, %o0) |
94 | SIGN3(sys32_ipc, compat_sys_ipc, %o1, %o2, %o3) | ||
95 | SIGN2(sys32_sendfile, compat_sys_sendfile, %o0, %o1) | 94 | SIGN2(sys32_sendfile, compat_sys_sendfile, %o0, %o1) |
96 | SIGN2(sys32_sendfile64, compat_sys_sendfile64, %o0, %o1) | 95 | SIGN2(sys32_sendfile64, compat_sys_sendfile64, %o0, %o1) |
97 | SIGN1(sys32_prctl, sys_prctl, %o0) | 96 | SIGN1(sys32_prctl, sys_prctl, %o0) |