Switch to fork of golang.org/x/sys to allow getting PIDs

This commit is contained in:
2025-04-04 21:29:31 -04:00
parent 5dc435a56a
commit 0e071fcd68
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -2,4 +2,4 @@ module github.com/rwinkhart/peercred-mini
go 1.24.2
require github.com/rwinkhart/sys v0.0.0-20250404053244-7215932ae926
require github.com/rwinkhart/sys-freebsd-13-xucred v0.0.0-20250405011819-d304d362d032
+2 -2
View File
@@ -1,2 +1,2 @@
github.com/rwinkhart/sys v0.0.0-20250404053244-7215932ae926 h1:MJe9Z46ilI9g7N3/JvQ4pHdXlZvb7InTb3aCoXrSRXM=
github.com/rwinkhart/sys v0.0.0-20250404053244-7215932ae926/go.mod h1:vs22XiZlTvulYNkiIbKpx01rWq8dXeSF3PML0S2nQd4=
github.com/rwinkhart/sys-freebsd-13-xucred v0.0.0-20250405011819-d304d362d032 h1:4qzc09ysQhkyI2oN7pLbZMQP+qHq2TlVRCkMSmbl8m8=
github.com/rwinkhart/sys-freebsd-13-xucred v0.0.0-20250405011819-d304d362d032/go.mod h1:U89aT1yaUAbs+9Dp9i1lZ2+5GsRNYk0l42+d1wykDBA=
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"net"
"strconv"
"github.com/rwinkhart/sys/unix"
"github.com/rwinkhart/sys-freebsd-13-xucred/unix"
)
func getUnix(c *net.UnixConn) (*Creds, error) {
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"net"
"strconv"
"github.com/rwinkhart/sys/unix"
"github.com/rwinkhart/sys-freebsd-13-xucred/unix"
)
func getUnix(c *net.UnixConn) (*Creds, error) {
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"net"
"strconv"
"github.com/rwinkhart/sys/unix"
"github.com/rwinkhart/sys-freebsd-13-xucred/unix"
)
func getUnix(c *net.UnixConn) (*Creds, error) {
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"net"
"strconv"
"github.com/rwinkhart/sys/unix"
"github.com/rwinkhart/sys-freebsd-13-xucred/unix"
)
func getUnix(c *net.UnixConn) (*Creds, error) {
+1 -1
View File
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build go1.15 && (linux || darwin || freebsd || illumos || solaris)
//go:build linux || darwin || freebsd || illumos || solaris
package peercred