summaryrefslogtreecommitdiffstats
path: root/lib/libutil/_secure_path.3
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>1999-09-21 19:39:27 +0000
committerphantom <phantom@FreeBSD.org>1999-09-21 19:39:27 +0000
commitbf608b572c2e8d26fc3956de3177006c36ad3358 (patch)
treee12db902dfaa2df81d71073ef0dbf53e50a4e61f /lib/libutil/_secure_path.3
parentcdf842b2dfff6f223103c7e10fd5a7b2af85c84a (diff)
downloadFreeBSD-src-bf608b572c2e8d26fc3956de3177006c36ad3358.zip
FreeBSD-src-bf608b572c2e8d26fc3956de3177006c36ad3358.tar.gz
mdoc(7)'fy
Reviewed by: mpp
Diffstat (limited to 'lib/libutil/_secure_path.3')
-rw-r--r--lib/libutil/_secure_path.39
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libutil/_secure_path.3 b/lib/libutil/_secure_path.3
index 85fc999..e962669 100644
--- a/lib/libutil/_secure_path.3
+++ b/lib/libutil/_secure_path.3
@@ -38,7 +38,9 @@ in order to decide whether or not to trust the contents of a given
file.
It uses a method often used to detect system compromise.
.Pp
-A file is considered 'secure' if it meets the following conditions:
+A file is considered
+.Sq secure
+if it meets the following conditions:
.Bl -enum
.It
The file exists, and is a regular file (not a symlink, device
@@ -55,7 +57,7 @@ gid, if gid is not -1.
This function returns zero if the file exists and may be
considered secure, -2 if the file does not exist, and
-1 otherwise to indicate a security failure.
-.Xr syslog 3 ,
+.Xr syslog 3
is used to log any failure of this function, including the
reason, at LOG_ERR priority.
.Sh BUGS
@@ -67,4 +69,5 @@ access to the file referenced.
.Xr syslog 3 .
.Sh HISTORY
Code from which this function was derived was contributed to the
-FreeBSD project by Berkeley Software Design, Inc.
+.Fx
+project by Berkeley Software Design, Inc.
OpenPOWER on IntegriCloud