summaryrefslogtreecommitdiff
path: root/pkg/label/label.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/label/label.go')
-rw-r--r--pkg/label/label.go26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkg/label/label.go b/pkg/label/label.go
new file mode 100644
index 0000000000..38f026bc5a
--- /dev/null
+++ b/pkg/label/label.go
@@ -0,0 +1,26 @@
+// +build !selinux !linux
+
+package label
+
+func GenLabels(options string) (string, string, error) {
+ return "", "", nil
+}
+
+func FormatMountLabel(src string, mountLabel string) string {
+ return src
+}
+
+func SetProcessLabel(processLabel string) error {
+ return nil
+}
+
+func SetFileLabel(path string, fileLabel string) error {
+ return nil
+}
+
+func GetPidCon(pid int) (string, error) {
+ return "", nil
+}
+
+func Init() {
+}