summaryrefslogtreecommitdiffstats
path: root/lib/libutil/_secure_path.3
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>2000-04-22 16:17:00 +0000
committerphantom <phantom@FreeBSD.org>2000-04-22 16:17:00 +0000
commit13fe72d4bfdb65c20204a9dfa3cb0294704fe24a (patch)
tree1edb99ae9e36e3b0bd810281b942aac8dc274493 /lib/libutil/_secure_path.3
parent090008a89cb4d0bc5e566cc82b18765d0de3e124 (diff)
downloadFreeBSD-src-13fe72d4bfdb65c20204a9dfa3cb0294704fe24a.zip
FreeBSD-src-13fe72d4bfdb65c20204a9dfa3cb0294704fe24a.tar.gz
Introduce .Lb macro to libutil manpages
Sort .Nm values in some manpages Remove explicit note about compiling with -lutil, it's implicitly declared by .Lb macro now.
Diffstat (limited to 'lib/libutil/_secure_path.3')
-rw-r--r--lib/libutil/_secure_path.310
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/libutil/_secure_path.3 b/lib/libutil/_secure_path.3
index 5e762a1..d4e316f 100644
--- a/lib/libutil/_secure_path.3
+++ b/lib/libutil/_secure_path.3
@@ -25,17 +25,13 @@
.Sh NAME
.Nm _secure_path
.Nd determine if a file appears to be secure
+.Sh LIBRARY
+.Lb libutil
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <libutil.h>
.Ft int
.Fn _secure_path "const char *path" "uid_t uid" "gid_t gid"
-.Pp
-Link with
-.Va -lutil
-on the
-.Xr cc 1
-command line.
.Sh DESCRIPTION
This function does some basic security checking on a given path.
It is intended to be used by processes running with root privileges
@@ -71,7 +67,7 @@ to eliminate race conditions between use of this function and
access to the file referenced.
.Sh SEE ALSO
.Xr lstat 2 ,
-.Xr syslog 3 .
+.Xr syslog 3
.Sh HISTORY
Code from which this function was derived was contributed to the
.Fx
OpenPOWER on IntegriCloud