Move mention of pledge(2) and unveil(2) to README

The manual is the wrong place to document platform support.
weechat-hashes
C. McEnroe 2021-01-25 13:53:55 -05:00
parent 61bd4079a0
commit 61b42713e6
2 changed files with 11 additions and 8 deletions

View File

@ -1,4 +1,4 @@
.Dd January 18, 2021 .Dd January 25, 2021
.Dt README 7 .Dt README 7
.Os "Causal Agency" .Os "Causal Agency"
.\" To view this file, run: man ./README.7 .\" To view this file, run: man ./README.7
@ -93,6 +93,8 @@ provided by either
.Lk https://git.causal.agency/libretls/about LibreTLS .Lk https://git.causal.agency/libretls/about LibreTLS
(for OpenSSL) (for OpenSSL)
or by LibreSSL. or by LibreSSL.
.
.Pp
It targets It targets
.Fx , .Fx ,
.Ox , .Ox ,
@ -100,8 +102,16 @@ macOS
and Linux. and Linux.
On On
.Ox , .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 configure with
.Fl \-mandir=/usr/local/man . .Fl \-mandir=/usr/local/man .
.
.Bd -literal -offset indent .Bd -literal -offset indent
\&./configure \&./configure
make all make all

View File

@ -165,13 +165,6 @@ and
commands, commands,
as well as viewing this manual with as well as viewing this manual with
.Ic /help . .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 .It Fl S Ar host , Cm bind = Ar host
Bind to source address Bind to source address