Page MenuHomeFreeBSD

libalias: Restructure - Use AliasRange instead of PORT_BASE

Authored by donner on May 31 2021, 4:41 PM.
Referenced Files
Unknown Object (File)
Thu, Jun 1, 6:45 AM
Unknown Object (File)
Thu, May 25, 5:26 PM
Unknown Object (File)
Mon, May 15, 5:58 PM
Unknown Object (File)
Fri, May 12, 8:51 PM
Unknown Object (File)
Fri, May 12, 8:02 PM
Unknown Object (File)
May 3 2023, 8:30 PM
Unknown Object (File)
Apr 5 2023, 1:30 PM
Unknown Object (File)
Mar 5 2023, 7:26 AM



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

Test Plan

Run testsuite.

Diff Detail

rG FreeBSD src repository
Lint Not Applicable
Tests Not Applicable

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.