summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Constify _malloc_options.Poul-Henning Kamp2002-04-242-3/+3
| | | | Notes: svn path=/head/; revision=95377
* Do not +1 with MAXPATHLEN.David E. O'Brien2002-04-231-1/+1
| | | | | | | Reviewed by: imp Notes: svn path=/head/; revision=95331
* Usage style sweep: spell "usage" with a small 'u'.Dag-Erling Smørgrav2002-04-224-4/+4
| | | | | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/. Notes: svn path=/head/; revision=95258
* Implement several of the c99 updates to scanf(3):Bill Fenner2002-04-202-140/+220
| | | | | | | | | | | | | | | | - New length modifiers: hh, j, ll, t, z. Still to do: - %C, %S, %lc, %ls (wide character support) - %a/%A (exact hex representation of floating-point numbers) Removed old compatability equivalents: - %D for %ld, %O for %lo, %X for %lx, %E and %F for %le & %lf (these were buggy anyway, since they should have represented %Le & %Lf). - %[unknown uppercase char] for %ld, %[unknown lowercase char] for %d Notes: svn path=/head/; revision=95137
* Oops, fix an inverted if test.Dag-Erling Smørgrav2002-04-201-1/+1
| | | | Notes: svn path=/head/; revision=95136
* Strip /dev/ from tty name, and clean up the "last login" printout.Dag-Erling Smørgrav2002-04-201-6/+10
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=95135
* login(3) doesn't care about the controlling terminal any more.Dag-Erling Smørgrav2002-04-201-1/+1
| | | | Notes: svn path=/head/; revision=95126
* Fix for the sshd(8) utmp problem. Previously, login(3) would ignore the ttyDag-Erling Smørgrav2002-04-201-3/+9
| | | | | | | | | | | | | | | | | | named by its argument and use ttyslot(3) instead to determine what slot to use. The problem is that sshd(8) calls pam_open_session(3) before forking the child (as it should), at which point it does not have a controlling terminal. Also, ttyslot(3) is very crude as it assumes fd 0, 1 or 2 refers to the controlling terminal, which is usually (but not always) the case. Instead of using ttyslot(3) to determine the slot number, look up the specified tty in /etc/ttys ourselves (this is what ttyslot(3) does anyway). (perforce change 9969) Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=95125
* Add character translation table between Unix and NetWare accordingBoris Popov2002-04-201-1/+78
| | | | | | | | | | to Sweden standards. Submitted by: Roger Olofsson <roger.olofsson@kommun.engelholm.se> MFC after: 1 week Notes: svn path=/head/; revision=95108
* mdoc(7) police: polishing.Ruslan Ermilov2002-04-191-11/+14
| | | | Notes: svn path=/head/; revision=95041
* just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD.SUZUKI Shinsuke2002-04-198-13/+29
| | | | | | | | | | (based on freebsd4-snap-20020128) Reviewed by: ume MFC after: 1 week Notes: svn path=/head/; revision=95023
* Connect the kenv.2 manpage to the build.Maxime Henrion2002-04-181-1/+1
| | | | Notes: svn path=/head/; revision=95004
* Add a manpage for the kenv(2) syscall that Chad David kindlyMaxime Henrion2002-04-181-0/+172
| | | | | | | | | wrote for me. Submitted by: davidc Notes: svn path=/head/; revision=95003
* Back out previous commit, which was not at all approved by the maintainerDag-Erling Smørgrav2002-04-181-21/+32
| | | | | | | | | | | of this code. I very much doubt that "the FreeBSD way" really means "make it as unreadable and unmaintable as possible", and I would like Makefile style (which is not currently documented anywhere except in the minds of bde and ru) to be discussed and agreed upon in the appropriate forum before any further commits of this kind happen. Notes: svn path=/head/; revision=95001
* This style is *way* outside the relm of any other of our MakefilesDavid E. O'Brien2002-04-181-32/+21
| | | | | | | | | (other than the single sys.mk). Adjust to smell like FreeBSD. Reviewed & prefered by: bde Notes: svn path=/head/; revision=94998
* Removed gratuitous LIBCOMPATDIR assignments.Ruslan Ermilov2002-04-183-6/+0
| | | | Notes: svn path=/head/; revision=94993
* This Makefile.inc depended on the (wrong) order of inclusionRuslan Ermilov2002-04-181-1/+2
| | | | | | | | | | | | | of makefiles: bsd.own.mk was included before ../Makefile.inc, effectively hiding the (wrong) LIBCOMPATDIR assignment here. share/mk/sys.mk,v 1.60 (and assorted share/mk fixes) fixed this order, revealed this bug, and broke "make release" and "make installworld" with either of -DCOMPAT1X or -DCOMPAT2?. Reported by: jhay Notes: svn path=/head/; revision=94983
* Revert previous change. bsd.dep.mk,v 1.31 had a bug that was fixedRuslan Ermilov2002-04-171-2/+2
| | | | | | | in revision 1.32 and made this change OBE. Notes: svn path=/head/; revision=94923
* Make mppath and masterpasswd pointers instead of arrays, and initializeDag-Erling Smørgrav2002-04-171-2/+4
| | | | | | | | | | | | them to point at static strings that contain the default paths. This makes 'vipw -d' work again (I broke it in rev 1.21; apologies for taking so long to fix it.) Spotted by: Olivier Houchard <doginou@cognet.ci0.org> Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=94897
* Add a missing .El and fix a typo.Dag-Erling Smørgrav2002-04-161-1/+2
| | | | | | | | Spotted by: Solar Designer <solar@openwall.com> Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=94892
* Reflect change in share/mk/bsd.dep.mk,v 1.31.Ruslan Ermilov2002-04-161-2/+2
| | | | Notes: svn path=/head/; revision=94842
* Support the snapshot file flag, so that tools like 'ls -ol' workJosef Karthauser2002-04-161-0/+3
| | | | | | | | | | as expected on snapshot files. PR: bin/37038 Submitted by: Joshua Goodall <joshua@roughtrade.net> Notes: svn path=/head/; revision=94831
* Add a missing cross-ref.Ceri Davies2002-04-161-1/+2
| | | | | | | | Approved by: murray MFC after: 1 week Notes: svn path=/head/; revision=94829
* The GCC developers have made good on their threats against #pragma for 3.1.David E. O'Brien2002-04-155-5/+8
| | | | | | | | | Use __weak_reference in place of the #pragma. Submitted by: eischen Notes: svn path=/head/; revision=94808
* Back out rev 1.6 -- I was in the wrong dir during a 'ci'. This changeDavid E. O'Brien2002-04-151-21/+32
| | | | | | | was on hold waiting feedback from previous committer. Notes: svn path=/head/; revision=94807
* ypclnt.h was the correct spelling... we now have yet another specialDavid E. O'Brien2002-04-151-32/+21
| | | | | | | thing that needs to be done to get a header installed. Notes: svn path=/head/; revision=94806
* Revert previous commit, it is incorrect.Dag-Erling Smørgrav2002-04-151-1/+1
| | | | Notes: svn path=/head/; revision=94805
* Properly spell rpcsvc/ypclnt.h and fix the build.David E. O'Brien2002-04-151-1/+1
| | | | Notes: svn path=/head/; revision=94804
* Sync SCM ID comments with libc.David E. O'Brien2002-04-153-21/+27
| | | | Notes: svn path=/head/; revision=94797
* Add awareness of an IPv6.Hajimu UMEMOTO2002-04-151-7/+20
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=94789
* Remove bogus reference to _use_yp.Dag-Erling Smørgrav2002-04-151-9/+1
| | | | Notes: svn path=/head/; revision=94776
* Fix incorrect dependency. This should fix the -j build.Dag-Erling Smørgrav2002-04-151-1/+1
| | | | Notes: svn path=/head/; revision=94773
* This isn't WARNS ready in the -nostdinc case.Ruslan Ermilov2002-04-151-0/+1
| | | | Notes: svn path=/head/; revision=94770
* Throw in NO_WERROR to please the peanut gallery.Dag-Erling Smørgrav2002-04-151-0/+1
| | | | Notes: svn path=/head/; revision=94761
* Quoting log message for OpenBSD rev 1.7:Jacques Vidrine2002-04-151-0/+28
| | | | | | | | | ``Tack on MagniComp (BSD) license since this originally came from rdist.'' Obtained from: OpenBSD Notes: svn path=/head/; revision=94757
* Use PAM_SUCCESS instead of PAM_IGNORE.Dag-Erling Smørgrav2002-04-152-3/+3
| | | | Notes: svn path=/head/; revision=94734
* Whitespace nits.Dag-Erling Smørgrav2002-04-151-17/+17
| | | | Notes: svn path=/head/; revision=94728
* Add a manual page based on Solar Designer's README.Dag-Erling Smørgrav2002-04-152-1/+234
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=94727
* pam_passwdqc depends on libcrypt.Dag-Erling Smørgrav2002-04-151-0/+2
| | | | Notes: svn path=/head/; revision=94726
* Prompt for new password during update phase, not during preliminary phase.Dag-Erling Smørgrav2002-04-151-16/+10
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=94717
* Dike out most of the NIS code and replace it with calls to libypclnt.Dag-Erling Smørgrav2002-04-152-285/+79
| | | | | | | | | | Rework pam_sm_chauthtok() so it (mostly?) works. The standard pw stuff still needs to move into a library somewhere. Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=94715
* Add a missing generated file.Dag-Erling Smørgrav2002-04-151-1/+5
| | | | Notes: svn path=/head/; revision=94713
* Missed a spot in previous commit.Dag-Erling Smørgrav2002-04-151-1/+3
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=94700
* pam_passwdqc builds now.Dag-Erling Smørgrav2002-04-141-1/+1
| | | | Notes: svn path=/head/; revision=94693
* Connect libypclnt to the build.Dag-Erling Smørgrav2002-04-141-2/+3
| | | | Notes: svn path=/head/; revision=94690
* (ab)use unused bits in the pw_fields member of struct passwd to recordDag-Erling Smørgrav2002-04-141-2/+12
| | | | | | | | | the source of the data contained in the structure. Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=94688
* More recent versions of pam_passwdqc (not yet released) build with veryDag-Erling Smørgrav2002-04-141-1/+2
| | | | | | | few warnings. Notes: svn path=/head/; revision=94675
* New files in OpenPAM Cineraria.Dag-Erling Smørgrav2002-04-141-0/+2
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=94674
* Cosmetic nit.Dag-Erling Smørgrav2002-04-141-1/+1
| | | | Notes: svn path=/head/; revision=94673
* Cast a ptrdiff_t to int before using it as a printf field width.Dag-Erling Smørgrav2002-04-141-2/+2
| | | | Notes: svn path=/head/; revision=94662