Page MenuHomeFreeBSD

libalias: Restructure - Use AliasRange instead of PORT_BASE
ClosedPublic

Authored by donner on May 31 2021, 4:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Sep 6, 12:01 PM
Unknown Object (File)
Wed, Sep 4, 9:18 AM
Unknown Object (File)
Mon, Sep 2, 12:15 PM
Unknown Object (File)
Sun, Sep 1, 9:19 AM
Unknown Object (File)
Sun, Aug 25, 4:33 PM
Unknown Object (File)
Sun, Aug 25, 4:33 PM
Unknown Object (File)
Sun, Aug 25, 9:49 AM
Unknown Object (File)
Fri, Aug 23, 9:44 PM

Details

Summary

Get rid of PORT_BASE.
Replace by AliasRange.
Simplify code.

Test Plan

Run testsuite.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39891
Build 36780: arc lint + arc unit

Event Timeline

  • Factor out the search for a new port. Improves the perfomance a bit.
  • Fix errornous cherry-picking bugs

Use arc4random_uniform(3) as recommended by Dimitry Luhtionov.

This revision was not accepted when it landed; it landed in state Needs Review.Jun 19 2021, 7:53 PM
This revision was automatically updated to reflect the committed changes.