Add correct selinux label at plugin socket directory

This commit is contained in:
vikaschoudhary16
2019-01-24 07:09:32 +05:30
committed by Vikas Choudhary
parent b9631a881f
commit 58d1b4d564
8 changed files with 37 additions and 0 deletions

View File

@@ -31,3 +31,8 @@ var _ SELinuxRunner = &realSELinuxRunner{}
func (_ *realSELinuxRunner) Getfilecon(path string) (string, error) {
return "", nil
}
// FileLabel returns the SELinux label for this path or returns an error.
func SetFileLabel(path string, label string) error {
return nil
}