summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-04-24 12:48:39 +0200
committerGitHub <noreply@github.com>2020-04-24 12:48:39 +0200
commit2c457a632c73cad3acfd5946633e67ef26211b34 (patch)
treebad4119959e52c27e26b43a186c45c22e08b21db /libpod
parent81c7a2444cb5cbf8b8911cdb59446a239f89168c (diff)
parent995cd97c100f65e477585e705c71eb48a9ab3890 (diff)
downloadpodman-2c457a632c73cad3acfd5946633e67ef26211b34.tar.gz
podman-2c457a632c73cad3acfd5946633e67ef26211b34.tar.bz2
podman-2c457a632c73cad3acfd5946633e67ef26211b34.zip
Merge pull request #5962 from rhatdan/selinux
Fix SELinux functions names to not be repetitive
Diffstat (limited to 'libpod')
-rw-r--r--libpod/container_internal.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/container_internal.go b/libpod/container_internal.go
index 4cb80a98b..3fcf687ec 100644
--- a/libpod/container_internal.go
+++ b/libpod/container_internal.go
@@ -435,12 +435,12 @@ func (c *Container) setupStorage(ctx context.Context) error {
processLabel := containerInfo.ProcessLabel
switch {
case c.ociRuntime.SupportsKVM():
- processLabel, err = selinux.SELinuxKVMLabel(processLabel)
+ processLabel, err = selinux.KVMLabel(processLabel)
if err != nil {
return err
}
case c.config.Systemd:
- processLabel, err = selinux.SELinuxInitLabel(processLabel)
+ processLabel, err = selinux.InitLabel(processLabel)
if err != nil {
return err
}