diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-09-11 04:56:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-11 04:56:18 -0400 |
commit | 0501258b735684948e32019c0499030309349fc9 (patch) | |
tree | 7e7bb647489a48686937444e48857ef9ed8e7aeb /vendor/github.com/opencontainers/selinux/go-selinux/selinux.go | |
parent | 5e9758fd5f75d8e2be88c9a4b929cbbfd301fb70 (diff) | |
parent | 81751bebc69390b6e83182218f90387234d19e7a (diff) | |
download | podman-0501258b735684948e32019c0499030309349fc9.tar.gz podman-0501258b735684948e32019c0499030309349fc9.tar.bz2 podman-0501258b735684948e32019c0499030309349fc9.zip |
Merge pull request #11524 from containers/dependabot/go_modules/github.com/opencontainers/selinux-1.8.5
Bump github.com/opencontainers/selinux from 1.8.4 to 1.8.5
Diffstat (limited to 'vendor/github.com/opencontainers/selinux/go-selinux/selinux.go')
-rw-r--r-- | vendor/github.com/opencontainers/selinux/go-selinux/selinux.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/github.com/opencontainers/selinux/go-selinux/selinux.go b/vendor/github.com/opencontainers/selinux/go-selinux/selinux.go index 9ffd77afa..0eedcaa78 100644 --- a/vendor/github.com/opencontainers/selinux/go-selinux/selinux.go +++ b/vendor/github.com/opencontainers/selinux/go-selinux/selinux.go @@ -38,6 +38,8 @@ var ( // CategoryRange allows the upper bound on the category range to be adjusted CategoryRange = DefaultCategoryRange + + privContainerMountLabel string ) // Context is a representation of the SELinux label broken into 4 parts @@ -280,5 +282,7 @@ func GetDefaultContextWithLevel(user, level, scon string) (string, error) { // PrivContainerMountLabel returns mount label for privileged containers func PrivContainerMountLabel() string { + // Make sure label is initialized. + _ = label("") return privContainerMountLabel } |