Page MenuHomeFreeBSD

Add flags variants to linker_files / stack(9) symbol resolution
ClosedPublic

Authored by cem on Oct 19 2018, 10:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Aug 28, 5:52 AM
Unknown Object (File)
Fri, Aug 21, 4:16 PM
Unknown Object (File)
Thu, Aug 20, 2:10 PM
Unknown Object (File)
Mon, Aug 10, 2:07 PM
Unknown Object (File)
Mon, Aug 10, 10:27 AM
Unknown Object (File)
Tue, Aug 4, 7:41 AM
Unknown Object (File)
Tue, Aug 4, 7:36 AM
Unknown Object (File)
Aug 3 2026, 6:20 PM
Subscribers

Details

Summary

Some best-effort consumers may find trylock behavior for stack(9) symbol
resolution acceptable. Expose that behavior to such consumers.

Diff Detail

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

Event Timeline

I don't really like the extra KPIs, but I get that it's the most straightforward way to get SIGINFO stacks. If we end up fixing the linker locking issues, we should revert this IMO.

sys/kern/subr_stack.c
193 ↗(On Diff #49322)

Style: missing newline.

This revision is now accepted and ready to land.Oct 20 2018, 5:05 PM
cem marked an inline comment as done.Oct 20 2018, 5:19 PM

I don't really like the extra KPIs, but I get that it's the most straightforward way to get SIGINFO stacks. If we end up fixing the linker locking issues, we should revert this IMO.

+100

sys/kern/subr_stack.c
193 ↗(On Diff #49322)

will fix

This revision was automatically updated to reflect the committed changes.