summaryrefslogtreecommitdiffstats
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* Don't assume that the number of fds to select on is known quantity (injkh2001-12-091-32/+56
| | | | | | | | this case 16). Use dynamic FD_SETs and calculated high-water marks throughout. There are also too many versions of telnet in the tree. Obtained from: OpenBSD and Apple's Radar database MFC after: 2 days
* Although the previous went some way towards fixing the pam.conf / pam.ddes2001-12-071-117/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | problem, it still didn't DTRT for services that did not have a service- specific policy if /etc/pam.d existed but did not contain an "other" policy. This fixes the problems some people have experienced with sudo. And I almost didn't have to use goto. The current configuration sequence is: 1) Look for /etc/pam.d/foo 2) If PAM_READ_BOTH_CONFS is defined, or step 1) failed, look for foo in /etc/pam.conf 3) Look for /etc/pam.d/other (to fill in the gaps) 4) If PAM_READ_BOTH_CONFS is defined, or step 3) failed, look for other in /etc/pam.conf I believe this is the intended behaviour of the original code. The least surprising behaviour seems to be when PAM_READ_BOTH_CONFS is not defined - /etc/pam.d/foo will be preferred over /etc/pam.conf, but the latter will serve as a backup if the former does not exist. Sponsored by: DARPA, NAI Labs
* Fix a bug that made PAM fail if /etc/pam.d/ existed but was empty.des2001-12-051-0/+46
| | | | Sponsored by: DARPA, NAI Labs
* Clean up namespace pollution by prepending underscores to argument names indes2001-12-056-87/+96
| | | | | | function prototypes (or, in a few cases, removing argument names altogether). Sponsored by: DARPA, NAI Labs
* This file isn't used; it's an older version of include/security/pam_misc.h.des2001-12-051-72/+0
| | | | Sponsored by: DARPA, NAI Labs
* Fixed bugs from previous revision.ru2001-12-041-1/+2
| | | | Removed -s from SYNOPSIS and restored -S in DESCRIPTION.
* Protect variables and function prototypes that are only used in the INET6jhay2001-12-031-1/+7
| | | | | | | | case with an ifdef INET6. This make the fixit floppy compile again. Reviewed by: markm
* More help for alpha WARNS=2. This code is, erm, unusual. Anyone whomarkm2001-12-031-4/+4
| | | | feels like rewriting it will meet no objection from me.
* help the alphas out with the WARNS=2 stuff.markm2001-12-032-2/+2
|
* Fix namespace pollution by protecting names used as arguments.markm2001-12-011-5/+7
| | | | Reported by: bde
* Damn. The previous mega-commit was incomplete WRT ANSIfication. Thismarkm2001-11-3013-281/+250
| | | | fixes that.
* Very large style makeover.markm2001-11-3045-5317/+2469
| | | | | | | | | | | | | 1) ANSIfy. 2) Clean up ifdefs so that a) ones that never/always apply are appropriately either fully removed, or just the #if junk is removed. b) change #if defined(FOO) for appropiate values of FOO. (currently AUTHENTICATION and ENCRYPTION) 3) WARNS=2 fixing 4) GC other unused stuff This code can now be unifdef(1)ed to make non-crypto telnet.
* Due to incorrect include ordering, <dlfcn.h> did not get included, sodes2001-11-271-10/+7
| | | | | | | | RTLD_NOW got incorrectly defined to 1 (which is RTLD_LAZY in FreeBSD). In addition, the comment about FreeBSD requiring SHLIB_SYM_PREFIX to be "_" is incorrect. Submitted by: tobez (except for the bit about the incorrect comment)
* It's idiotic to return PAM_PERM_DENIED when the item argument is NULL;des2001-11-271-1/+2
| | | | PAM_BUF_ERR is much closer to the truth.
* o nvi failed to correctly handle EINTR returned from tcsetattr(), exitingrwatson2001-11-091-0/+6
| | | | | | | | | | | | | | | | | instead of recovering, which happens in particular during a rapid series of SIGWINCH's. This change forces nvi to loop on the call in the event that the call is interrupted. Interestingly, I submitted this bug report in 1998, and a solution was posted shortly thereafter by Matthias Buelow; it's been sitting in the PR database ever since. Note: this takes this file off the vendor branch. If and when we find a vendor for this code, the fix should be given back to them. PR: bin/8438 Submitted by: Matthias Buelow <mkb@altair.mayn.de> MFC after: 1 month
* Make top exit if its tty vanishes.dwmalone2001-11-041-2/+8
| | | | | | | PR: 30939, 30581 Submitted by: Edwin Groothuis <edwin@mavetju.org> Submitted by: Andrew L. Neporada <andr@dgap.mipt.ru> MFC after: 2 weeks
* Remove files that were not part of the bc-1.06 import.peter2001-11-047-1519/+0
|
* Tighten up the random seeding a little bit more. getpid() alone onlyobrien2001-11-031-1/+2
| | | | | | | affect only lower bits of seed which would resulte in the same seed for sequences of fast-started awk's resulting the same random sequence. Submitted by: ache
* This commit was generated by cvs2svn to compensate for changes in r85919,obrien2001-11-021-2/+2
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * I'd put down $10 says the author did a last minute tweak to awkgram.y (whichobrien2001-11-021-2/+2
| | | | | | | | | | | | had an error in it), and applied it by hand to awkgram.c (getting it right) rather than really generating an new awkgram.c properly using Bison/YACC... Fix his mistake here.
* | We use the stock version of this file now, but since someone foolishlyobrien2001-11-022-169/+467
| | | | | | | | | | | | took about 15 files off the vendor branch for what turned out to be good reason a Gawk update takes an order of magnitude more effort than it should...
* | We use the stock 3.1.0 file.obrien2001-11-021-444/+859
| |
* | We use the stock 3.1.0 file now.obrien2001-11-021-84/+120
| |
* | We use the stock 3.1.0 file (other than needing $FreeBSD$).obrien2001-11-021-231/+584
| |
* | Merge revision 1.2 (unspam l10n ranges check) into Gawk 3.1.0.obrien2001-11-021-287/+271
| |
* | Merge revs 1.9 (don't choke on long lines),obrien2001-11-021-222/+596
| | | | | | | | rev 1.3 (use srandom(time() ^ getpid())) into Gawk 3.1.0.
* | Well spell it "gnuregex.h".obrien2001-11-021-92/+203
| |
* | This commit was generated by cvs2svn to compensate for changes in r85898,obrien2001-11-02206-12113/+41490
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Update vendor branch to gawk-3.1.0.obrien2001-11-02232-14093/+46131
| |
* | Update to the latest vendor's file.obrien2001-11-011-1/+0
| |
* | Bring the binutils_2_11_cvs_20011031 version of this to the HEAD branch.obrien2001-11-012-15/+11
| |
* | This merges in the changes from the FSF 19-July-2001 snapshot to theobrien2001-11-011-1/+2
| | | | | | | | 2001 Halloween snapshot.
* | This merges in the changes from the FSF anoncvs 19-July-2001 snapshot toobrien2001-11-012-177/+181
| | | | | | | | the 2001 Halloween snapshot.
* | Update to the latest vendor's file.obrien2001-11-011-1/+0
| |
* | Update to the latest vendor file.obrien2001-11-011-1/+0
| |
* | This commit was generated by cvs2svn to compensate for changes in r85815,obrien2001-11-0159-4074/+12065
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Halloween import of Binutils from the FSF 2.11 branch.obrien2001-11-0167-4270/+12259
| | | | | | | | | | | | This fixes some IA-64 related bugs.
* | | Fix world by trimming an extra comment terminator.jhb2001-10-291-1/+1
| | |
* | | Add Berkeley copyright to SRA.nsayer2001-10-293-1/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is by the kind permission of Dave Safford, formerly of TAMU who wrote the original code. Here is an excerpt of the e-mail exchange concerning this issue: Dave Safford wrote: >Nick Sayer wrote: >> Some time ago we spoke about SRA and importing it into FreeBSD. I forgot to >> ask if you had a prefered license boilerplate for the top of the files. It >> has come up recently, and the SRA code in FreeBSD doesn't have one. >I really have no preference - use whatever is most convenient in the >FreeBSD environment. >dave safford This is the standard BSD license with clause 3 removed and clause 4 suitably renumbered. MFC after: 1 day
* | | Diff-reduce these two.markm2001-10-271-3/+3
| | | | | | | | | | | | | | | | | | | | | Really, one of them needs to disappear. I'll figure out which later. Reported by: bde
* | | Tell how the import was done.obrien2001-10-271-0/+21
| | |
* | | This commit was generated by cvs2svn to compensate for changes in r85587,obrien2001-10-2718-0/+7666
|\ \ \ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | | Import the One True AWK, in the form of bwk's AWK Nov 15, 2000 release.obrien2001-10-2718-0/+7666
| / /
* | | This commit was generated by cvs2svn to compensate for changes in r85552,ru2001-10-261-1/+1
|\ \ \ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | | From ChangeLog:ru2001-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | : 2001-10-19 Ruslan Ermilov <ru@FreeBSD.org> : : * tmac/doc.tmac (doc-flag-recursion): Protect arguments against : being handled as end-of-sentence characters, This fixes ".Fl \&?". Previously, it produced an additional whitespace. There were no precedents in FreeBSD manpages. That's why it was Noticed by: Thomas Klausner <wiz@netbsd.org>
* | | | Close buffer overflow noted in security advisory DSA-085.jkh2001-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | Submitted by: Koga Youichirou <y-koga@jp.FreeBSD.org> Obtained from: Debian
* | | | This commit was generated by cvs2svn to compensate for changes in r84865,obrien2001-10-1336-36/+43264
|\ \ \ \ | | |/ / | |/| | | | | | which included commits to RCS files with non-trunk default branches.
| * | | Import the extra bits needed to target IA-64, PowerPC, and sparc64.obrien2001-10-1336-36/+43264
| | | | | | | | | | | | | | | | (this is Binutils from the FSF 2.11 branch [checked out 19-July-2001])
* | | | Fixed corruption of the vendor $Id$ to $FreeBSD$. Put $FreeBSD$ inbde2001-10-121-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | __FBSDID() and ifdefed away all vendor id stuff. This file should never have left the vendor branch; it is now identical with the vendor's version except for id fiddling.
* | | | Compensate for "Compensate for header dethreading" by backing it out.bde2001-10-102-2/+0
| | | |
OpenPOWER on IntegriCloud