Commit Graph

7 Commits (f5c57fb8d86a7420a69877dca8f549d8bb85299d)

Author SHA1 Message Date
shirou bc060cc227 add SPDX License, remove old build tag, and replace import
mmorel-35 1e6b445a8a gofumpt
Shirou WAKAYAMA ce98590a35 [host]linux: forgot to add sizeOfUtmp.
Shirou WAKAYAMA 15ff7e19df [host]linux: fix i386 and gofmt.
Shirou WAKAYAMA ea152ea901 [BREAKING CHANGE] rename functions to pass golint. ex) net.NetIOCounters -> net.IOCounters
Daniel Theophanes 0af895258e common: rename package common to internal/common. Add ENV helper funcs.
Package common wasn't used for public functions. Place it in an
internal directory to prevent other packages from using.

Remove the distributed references to "HOST_PROC" and "HOST_SYS"
consts and combine into a common function. This also helps so that
if a env var is defined with a trailing slash all will continue to
work as expected.

Fixes #100
rekby 29807862fb + host and process for linux 386