HomeFreeBSD

- Parameterize out the number of accept/connect attempts

Description

  • Parameterize out the number of accept/connect attempts
  • Randomize the bind port to allow 2+ consecutive calls in < 10 minutes, and to also not fail if (for instance) there's a server already listening on port 8080
  • Don't leak the listening socket / fds into the child process
  • Fix warnings:
    • Remove argc/argv (-Wunused)
    • Mark sig __unused (-Wunused)
    • Mark quit static (-Wmissing-variable-declarations)

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

Details

Provenance
ngieAuthored on
Parents
rS281357: Port the EFI reloc codeto work on arm64. This used the rela relocation
Branches
Unknown
Tags
Unknown

Event Timeline