aboutsummaryrefslogtreecommitdiff
path: root/lib/libutil/_secure_path.3
diff options
context:
space:
mode:
authorAlexey Zelkin <phantom@FreeBSD.org>2000-04-22 16:17:00 +0000
committerAlexey Zelkin <phantom@FreeBSD.org>2000-04-22 16:17:00 +0000
commit3dc329d1be00b8b4ba4a45886b6374289daa8ab0 (patch)
tree55f87a4968585f582e448d4417373c0c49db4983 /lib/libutil/_secure_path.3
parent67e7c55f40e2d44fe2fb34d1f7917c9f36bb6822 (diff)
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.
Notes
Notes: svn path=/head/; revision=59516
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 5e762a160661..d4e316fed134 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