Secure AVX changes for auditing code.
authorUlrich Drepper <drepper@redhat.com>
Thu, 16 Jul 2009 00:41:36 +0000 (17:41 -0700)
committerUlrich Drepper <drepper@redhat.com>
Thu, 16 Jul 2009 00:41:36 +0000 (17:41 -0700)
commitd7bd7a8ae8cdb3f1414b1e032759d9ef324eb040
tree555d873e7dc81df310b6dff476a3d893b6c25a99
parent59cbcac015cdd446c346cfd2c2ada3f94ef540b2
Secure AVX changes for auditing code.

The original AVX patch used a function pointer to handle the difference
between machines with and without AVX support.  This is insecure.  A
well-placed memory exploit could lead to redirection of the execution.
Using a variable and several tests is a bit slower but cannot be
exploited in this way.
ChangeLog
sysdeps/x86_64/dl-trampoline.S
sysdeps/x86_64/dl-trampoline.h [deleted file]