package
8.15.2+incompatible
Repository: https://github.com/elastic/elastic-agent.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CurrentFileOwner returns the executing UID and GID of the current process.
GetNestedMap is a utility function to traverse nested maps using a series of key.
GetWatcherPIDs returns the PID's of any running `elastic-agent watch` process.
HasRoot returns true if the user has root permissions.
HasStrictExecPerms ensures that the path is executable by the owner, cannot be written by anyone other than the owner of the file and that the owner of the file is the same as the UID or root.
SocketURLWithFallback builds a path for a unix socket.

# Constants

PermissionUser is the permission level the user needs to be.
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

FileOwner is the ownership a file should have.