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
F164847922: D17620.id49322.diff
Tue, Aug 4, 7:41 AM
F164847043: D17620.id49339.diff
Tue, Aug 4, 7:36 AM
Unknown Object (File)
Mon, Aug 3, 6:20 PM
Unknown Object (File)
Mon, Aug 3, 8:02 AM
Unknown Object (File)
Fri, Jul 31, 2:54 AM
Unknown Object (File)
Thu, Jul 23, 1:52 AM
Unknown Object (File)
Mon, Jul 20, 7:58 AM
Unknown Object (File)
Sun, Jul 19, 10:42 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.