Author :
kettenis
Date :
2025-04-06 20:20:11
Hash :2dd7be35 Message :Fix a (mostly) hypothetical race in pinsyscalls(2) by making it return an
error if called in a multi-threaded process. The race would involve an
alternate ld.so implementation that starts threads before loading libc.so,
which is just a bad idea. Several ideas to fix the race have been bounced
around but those either involve an additional per-syscall cost or some
convoluted variable dependencies (that would still require an explicit
barrier on alpha). That's simply not worth it.
ok deraadt@