summaryrefslogtreecommitdiff
path: root/pkg/rootless/rootless_unsupported.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-08-05 09:37:59 +0200
committerGitHub <noreply@github.com>2020-08-05 09:37:59 +0200
commit47971909ae7a54c3a0b0fe4ebe33197c9e291657 (patch)
treeb67689e7e2cc0e8c3ace91d31c3bf276b0784978 /pkg/rootless/rootless_unsupported.go
parent6260677012080aa6aa52ead7ec54261d8d6017a0 (diff)
parent34e82f81bdbdd26b82501bc2d27d18aaab5747dd (diff)
downloadpodman-47971909ae7a54c3a0b0fe4ebe33197c9e291657.tar.gz
podman-47971909ae7a54c3a0b0fe4ebe33197c9e291657.tar.bz2
podman-47971909ae7a54c3a0b0fe4ebe33197c9e291657.zip
Merge pull request #7125 from QiWang19/fd-validate
validate fds --preserve-fds
Diffstat (limited to 'pkg/rootless/rootless_unsupported.go')
-rw-r--r--pkg/rootless/rootless_unsupported.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/rootless/rootless_unsupported.go b/pkg/rootless/rootless_unsupported.go
index 1499b737f..7dfb4a4b2 100644
--- a/pkg/rootless/rootless_unsupported.go
+++ b/pkg/rootless/rootless_unsupported.go
@@ -64,3 +64,8 @@ func GetConfiguredMappings() ([]idtools.IDMap, []idtools.IDMap, error) {
func ReadMappingsProc(path string) ([]idtools.IDMap, error) {
return nil, nil
}
+
+// IsFdInherited checks whether the fd is opened and valid to use
+func IsFdInherited(fd int) bool {
+ return false
+}