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
This commit is contained in:
Bill Fumerola 2000-01-18 01:27:47 +00:00
parent b822a5eae9
commit 4aee48edcc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56207
7 changed files with 39 additions and 0 deletions

View File

@ -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

View File

@ -44,6 +44,12 @@
.Fa "FILE *stream" "size_t *len" "size_t *lineno"
.Fa "const char delim[3]" "int flags"
.Fc
.Pp
Link with
.Va -lutil
on the
.Xr cc 1
command line.
.Sh DESCRIPTION
The
.Fn fparseln

View File

@ -57,6 +57,12 @@
.\" .Fn auth_hostok "login_cap_t *lc" "const char *hostname" "char const *ip"
.\" .Ft int
.\" .Fn auth_timesok "login_cap_t *lc" "time_t now"
.Pp
Link with
.Va -lutil
on the
.Xr cc 1
command line.
.Sh DESCRIPTION
This set of functions support the login class authorisation style interface provided
by

View File

@ -66,6 +66,11 @@
.Ft char *
.Fn login_getstyle "login_cap_t *lc" "char *style" "const char *auth"
.Pp
Link with
.Va -lutil
on the
.Xr cc 1
command line.
.Sh DESCRIPTION
These functions represent a programming interface to the login
classes database provided in

View File

@ -40,6 +40,11 @@
.Ft void
.Fn setclassenvironment "login_cap_t *lc" "const struct passwd *pwd" "int paths"
.Pp
Link with
.Va -lutil
on the
.Xr cc 1
command line.
.Sh DESCRIPTION
These functions provide a higher level interface to the login class
database than those documented in

View File

@ -37,6 +37,12 @@
.Fn auth_hostok "login_cap_t *lc" "const char *host" "char const *ip"
.Ft int
.Fn auth_timeok "login_cap_t *lc" "time_t t"
.Pp
Link with
.Va -lutil
on the
.Xr cc 1
command line.
.Sh DESCRIPTION
This set of functions checks to see if login is allowed based on login
class capability entries in the login database,

View File

@ -37,6 +37,12 @@
.Fn in_ltm "const login_time_t *lt" "struct tm *t" "time_t *ends"
.Ft int
.Fn in_ltms "const login_time_t *lt" "struct tm *t" "time_t *ends"
.Pp
Link with
.Va -lutil
on the
.Xr cc 1
command line.
.Sh DESCRIPTION
This set of functions may be used for parsing and checking login and
session times against a predefined list of allowed login times as