https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232986
Bug ID: 232986
Summary: Use of ifunc in libc causes segfaults
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
In r339898, kib@ introduced the first use of ifunc in userland, specifically in
libc. This causes issues with dynamically-linked binaries where RELRO+BIND_NOW
is used. This is an issue in HardenedBSD, where RELRO and BIND_NOW are set by
default.
In r340137, emaste@ found one and fixed one issue: the enforcement of RELRO was
being done in the RTLD prior to the resolution of the ifunc. I suspect there
may be more to do in the RTLD to complete ifunc support in shared libraries,
especially ones as critical as libc.
This could be seen as a HardenedBSD-specific issue. However, as FreeBSD
re-implements parts of HardenedBSD, FreeBSD will likely run across the same
issue. Regardless, we at HardenedBSD will work to find the underlying cause,
fix it, and (if applicable) upstream the fix.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"