summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Three times lucky: <stddef.h>, not <sys/param.h>Dag-Erling Smørgrav2002-02-052-2/+2
| | | | Notes: svn path=/head/; revision=90237
* Oops, the correct header to include for NULL is <sys/param.h>.Dag-Erling Smørgrav2002-02-052-2/+2
| | | | Notes: svn path=/head/; revision=90236
* ANSIfy and constify.Dag-Erling Smørgrav2002-02-051-17/+15
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=90233
* #include <sys/types.h> for NULL (hidden by Linux-PAM header pollution)Dag-Erling Smørgrav2002-02-052-0/+4
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=90230
* #include cleanup.Dag-Erling Smørgrav2002-02-0518-24/+35
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=90229
* hex.c is new in libisc with 8.3.1-REL.Jacques Vidrine2002-02-041-1/+1
| | | | Notes: svn path=/head/; revision=90213
* Explicitly declare (gcc internal) functions.Mark Murray2002-02-041-0/+1
| | | | | | | Submitted by: ru Notes: svn path=/head/; revision=90203
* ssh_get_authentication_connection() gets its parameters from environmentDag-Erling Smørgrav2002-02-041-2/+24
| | | | | | | | | variables, so temporarily switch to the PAM environment before calling it. Submitted by: Takanori Saneto <sanewo@ba2.so-net.ne.jp> Notes: svn path=/head/; revision=90195
* Protect "make buildworld" against -Werror, as this module does notMark Murray2002-02-041-0/+1
| | | | | | | build cleanly. Notes: svn path=/head/; revision=90188
* Allow ldd(1) be used on shared libraries in addition to executables.Maxim Sobolev2002-02-041-0/+7
| | | | Notes: svn path=/head/; revision=90172
* Add the other half of the salt-generating code. No functionalMark Murray2002-02-041-8/+7
| | | | | | | | difference except that the salt is slightly harder to build dictionaries against, and the code does not use srandom[dev](). Notes: svn path=/head/; revision=90155
* Turn on fascist warning mode.Mark Murray2002-02-031-0/+2
| | | | Notes: svn path=/head/; revision=90147
* WARNS=n fixes (and some stylistic issues).Mark Murray2002-02-036-55/+91
| | | | Notes: svn path=/head/; revision=90145
* Remove an unnecessary #include that trips up OpenPAM. The header in questionDag-Erling Smørgrav2002-02-021-2/+0
| | | | | | | | | | | is an internal Linux-PAM header which shouldn't be used outside Linux-PAM itself, and has absolutely zero effect on pam_ftp. Sponsored by: DARPA, NAI Labs MFC after: 1 week Notes: svn path=/head/; revision=90119
* Fixed world breakage in previous commit. The generated headers are inBruce Evans2002-02-021-1/+1
| | | | | | | the current directory which is rarely ${.CURDIR}. Notes: svn path=/head/; revision=90097
* Fixed tab lossage in vendor id and nearby style bugs in previous commit.Bruce Evans2002-02-011-1/+4
| | | | Notes: svn path=/head/; revision=90096
* Fixed syntax error in previous commit. It was non-fatal because it wasBruce Evans2002-02-011-3/+5
| | | | | | | | | | in conditional code that happens not to be compiled, and because gcc doesn't complain garbage after #endif by default. Fixed some style bugs in previous commit, 1.8 and 1.1. Notes: svn path=/head/; revision=90095
* Post-repocopy cleanup.Dag-Erling Smørgrav2002-02-012-7/+1
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=90093
* Complete bzip2-1.0.2 import.Maxim Sobolev2002-02-015-15/+58
| | | | | | | MFC in: 14 days Notes: svn path=/head/; revision=90070
* Connect the pam_lastlog(8) and pam_login_access(8) modules to the build.Dag-Erling Smørgrav2002-02-012-0/+4
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=90054
* Return ENONAME if getaddrinfo() is called with AI_NUMERICHOSTPeter Pentchev2002-02-011-1/+1
| | | | | | | | | | | | and the hostname given is not numeric. PR: 34390 Submitted by: Serge van den Boom <svdb@stack.nl> Approved by: silence from -net MFC after: 1 month Notes: svn path=/head/; revision=90053
* Fixed slipage in editor.David E. O'Brien2002-02-011-0/+1
| | | | Notes: svn path=/head/; revision=90050
* Cut-n-paste in `list' mode considered harmful.David E. O'Brien2002-02-012-5/+5
| | | | Notes: svn path=/head/; revision=90049
* * Remove __P and convert to ANSI prototypes.David E. O'Brien2002-02-012-19/+17
| | | | | | | | * Remove 'register'. (some functions had 7+ register functions...) * Fix SCM ID's. Notes: svn path=/head/; revision=90046
* * Remove __P and convert to ANSI prototypes.David E. O'Brien2002-02-0116-264/+245
| | | | | | | | * Remove 'register'. (some functions had 7+ register functions...) * Fix SCM ID's. Notes: svn path=/head/; revision=90045
* * Remove 'register'. (some functions had 7+ register functions...)David E. O'Brien2002-02-0116-68/+77
| | | | | | | * Fix SCM ID's. Notes: svn path=/head/; revision=90041
* Fix SCM ID's.David E. O'Brien2002-02-0162-207/+166
| | | | Notes: svn path=/head/; revision=90039
* Fix minor style nit.David E. O'Brien2002-01-311-1/+3
| | | | Notes: svn path=/head/; revision=90030
* Revert last commit. stdio.h include is for perror(), not strerror()Chris D. Faulhaber2002-01-311-1/+1
| | | | Notes: svn path=/head/; revision=90021
* strerror(3) is in string.h, not stdio.hChris D. Faulhaber2002-01-311-1/+1
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=90017
* Fixed world breakage due to missing include of <sys/cdefs.h> in previousBruce Evans2002-01-314-5/+17
| | | | | | | | | | | | | | | commit. Fixed related style bugs: basename.c: misplaced '#if 0' dirname.c: misplaced '#if 0' getgrent.c: missing '#if 0', and tab lossage in vendor id (the previous commit fixed the complete corruption of the vendor id but lost a tab) getpwent.c: missing '#if 0' Notes: svn path=/head/; revision=90016
* Fix FreeBSD IDs.David E. O'Brien2002-01-305-15/+12
| | | | Notes: svn path=/head/; revision=89999
* Still with asbestos longjohns on, completely PAMify login(1) and removeDag-Erling Smørgrav2002-01-301-19/+20
| | | | | | | | | code made redundant by various PAM modules (primarily pam_unix(8)). Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=89994
* With asbestos longjohns on, integrate most of the checks normally done byDag-Erling Smørgrav2002-01-301-32/+102
| | | | | | | | | login(1) (password & account expiry, hosts.access etc.) into pam_unix(8). Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=89993
* Move the code from pam_sm_authenticate() to pam_sm_acct_mgmt(). SimplifyDag-Erling Smørgrav2002-01-302-62/+58
| | | | | | | | | | | it a little and try to make it more resilient to various possible failure conditions. Change the man page accordingly, and take advantage of this opportunity to simplify its language. Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=89991
* Correct function's description.Chris D. Faulhaber2002-01-291-1/+1
| | | | | | | Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=89953
* GC code that moved to crtbrand.c.David E. O'Brien2002-01-281-4/+0
| | | | Notes: svn path=/head/; revision=89930
* Do not try to convert to char already converted C monetary locale members.Andrey A. Chernov2002-01-282-28/+40
| | | | | | | Do this conversion on locale load stage instead. Notes: svn path=/head/; revision=89907
* o return EINVAL if acl_to_text() have been sent a NULL acl. ↵Chris D. Faulhaber2002-01-261-1/+6
| | | | | | | | | o update copyright dates. Reviewed by: rwatson Notes: svn path=/head/; revision=89831
* Use ctime_r to build the timestamp for syslog, so that we don'tDavid Malone2002-01-251-2/+2
| | | | | | | | | | | clobber a ctime buffer which is passed in. PR: 34022 Submitted by: Hartmut Brandt <brandt@fokus.gmd.de> MFC after: 2 weeks Notes: svn path=/head/; revision=89805
* Add libfetch.so.2 from a 17-Dec-2001 4.5-RC (releng4) build.David E. O'Brien2002-01-242-0/+456
| | | | Notes: svn path=/head/; revision=89761
* WARNS=4 fixes. Protect with NO_WERROR for the modules that haveMark Murray2002-01-2421-127/+138
| | | | | | | warnings that are hard to fix or that I've been asked to leave alone. Notes: svn path=/head/; revision=89760
* PAM modules shouldn't call putenv(); pam_putenv() is sufficient. TheDag-Erling Smørgrav2002-01-241-1/+0
| | | | | | | | | | caller is supposed to check the PAM envlist and export the variables it contains; if it doesn't, it's broken. Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=89753
* Change the order in which pam_sm_open_session() updates the logs. ThisDag-Erling Smørgrav2002-01-242-25/+14
| | | | | | | | | | | | | | doesn't really make any difference, except it matches wtmp(5) better. Don't do anything in pam_sm_close_session(); init(8) will take care of utmp and wtmp when the tty is released. Clearing them here would make it possible to create a ghost session by logging in, running 'login -f $USER' and exiting the subshell. Sponsored by: DARPA, NAI Labs (but the bugs are all mine) Notes: svn path=/head/; revision=89748
* Correctly interpret PAM_RHOST being unset as an indicator of a localDag-Erling Smørgrav2002-01-241-3/+2
| | | | | | | | | login. Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=89745
* Correctly interpret PAM_RHOST being unset as an indicator of a localDag-Erling Smørgrav2002-01-241-1/+5
| | | | | | | login. Notes: svn path=/head/; revision=89744
* Style nits.Dag-Erling Smørgrav2002-01-241-2/+2
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=89743
* get __time_load_locale() prototype from include file, rather than declareAlexey Zelkin2002-01-241-3/+2
| | | | | | | own Notes: svn path=/head/; revision=89739
* * style(9)'fyAlexey Zelkin2002-01-242-33/+34
| | | | | | | * declare prototype for __time_load_locale() in timelocal.h Notes: svn path=/head/; revision=89736
* Fix problem where with PicoBSD the shell coredumps if it does not find anDavid E. O'Brien2002-01-241-1/+1
| | | | | | | | | entry for its terminal type in /etc/termcap. Submitted by: bde Notes: svn path=/head/; revision=89735