Clean up unix vs linux usage

FreeBSD does not support cgroups or namespaces, which the code suggested, and is not supported
in runc anyway right now. So clean up the file naming to use `_linux` where appropriate.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2017-05-12 17:22:09 +01:00
parent 21ef2e3d12
commit 4c67360296
10 changed files with 2 additions and 18 deletions

View File

@ -1,5 +1,3 @@
// +build linux freebsd
package configs
type FreezerState string

View File

@ -1,5 +1,3 @@
// +build freebsd linux
package configs
import "fmt"

View File

@ -1,5 +1,3 @@
// +build linux freebsd
package configs
import (

View File

@ -1,5 +1,3 @@
// +build linux freebsd
package configs
import (

View File

@ -1,4 +1,4 @@
// +build !linux,!freebsd
// +build !linux
package configs

View File

@ -1,5 +1,3 @@
// +build linux freebsd
package libcontainer
// cgroup restoring strategy provided by criu

View File

@ -1,5 +1,3 @@
// +build linux freebsd
package devices
import (

View File

@ -1,3 +1,3 @@
// +build windows
// +build !linux
package devices

View File

@ -1,5 +1,3 @@
// +build linux
package main
import (

View File

@ -1,5 +1,3 @@
// +build solaris
package main
import "github.com/urfave/cli"