-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information
1 parent
21ef2e3
commit 4c67360
Showing
10 changed files
with
2 additions
and
18 deletions.
There are no files selected for viewing
2 changes: 0 additions & 2 deletions
2
libcontainer/configs/cgroup_unix.go → libcontainer/configs/cgroup_linux.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
// +build linux freebsd | ||
|
||
package configs | ||
|
||
type FreezerState string | ||
|
2 changes: 0 additions & 2 deletions
2
libcontainer/configs/config_unix.go → libcontainer/configs/config_linux.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
// +build freebsd linux | ||
|
||
package configs | ||
|
||
import "fmt" | ||
|
2 changes: 0 additions & 2 deletions
2
libcontainer/configs/config_unix_test.go → libcontainer/configs/config_linux_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
// +build linux freebsd | ||
|
||
package configs | ||
|
||
import ( | ||
|
2 changes: 0 additions & 2 deletions
2
libcontainer/configs/namespaces_unix.go → libcontainer/configs/namespaces_linux.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
// +build linux freebsd | ||
|
||
package configs | ||
|
||
import ( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// +build !linux,!freebsd | ||
// +build !linux | ||
|
||
package configs | ||
|
||
|
2 changes: 0 additions & 2 deletions
2
libcontainer/criu_opts_unix.go → libcontainer/criu_opts_linux.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
// +build linux freebsd | ||
|
||
package libcontainer | ||
|
||
// cgroup restoring strategy provided by criu | ||
|
2 changes: 0 additions & 2 deletions
2
libcontainer/devices/devices_unix.go → libcontainer/devices/devices_linux.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
// +build linux freebsd | ||
|
||
package devices | ||
|
||
import ( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// +build windows | ||
// +build !linux | ||
|
||
package devices |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
// +build linux | ||
|
||
package main | ||
|
||
import ( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
// +build solaris | ||
|
||
package main | ||
|
||
import "github.com/urfave/cli" | ||
|