From 6d1eecf7cf10fe736d86479dbb0ac0377fc89488 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Wed, 19 Sep 2018 14:09:46 +0200 Subject: create, rootless: join the userns of ns:PATH Signed-off-by: Giuseppe Scrivano Closes: #1507 Approved by: rhatdan --- pkg/rootless/rootless_unsupported.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pkg/rootless/rootless_unsupported.go') diff --git a/pkg/rootless/rootless_unsupported.go b/pkg/rootless/rootless_unsupported.go index 31728e5c2..d72402c9f 100644 --- a/pkg/rootless/rootless_unsupported.go +++ b/pkg/rootless/rootless_unsupported.go @@ -36,3 +36,9 @@ func SkipStorageSetup() bool { func JoinNS(pid uint) (bool, int, error) { return false, -1, errors.New("this function is not supported on this os") } + +// JoinNSPath re-exec podman in a new userNS and join the owner user namespace of the +// specified path. +func JoinNSPath(path string) (bool, int, error) { + return false, -1, errors.New("this function is not supported on this os") +} -- cgit v1.2.3-54-g00ecf