sysctl.9: document CTLFLAG_CAPRD and CTLFLAG_CAPWR

Reported by:	Shawn Webb
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2017-10-10 23:54:25 +00:00
parent 1f9916ed08
commit e312709278
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=324509

View File

@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd December 13, 2016
.Dd October 10, 2017
.Dt SYSCTL 9
.Os
.Sh NAME
@ -668,6 +668,10 @@ Additionally, any of the following optional flags may also be specified:
.Bl -tag -width ".Dv CTLFLAG_ANYBODY"
.It Dv CTLFLAG_ANYBODY
Any user or process can write to this sysctl.
.It Dv CTLFLAG_CAPRD
A process in capability mode can read from this sysctl.
.It Dv CTLFLAG_CAPWR
A process in capability mode can write to this sysctl.
.It Dv CTLFLAG_SECURE
This sysctl can be written to only if the effective securelevel of the
process is \[<=] 0.