mirror of
https://github.com/criyle/go-sandbox.git
synced 2025-11-04 14:49:53 +08:00
update dependencies
This commit is contained in:
parent
4f2257a187
commit
cfa40fa36a
@ -74,7 +74,7 @@ func (c *container) Open(p []OpenCmd) ([]*os.File, error) {
|
|||||||
f := os.NewFile(uintptr(fd), p[i].Path)
|
f := os.NewFile(uintptr(fd), p[i].Path)
|
||||||
if f == nil {
|
if f == nil {
|
||||||
closeFds(msg.Fds)
|
closeFds(msg.Fds)
|
||||||
return nil, fmt.Errorf("open: failed %v", msg.Fds[0])
|
return nil, fmt.Errorf("open: failed NewFile %v", fd)
|
||||||
}
|
}
|
||||||
ret = append(ret, f)
|
ret = append(ret, f)
|
||||||
}
|
}
|
||||||
|
|||||||
2
go.mod
2
go.mod
@ -4,5 +4,5 @@ go 1.14
|
|||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/seccomp/libseccomp-golang v0.9.1
|
github.com/seccomp/libseccomp-golang v0.9.1
|
||||||
golang.org/x/sys v0.0.0-20200301040627-c5d0d7b4ec88
|
golang.org/x/sys v0.0.0-20200316214734-08c61614bede
|
||||||
)
|
)
|
||||||
|
|||||||
4
go.sum
4
go.sum
@ -1,4 +1,4 @@
|
|||||||
github.com/seccomp/libseccomp-golang v0.9.1 h1:NJjM5DNFOs0s3kYE1WUOr6G8V97sdt46rlXTMfXGWBo=
|
github.com/seccomp/libseccomp-golang v0.9.1 h1:NJjM5DNFOs0s3kYE1WUOr6G8V97sdt46rlXTMfXGWBo=
|
||||||
github.com/seccomp/libseccomp-golang v0.9.1/go.mod h1:GbW5+tmTXfcxTToHLXlScSlAvWlF4P2Ca7zGrPiEpWo=
|
github.com/seccomp/libseccomp-golang v0.9.1/go.mod h1:GbW5+tmTXfcxTToHLXlScSlAvWlF4P2Ca7zGrPiEpWo=
|
||||||
golang.org/x/sys v0.0.0-20200301040627-c5d0d7b4ec88 h1:LNVdAhESTW4gWDhYvciNcGoS9CEcxRiUKE9kSgw+X3s=
|
golang.org/x/sys v0.0.0-20200316214734-08c61614bede h1:+jwX0O5IlL7Cj6iam25CdV2pKzCV737/4ewDRGFvwFQ=
|
||||||
golang.org/x/sys v0.0.0-20200301040627-c5d0d7b4ec88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
golang.org/x/sys v0.0.0-20200316214734-08c61614bede/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
// memory
|
// memory
|
||||||
// pids
|
// pids
|
||||||
//
|
//
|
||||||
// Current not avaliable: cpu, cpuset, devices, freezer, net_cls, blkio, perf_event, net_prio, huge_tlb, rdma
|
// Current not available: cpu, cpuset, devices, freezer, net_cls, blkio, perf_event, net_prio, huge_tlb, rdma
|
||||||
//
|
//
|
||||||
// Additional ideas:
|
// Additional ideas:
|
||||||
//
|
//
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user