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)
Wed, Nov 20, 9:02 AM
Unknown Object (File)
Thu, Nov 14, 12:49 PM
Unknown Object (File)
Wed, Nov 13, 7:18 PM
Unknown Object (File)
Oct 26 2024, 12:07 PM
Unknown Object (File)
Oct 6 2024, 7:54 PM
Unknown Object (File)
Oct 3 2024, 11:45 PM
Unknown Object (File)
Oct 3 2024, 12:09 PM
Unknown Object (File)
Oct 3 2024, 11:27 AM

Details

Summary

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

Test Plan

Run testsuite.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
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.