summaryrefslogtreecommitdiffstats
path: root/lib/libutil/_secure_path.3
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>2000-01-18 01:27:47 +0000
committerbillf <billf@FreeBSD.org>2000-01-18 01:27:47 +0000
commit1fb52e454373e03ecf8f2a6fe03fd95b26b41084 (patch)
tree91a5684f92c702736a5fc7fff05bac1fa073a791 /lib/libutil/_secure_path.3
parent688f4a7de6d15bc9893dd81b5b135d9e22ab7ad9 (diff)
downloadFreeBSD-src-1fb52e454373e03ecf8f2a6fe03fd95b26b41084.zip
FreeBSD-src-1fb52e454373e03ecf8f2a6fe03fd95b26b41084.tar.gz
Add the "use -lutil" line to all functions that require it so people like
Dan Papsian <bugg@bugg.strangled.net> don't anger wpaul and myself with silly linking errors. Reviewed by: chris
Diffstat (limited to 'lib/libutil/_secure_path.3')
-rw-r--r--lib/libutil/_secure_path.35
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libutil/_secure_path.3 b/lib/libutil/_secure_path.3
index e962669..5e762a1 100644
--- a/lib/libutil/_secure_path.3
+++ b/lib/libutil/_secure_path.3
@@ -31,6 +31,11 @@
.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
OpenPOWER on IntegriCloud