diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-04-07 22:24:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-07 22:24:31 +0200 |
commit | b4840ec0d34bd679faefe06ce52ee6cebcb8f0b5 (patch) | |
tree | 0124c5cd56f5c4ff98bf821bc8aded9a59c0f50d /vendor/github.com/opencontainers | |
parent | 11c8b01e1d81008bc55fed8d6f62ce39dc5459c8 (diff) | |
parent | cfd64d3e2ca4c0f4a74e4aa695f5233fadc195d1 (diff) | |
download | podman-b4840ec0d34bd679faefe06ce52ee6cebcb8f0b5.tar.gz podman-b4840ec0d34bd679faefe06ce52ee6cebcb8f0b5.tar.bz2 podman-b4840ec0d34bd679faefe06ce52ee6cebcb8f0b5.zip |
Merge pull request #5753 from rhatdan/vendor
Bump containers/image to v5.4.3
Diffstat (limited to 'vendor/github.com/opencontainers')
-rw-r--r-- | vendor/github.com/opencontainers/selinux/go-selinux/selinux_stub.go | 14 |
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. |