summary refs log tree commit diff stats
path: root/paths_other.go
diff options
context:
space:
mode:
Diffstat (limited to 'paths_other.go')
-rw-r--r--paths_other.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/paths_other.go b/paths_other.go
new file mode 100644
index 0000000..de2c2b1
--- /dev/null
+++ b/paths_other.go
@@ -0,0 +1,15 @@
+// +build !openbsd
+
+package lynx
+
+// UnveilPaths takes a map of path, permission & unveils them one by
+// one, it does nothing on non OpenBSD systems.
+func UnveilPaths(_ map[string]string) error {
+	return nil
+}
+
+// UnveilPathsStrict takes a map of path, permission & unveils them
+// one by one, it does nothing on non OpenBSD systems.
+func UnveilPathsStrict(_ map[string]string) error {
+	return nil
+}