The PSEUDO* macros should not declare <syscall>, only _<syscall> and
__sys_<syscall>. This was causing the interposing C wrappers to be
ignored due to link order.
Sponsored by: DARPA, AFRL
Differential D4097
Fix the implementations of PSEUDO_NOERROR and PSEUDO. brooks on Nov 7 2015, 12:21 AM. Authored by Tags None Referenced Files
Subscribers None
Details The PSEUDO* macros should not declare <syscall>, only _<syscall> and Sponsored by: DARPA, AFRL
Diff Detail
Event TimelineComment Actions Without this change, threaded applications don't use mutexes around system calls and threaded programs likely do not work correctly. Comment Actions Mostly, it was not about mutexes but for working cancellation. It is more complicated for signal-related syscalls, esp. sigaction(2), where the bug could result in non-functional rtld locks. |