diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2012-05-18 13:33:24 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-01 15:12:52 +0800 |
commit | f2c927b9f37c5668a94dee3c6b7f222414d711a3 (patch) | |
tree | 6dbee7ef17ad93848b4f0408e275a35124b2d18b /include/linux | |
parent | 091ce3d38e5e57cf7dd44d66335725910e928f59 (diff) | |
download | lwn-f2c927b9f37c5668a94dee3c6b7f222414d711a3.tar.gz lwn-f2c927b9f37c5668a94dee3c6b7f222414d711a3.zip |
tilegx: enable SYSCALL_WRAPPERS support
commit e6d9668e119af44ae5bcd5f1197174531458afe3 upstream.
Some discussion with the glibc mailing lists revealed that this was
necessary for 64-bit platforms with MIPS-like sign-extension rules
for 32-bit values. The original symptom was that passing (uid_t)-1 to
setreuid() was failing in programs linked -pthread because of the "setxid"
mechanism for passing setxid-type function arguments to the syscall code.
SYSCALL_WRAPPERS handles ensuring that all syscall arguments end up with
proper sign-extension and is thus the appropriate fix for this problem.
On other platforms (s390, powerpc, sparc64, and mips) this was fixed
in 2.6.28.6. The general issue is tracked as CVE-2009-0029.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions