diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2018-08-29 10:16:22 +0200 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-08-29 16:25:20 +0000 |
commit | 86aefb5de25496ce8894bef73bec6e5d13fd3f47 (patch) | |
tree | ad31eacc862abc3e5819f002b213364ef838e93a /pkg/rootless/rootless_unsupported.go | |
parent | 46acded58d71528c24f89cdef6c18a283e23cc54 (diff) | |
download | podman-86aefb5de25496ce8894bef73bec6e5d13fd3f47.tar.gz podman-86aefb5de25496ce8894bef73bec6e5d13fd3f47.tar.bz2 podman-86aefb5de25496ce8894bef73bec6e5d13fd3f47.zip |
rootless: unexport GetUserNSForPid
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Closes: #1371
Approved by: rhatdan
Diffstat (limited to 'pkg/rootless/rootless_unsupported.go')
-rw-r--r-- | pkg/rootless/rootless_unsupported.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/pkg/rootless/rootless_unsupported.go b/pkg/rootless/rootless_unsupported.go index e0adb3453..31728e5c2 100644 --- a/pkg/rootless/rootless_unsupported.go +++ b/pkg/rootless/rootless_unsupported.go @@ -3,8 +3,6 @@ package rootless import ( - "os" - "github.com/pkg/errors" ) @@ -38,8 +36,3 @@ func SkipStorageSetup() bool { func JoinNS(pid uint) (bool, int, error) { return false, -1, errors.New("this function is not supported on this os") } - -// GetUserNSForPid returns an open FD for the first direct child user namespace that created the process -func GetUserNSForPid(pid uint) (*os.File, error) { - return nil, errors.New("this function is not supported on this os") -} |