Page MenuHomeFreeBSD

Fix the implementations of PSEUDO_NOERROR and PSEUDO.
ClosedPublic

Authored by brooks on Nov 7 2015, 12:21 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Aug 18, 12:41 AM
Unknown Object (File)
Sun, Aug 4, 7:40 AM
Unknown Object (File)
Tue, Jul 23, 8:50 PM
Unknown Object (File)
Jul 12 2024, 6:36 PM
Unknown Object (File)
Jun 26 2024, 10:42 PM
Unknown Object (File)
Jun 26 2024, 12:37 AM
Unknown Object (File)
Jun 22 2024, 5:47 AM
Unknown Object (File)
Jun 21 2024, 12:30 AM
Subscribers
None

Details

Summary

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

brooks retitled this revision from to Fix the implementations of PSEUDO_NOERROR and PSEUDO..
brooks updated this object.
brooks edited the test plan for this revision. (Show Details)
brooks added reviewers: adrian, imp.

Without this change, threaded applications don't use mutexes around system calls and threaded programs likely do not work correctly.

kib edited edge metadata.

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.

This revision is now accepted and ready to land.Jan 21 2016, 6:52 AM
This revision was automatically updated to reflect the committed changes.