oci: abstract out cgroup calls per platform

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>

oci: abstract out syscall for platforms

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>

oci: abstract out the unix pipe per platform

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>

oci: change the unix calls to be platform independent

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2018-01-23 10:56:56 -05:00
parent fb87c2f68b
commit d6966951d6
6 changed files with 115 additions and 36 deletions

View file

@ -1,4 +1,4 @@
// +build !arm,!386
// +build linux,!arm,!386
package oci