Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
223d9434
Commit
223d9434
authored
Jul 02, 2018
by
Fabian Raetz
Committed by
Péter Szilágyi
Jul 02, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vendor: update docker/docker/pkg/reexec so that it compiles on OpenBSD (#17084)
parent
8974e2e5
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
16 deletions
+18
-16
command_linux.go
vendor/github.com/docker/docker/pkg/reexec/command_linux.go
+4
-4
command_unix.go
vendor/github.com/docker/docker/pkg/reexec/command_unix.go
+2
-2
command_unsupported.go
...ithub.com/docker/docker/pkg/reexec/command_unsupported.go
+7
-3
command_windows.go
...or/github.com/docker/docker/pkg/reexec/command_windows.go
+1
-3
reexec.go
vendor/github.com/docker/docker/pkg/reexec/reexec.go
+1
-1
vendor.json
vendor/vendor.json
+3
-3
No files found.
vendor/github.com/docker/docker/pkg/reexec/command_linux.go
View file @
223d9434
// +build linux
package
reexec
package
reexec
// import "github.com/docker/docker/pkg/reexec"
import
(
"os/exec"
"syscall"
"golang.org/x/sys/unix"
)
// Self returns the path to the current process's binary.
...
...
@@ -22,7 +22,7 @@ func Command(args ...string) *exec.Cmd {
Path
:
Self
(),
Args
:
args
,
SysProcAttr
:
&
syscall
.
SysProcAttr
{
Pdeathsig
:
syscall
.
SIGTERM
,
Pdeathsig
:
unix
.
SIGTERM
,
},
}
}
vendor/github.com/docker/docker/pkg/reexec/command_unix.go
View file @
223d9434
// +build freebsd
solaris
darwin
// +build freebsd darwin
package
reexec
package
reexec
// import "github.com/docker/docker/pkg/reexec"
import
(
"os/exec"
...
...
vendor/github.com/docker/docker/pkg/reexec/command_unsupported.go
View file @
223d9434
// +build !linux,!windows,!freebsd,!
solaris,!
darwin
// +build !linux,!windows,!freebsd,!darwin
package
reexec
package
reexec
// import "github.com/docker/docker/pkg/reexec"
import
(
"os/exec"
)
// Command is unsupported on operating systems apart from Linux, Windows, Solaris and Darwin.
func
Self
()
string
{
return
""
}
// Command is unsupported on operating systems apart from Linux, Windows, and Darwin.
func
Command
(
args
...
string
)
*
exec
.
Cmd
{
return
nil
}
vendor/github.com/docker/docker/pkg/reexec/command_windows.go
View file @
223d9434
// +build windows
package
reexec
package
reexec
// import "github.com/docker/docker/pkg/reexec"
import
(
"os/exec"
...
...
vendor/github.com/docker/docker/pkg/reexec/reexec.go
View file @
223d9434
package
reexec
package
reexec
// import "github.com/docker/docker/pkg/reexec"
import
(
"fmt"
...
...
vendor/vendor.json
View file @
223d9434
...
...
@@ -81,10 +81,10 @@
"revisionTime"
:
"2017-02-01T22:58:49Z"
},
{
"checksumSHA1"
:
"
lutCa+IVM60R1OYBm9RtDAW50Y
s="
,
"checksumSHA1"
:
"
Ad8LPSCP9HctFrmskh+S5HpHXc
s="
,
"path"
:
"github.com/docker/docker/pkg/reexec"
,
"revision"
:
"8
3ee902ecc3790c33c1e2d87334074436056bb49
"
,
"revisionTime"
:
"201
7-04-22T21:51:1
2Z"
"revision"
:
"8
e610b2b55bfd1bfa9436ab110d311f5e8a74dcb
"
,
"revisionTime"
:
"201
8-06-25T18:44:4
2Z"
},
{
"checksumSHA1"
:
"zYnPsNAVm1/ViwCkN++dX2JQhBo="
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment