Page MenuHomeFreeBSD

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

Authored by cem on Oct 19 2018, 10:09 PM.

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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

cem created this revision.Oct 19 2018, 10:09 PM
markj accepted this revision.Oct 20 2018, 5:05 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.

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.