Page MenuHomeFreeBSD

Improve sigonstack().
ClosedPublic

Authored by kib on Nov 27 2018, 5:22 PM.

Details

Summary

Avoid relying on unsigned overflow for the test.
Simplify expressions to avoid duplicate check for the range.
Style.
Add herald comment.

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

kib created this revision.Nov 27 2018, 5:22 PM
jhb accepted this revision.Nov 27 2018, 7:36 PM

One nit: s/sigaltstack/sigonstack/ in the commit message.

This revision is now accepted and ready to land.Nov 27 2018, 7:36 PM
kib retitled this revision from Improve sigaltstack(). to Improve sigonstack()..Nov 27 2018, 7:46 PM
Closed by commit rS341094: Improve sigonstack(). (authored by kib, committed by ). · Explain WhyNov 27 2018, 7:51 PM
This revision was automatically updated to reflect the committed changes.