mirror of https://github.com/ethereum/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
391 B
14 lines
391 B
// This file originates from Docker/Moby,
|
|
// https://github.com/moby/moby/blob/master/pkg/reexec/
|
|
// Licensed under Apache License 2.0: https://github.com/moby/moby/blob/master/LICENSE
|
|
// Copyright 2013-2018 Docker, Inc.
|
|
|
|
//go:build linux
|
|
|
|
package reexec
|
|
|
|
// Self returns the path to the current process's binary.
|
|
// Returns "/proc/self/exe".
|
|
func Self() string {
|
|
return "/proc/self/exe"
|
|
}
|
|
|