mirror of
https://github.com/luxfi/evm.git
synced 2026-09-24 00:27:44 +00:00
26 lines
810 B
Go
26 lines
810 B
Go
// Copyright (C) 2019-2025, Lux Industries, Inc. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
//
|
|
// This file is a derived work, based on the go-ethereum library whose original
|
|
// notices appear below.
|
|
//
|
|
// It is distributed under a license compatible with the licensing terms of the
|
|
// original code from which it is derived.
|
|
//
|
|
// Much love to the original authors for their work.
|
|
// **********
|
|
// 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"
|
|
}
|