1. 11 Dec, 2019 1 commit
    • Lorenz Bauer's avatar
      syscall: use SOCK_CLOEXEC when creating sockets · 9c8c27a3
      Lorenz Bauer authored
      LsfSocket, SetLsfPromisc and NetlinkRIB currently don't force the CLOEXEC
      flag on the sockets they create. While the former two functions are
      deprecated, NetlinkRIB is called by various functions related to
      net.Interface.
      
      Add a helper to create CLOEXEC sockets, and use it from SetLsfPromisc and
      NetlinkRIB. LsfSocket is unchanged since we don't want to break callers.
      
      Fixes #36053
      
      Change-Id: I72fe2b167996797698d8a44b0d28165045c42d3c
      Reviewed-on: https://go-review.googlesource.com/c/go/+/210517
      Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
      Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
      9c8c27a3
  2. 10 Dec, 2019 6 commits
  3. 09 Dec, 2019 10 commits
  4. 07 Dec, 2019 2 commits
  5. 06 Dec, 2019 17 commits
  6. 05 Dec, 2019 4 commits