summaryrefslogtreecommitdiffstats
path: root/lib/libutil
diff options
context:
space:
mode:
authorcsjp <csjp@FreeBSD.org>2005-12-30 06:16:20 +0000
committercsjp <csjp@FreeBSD.org>2005-12-30 06:16:20 +0000
commit3c839b24894f7c9ee70a27e2e04b3f9100761c5a (patch)
treeb6cbe1fcc95f4d61d376797add4d20ca3880b4ff /lib/libutil
parent7953a4ff7e814206bd63de3fb9ff416b57d3a5a1 (diff)
downloadFreeBSD-src-3c839b24894f7c9ee70a27e2e04b3f9100761c5a.zip
FreeBSD-src-3c839b24894f7c9ee70a27e2e04b3f9100761c5a.tar.gz
Document the LOGIN_SETMAC setusercontext(3) flag. While we are here, drop
in an external reference to mac_set_proc(3).
Diffstat (limited to 'lib/libutil')
-rw-r--r--lib/libutil/login_class.35
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libutil/login_class.3 b/lib/libutil/login_class.3
index c698bdb..8f324dd 100644
--- a/lib/libutil/login_class.3
+++ b/lib/libutil/login_class.3
@@ -151,6 +151,10 @@ term TERM
.Pp
Additional environment variables may be set using the list type
capability "setenv=var1 val1,var2 val2..,varN valN".
+.It LOGIN_SETMAC
+Set the MAC label for the current process to the label specified
+in system login class database.
+.Pp
.It LOGIN_SETALL
Enables all of the above settings.
.El
@@ -188,5 +192,6 @@ with LOG_ERR priority and directed to the currently active facility.
.Xr getcap 3 ,
.Xr initgroups 3 ,
.Xr login_cap 3 ,
+.Xr mac_set_proc 3 ,
.Xr login.conf 5 ,
.Xr termcap 5
OpenPOWER on IntegriCloud