summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--unveil_other.go18
1 files changed, 16 insertions, 2 deletions
diff --git a/unveil_other.go b/unveil_other.go
index a0273c9..1131c31 100644
--- a/unveil_other.go
+++ b/unveil_other.go
@@ -2,14 +2,28 @@
 
 package lynx
 
-// UnveilPath takes a path, permission & unveils it, it does nothing
+// Unveil takes a path, permission & unveils it, it does nothing
 // on non OpenBSD systems.
+func Unveil(_ string, _ string) error {
+	return nil
+}
+
+// UnveilPath takes a path, permission & unveils it, it does nothing
+// on non OpenBSD systems. Unveil should be used instead of
+// UnveilPath.
 func UnveilPath(_ string, _ string) error {
 	return nil
 }
 
-// UnveilPathStrict is just a wrapper around unix.Unveil. It does
+// UnveilStrict is just a wrapper around unix.Unveil. It does
 // nothing on non OpenBSD systems.
+func UnveilStrict(_ string, _ string) error {
+	return nil
+}
+
+// UnveilPathStrict is just a wrapper around unix.Unveil. It does
+// nothing on non OpenBSD systems. UnveilStrict should be used instead
+// of UnveilPathStrict.
 func UnveilPathStrict(_ string, _ string) error {
 	return nil
 }