1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00
freebsd/libexec
Dimitry Andric e172464728 On amd64 and i386, tell the compiler to refrain from generating SSE,
3DNow, MMX and floating point instructions in rtld-elf.

Otherwise, _rtld_bind() (and whatever it calls) could possibly clobber
function arguments that are passed in SSE/3DNow/MMX/FP registers,
usually floating point values.  This can happen, for example, when clang
generates SSE code for memset() or memcpy() calls.

One symptom of this is sshd dying early on amd64 with "PRNG not seeded",
which is ultimately caused by libcrypto.so.6 calling RAND_add() with a
double parameter.  That parameter is passed via %xmm0, which gets wiped
out by an SSE memset() in _rtld_bind().

Reviewed by:	kib, kan
2011-01-04 20:51:28 +00:00
..
atrun
bootpd Catch up with kernel using time_uptime to drive ARP timeouts. 2010-12-06 09:39:36 +00:00
comsat
fingerd
ftpd Make format string a string literal. (Discovered by clang.) 2011-01-04 00:39:56 +00:00
getty Add __unused. Ansi prototypes. 2010-12-20 08:29:54 +00:00
lukemftpd
mail.local
mknetid Fix double ;; 2010-12-06 10:24:06 +00:00
pppoed
rbootd Add __unused 2010-12-20 08:37:26 +00:00
revnetgroup
rlogind Add __unused 2010-12-20 08:44:08 +00:00
rpc.rquotad
rpc.rstatd
rpc.rusersd
rpc.rwalld add __unused 2010-12-19 13:05:17 +00:00
rpc.sprayd
rshd
rtld-aout
rtld-elf On amd64 and i386, tell the compiler to refrain from generating SSE, 2011-01-04 20:51:28 +00:00
save-entropy
smrsh
talkd
tcpd
telnetd
tftp-proxy
tftpd Fix typos. 2010-11-09 10:59:09 +00:00
ulog-helper
ypxfr
Makefile
Makefile.inc