diff options
author | 2012-05-18 13:33:24 -0400 | |
---|---|---|
committer | 2012-05-18 13:33:24 -0400 | |
commit | e6d9668e119af44ae5bcd5f1197174531458afe3 (patch) | |
tree | 0a5b85053d76c2523e79719152ca1fdccbb4349c /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | arch/tile: apply commit 74fca9da0 to the compat signal handling as well (diff) | |
download | wireguard-linux-e6d9668e119af44ae5bcd5f1197174531458afe3.tar.xz wireguard-linux-e6d9668e119af44ae5bcd5f1197174531458afe3.zip |
tilegx: enable SYSCALL_WRAPPERS support
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.
Cc: <stable@vger.kernel.org>
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions