diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2018-09-19 14:09:46 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-09-21 10:13:39 +0000 |
commit | 6d1eecf7cf10fe736d86479dbb0ac0377fc89488 (patch) | |
tree | 7914da853909e46f43b49bcaa124edc529c89341 /pkg/rootless/rootless_unsupported.go | |
parent | 1c73404fe142e7ac09200ea26945dddff8f44431 (diff) | |
download | podman-6d1eecf7cf10fe736d86479dbb0ac0377fc89488.tar.gz podman-6d1eecf7cf10fe736d86479dbb0ac0377fc89488.tar.bz2 podman-6d1eecf7cf10fe736d86479dbb0ac0377fc89488.zip |
create, rootless: join the userns of ns:PATH
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Closes: #1507
Approved by: rhatdan
Diffstat (limited to 'pkg/rootless/rootless_unsupported.go')
-rw-r--r-- | pkg/rootless/rootless_unsupported.go | 6 |
1 files changed, 6 insertions, 0 deletions
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") +} |