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)
Thu, Jul 23, 1:52 AM
Unknown Object (File)
Mon, Jul 20, 7:58 AM
Unknown Object (File)
Sun, Jul 19, 10:42 PM
Unknown Object (File)
Sat, Jul 18, 4:18 PM
Unknown Object (File)
Sat, Jul 11, 11:52 PM
Unknown Object (File)
Fri, Jul 10, 8:08 PM
Unknown Object (File)
Thu, Jul 9, 5:29 AM
Unknown Object (File)
Tue, Jul 7, 4:42 AM
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.