From 61b42713e624034fa015fc42fe0615197a5d6045 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Mon, 25 Jan 2021 13:53:55 -0500 Subject: Move mention of pledge(2) and unveil(2) to README The manual is the wrong place to document platform support. --- README.7 | 12 +++++++++++- catgirl.1 | 7 ------- 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 -- cgit 1.4.1