aboutsummaryrefslogtreecommitdiff
path: root/lib/libutil/_secure_path.3
diff options
context:
space:
mode:
authorBill Fumerola <billf@FreeBSD.org>2000-01-18 01:27:47 +0000
committerBill Fumerola <billf@FreeBSD.org>2000-01-18 01:27:47 +0000
commit4aee48edccd1ec89a29a44be2a509c807b23c324 (patch)
tree9d5ceed6a4f08c1f97a3ac8ceb477558c9fac739 /lib/libutil/_secure_path.3
parentb822a5eae9017a9670d221ce4514124e71b26ec2 (diff)
downloadsrc-4aee48edccd1ec89a29a44be2a509c807b23c324.tar.gz
src-4aee48edccd1ec89a29a44be2a509c807b23c324.zip
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
Notes
Notes: svn path=/head/; revision=56207
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 e962669ceb68..5e762a160661 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