Page MenuHomeFreeBSD

libc: Use __weak_symbol for poll/ppoll wrappers
AbandonedPublic

Authored by jhb on Jul 17 2024, 12:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 7 2024, 11:13 PM
Unknown Object (File)
Dec 5 2024, 4:43 PM
Unknown Object (File)
Nov 17 2024, 1:15 AM
Unknown Object (File)
Oct 25 2024, 9:20 AM
Unknown Object (File)
Sep 23 2024, 10:37 PM
Unknown Object (File)
Sep 23 2024, 12:58 PM
Unknown Object (File)
Sep 23 2024, 4:44 AM
Unknown Object (File)
Sep 16 2024, 8:26 PM
Subscribers

Details

Reviewers
kevans
Summary

GCC only does not expand the argument to #pragma weak and instead
requires its argument to be a literal string. Use an attribute on the
function definition via __weak_symbol instead.

Fixes: 88276dfbf19e include: ssp: fortify poll/ppoll from <poll.h>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 58672
Build 55560: arc lint + arc unit