aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/opencontainers
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-04-07 14:23:59 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-04-07 14:23:59 -0400
commitcfd64d3e2ca4c0f4a74e4aa695f5233fadc195d1 (patch)
tree2b8af5a50a7e64f0640dffd82d4ed69fae9e0260 /vendor/github.com/opencontainers
parent08fa3d511f2b96613bbbe76e517f2c9288e5bf56 (diff)
downloadpodman-cfd64d3e2ca4c0f4a74e4aa695f5233fadc195d1.tar.gz
podman-cfd64d3e2ca4c0f4a74e4aa695f5233fadc195d1.tar.bz2
podman-cfd64d3e2ca4c0f4a74e4aa695f5233fadc195d1.zip
Bump containers/image to v5.4.3
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'vendor/github.com/opencontainers')
-rw-r--r--vendor/github.com/opencontainers/selinux/go-selinux/selinux_stub.go14
1 files changed, 13 insertions, 1 deletions
diff --git a/vendor/github.com/opencontainers/selinux/go-selinux/selinux_stub.go b/vendor/github.com/opencontainers/selinux/go-selinux/selinux_stub.go
index f349513d9..f9f5e2061 100644
--- a/vendor/github.com/opencontainers/selinux/go-selinux/selinux_stub.go
+++ b/vendor/github.com/opencontainers/selinux/go-selinux/selinux_stub.go
@@ -113,7 +113,7 @@ SetTaskLabel sets the SELinux label for the current thread, or an error.
This requires the dyntransition permission.
*/
func SetTaskLabel(label string) error {
- return nil
+ return nil
}
/*
@@ -201,6 +201,18 @@ func ROFileLabel() string {
return ""
}
+// KVMContainerLabels returns the default processLabel and mountLabel to be used
+// for kvm containers by the calling process.
+func KVMContainerLabels() (string, string) {
+ return "", ""
+}
+
+// InitContainerLabels returns the default processLabel and file labels to be
+// used for containers running an init system like systemd by the calling
+func InitContainerLabels() (string, string) {
+ return "", ""
+}
+
/*
ContainerLabels returns an allocated processLabel and fileLabel to be used for
container labeling by the calling process.