aboutsummaryrefslogtreecommitdiff
path: root/lib/libutil/_secure_path.3
diff options
context:
space:
mode:
authorAlexey Zelkin <phantom@FreeBSD.org>1999-09-21 19:39:27 +0000
committerAlexey Zelkin <phantom@FreeBSD.org>1999-09-21 19:39:27 +0000
commit3a049969b5cfa291d71c5f62d99603123aa9a074 (patch)
tree64a7a3d8b4fd99f10e611f3ea43d79ccd32a2832 /lib/libutil/_secure_path.3
parentb9391689ee890177d9b32338874b143922e14b3a (diff)
mdoc(7)'fy
Reviewed by: mpp
Notes
Notes: svn path=/head/; revision=51518
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 85fc999496d2..e962669ceb68 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.