From 2818f4a410b0721574ef6203d58a827cd2131914 Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Thu, 19 Jun 2014 11:07:57 -0700 Subject: [PATCH] Use libcontainer cap drop method Docker-DCO-1.1-Signed-off-by: Michael Crosby (github: crosbymichael) --- system/unsupported.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/system/unsupported.go b/system/unsupported.go index 96ebc85..aea4b69 100644 --- a/system/unsupported.go +++ b/system/unsupported.go @@ -28,3 +28,11 @@ func GetClockTicks() int { func CreateMasterAndConsole() (*os.File, string, error) { return nil, "", ErrNotSupportedPlatform } + +func SetKeepCaps() error { + return ErrNotSupportedPlatform +} + +func ClearKeepCaps() error { + return ErrNotSupportedPlatform +}