Cleanup unp_bind() a little:
Cleanup unp_bind() a little:

  - Require sun_family to be set to AF_UNIX (also in unp_connect())
  - Ensure internal sockaddr_un's always have their length set to
    sizeof(struct sockaddr_un) regardless of the user specified length,
    implicitly extending with NUL characters as necessary.
  - Normalize sun_path to never contain a non-NUL character after a
    NUL character.

Lack of NUL termination on truncated sockaddrs issue pointed out by
Michael Kerrisk on the Austin Group mailing list.

ok millert

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars