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)
Mon, Sep 23, 10:37 PM
Unknown Object (File)
Mon, Sep 23, 12:58 PM
Unknown Object (File)
Mon, Sep 23, 4:44 AM
Unknown Object (File)
Sep 16 2024, 8:26 PM
Unknown Object (File)
Aug 20 2024, 1:24 AM
Unknown Object (File)
Aug 16 2024, 1:55 PM
Unknown Object (File)
Aug 1 2024, 11:12 AM
Unknown Object (File)
Jul 27 2024, 7:23 AM
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