summary refs log tree commit diff
diff options
context:
space:
mode:
authorC. McEnroe2021-01-25 13:53:55 -0500
committerC. McEnroe2021-01-25 13:58:02 -0500
commit61b42713e624034fa015fc42fe0615197a5d6045 (patch)
tree23860711ade87daa612c28689f1353225426d52c
parent61bd4079a0e2cb3817892580461407c8d009338d (diff)
Move mention of pledge(2) and unveil(2) to README
The manual is the wrong place to document platform support.
-rw-r--r--README.712
-rw-r--r--catgirl.17
2 files changed, 11 insertions, 8 deletions
diff --git a/README.7 b/README.7
index 9cd89df..a6e9792 100644
--- a/README.7
+++ b/README.7
@@ -1,4 +1,4 @@
-.Dd January 18, 2021
+.Dd January 25, 2021
 .Dt README 7
 .Os "Causal Agency"
 .\" To view this file, run: man ./README.7
@@ -93,6 +93,8 @@ provided by either
 .Lk https://git.causal.agency/libretls/about LibreTLS
 (for OpenSSL)
 or by LibreSSL.
+.
+.Pp
 It targets
 .Fx ,
 .Ox ,
@@ -100,8 +102,16 @@ macOS
 and Linux.
 On
 .Ox ,
+.Xr pledge 2
+is used to limit system operations,
+and with
+.Nm Fl R ,
+.Xr unveil 2
+is used to limit filesystem access.
+On BSD systems,
 configure with
 .Fl \-mandir=/usr/local/man .
+.
 .Bd -literal -offset indent
 \&./configure
 make all
diff --git a/catgirl.1 b/catgirl.1
index f0dddfe..f14ba3a 100644
--- a/catgirl.1
+++ b/catgirl.1
@@ -165,13 +165,6 @@ and
 commands,
 as well as viewing this manual with
 .Ic /help .
-On
-.Ox ,
-restrict system operations
-and filesystem access with
-.Xr pledge 2
-and
-.Xr unveil 2 .
 .
 .It Fl S Ar host , Cm bind = Ar host
 Bind to source address