summaryrefslogtreecommitdiff
path: root/pkg/rootless/rootless_unsupported.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2018-08-29 10:16:22 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-08-29 16:25:20 +0000
commit86aefb5de25496ce8894bef73bec6e5d13fd3f47 (patch)
treead31eacc862abc3e5819f002b213364ef838e93a /pkg/rootless/rootless_unsupported.go
parent46acded58d71528c24f89cdef6c18a283e23cc54 (diff)
downloadpodman-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.go7
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")
-}