mirror of
https://github.com/rwinkhart/peercred-mini.git
synced 2026-09-03 15:47:31 -04:00
Switch to fork of golang.org/x/sys to allow getting PIDs
This commit is contained in:
@@ -2,4 +2,4 @@ module github.com/rwinkhart/peercred-mini
|
|||||||
|
|
||||||
go 1.24.2
|
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
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
github.com/rwinkhart/sys v0.0.0-20250404053244-7215932ae926 h1:MJe9Z46ilI9g7N3/JvQ4pHdXlZvb7InTb3aCoXrSRXM=
|
github.com/rwinkhart/sys-freebsd-13-xucred v0.0.0-20250405011819-d304d362d032 h1:4qzc09ysQhkyI2oN7pLbZMQP+qHq2TlVRCkMSmbl8m8=
|
||||||
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/go.mod h1:U89aT1yaUAbs+9Dp9i1lZ2+5GsRNYk0l42+d1wykDBA=
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@ import (
|
|||||||
"net"
|
"net"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/rwinkhart/sys/unix"
|
"github.com/rwinkhart/sys-freebsd-13-xucred/unix"
|
||||||
)
|
)
|
||||||
|
|
||||||
func getUnix(c *net.UnixConn) (*Creds, error) {
|
func getUnix(c *net.UnixConn) (*Creds, error) {
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@ import (
|
|||||||
"net"
|
"net"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/rwinkhart/sys/unix"
|
"github.com/rwinkhart/sys-freebsd-13-xucred/unix"
|
||||||
)
|
)
|
||||||
|
|
||||||
func getUnix(c *net.UnixConn) (*Creds, error) {
|
func getUnix(c *net.UnixConn) (*Creds, error) {
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@ import (
|
|||||||
"net"
|
"net"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/rwinkhart/sys/unix"
|
"github.com/rwinkhart/sys-freebsd-13-xucred/unix"
|
||||||
)
|
)
|
||||||
|
|
||||||
func getUnix(c *net.UnixConn) (*Creds, error) {
|
func getUnix(c *net.UnixConn) (*Creds, error) {
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@ import (
|
|||||||
"net"
|
"net"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/rwinkhart/sys/unix"
|
"github.com/rwinkhart/sys-freebsd-13-xucred/unix"
|
||||||
)
|
)
|
||||||
|
|
||||||
func getUnix(c *net.UnixConn) (*Creds, error) {
|
func getUnix(c *net.UnixConn) (*Creds, error) {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// 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
|
package peercred
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user