Commit Graph

2389 Commits

Author SHA1 Message Date
David E. O'Brien
9ff63f1887 Bring the binutils_2_12_cvs_20020127 version of this to the HEAD branch. 2002-01-27 12:23:29 +00:00
David E. O'Brien
8a7348b206 Use the stock 2.12.0_snap version of this. 2002-01-27 12:18:32 +00:00
David E. O'Brien
bd26b0c893 Merge rev 1.2 (FreeBSD a.out configuration support) into Binutils 2.12.0_snap. 2002-01-27 12:17:58 +00:00
David E. O'Brien
3065fc221d Bring the binutils_2_12_cvs_20020127 version of this to the HEAD branch. 2002-01-27 12:17:17 +00:00
David E. O'Brien
4276e6793c Bring the binutils_2_12_cvs_20020125 version of this to the HEAD branch. 2002-01-27 12:16:47 +00:00
David E. O'Brien
610a68a9a8 Use the stock 2.12.0_snap version of this now. 2002-01-27 12:15:52 +00:00
David E. O'Brien
04f0ba0a6c Use the vendor's 2.12.0_snap vendor version of this file as in rev 1.5. 2002-01-27 12:12:53 +00:00
David E. O'Brien
eb18cc2ed5 Use the vendor's 2.12.0_snap version of this file as in rev 1.4. 2002-01-27 12:09:38 +00:00
David E. O'Brien
fe703cdb2b Commit the stock 2.12.0_snap version. 2002-01-27 12:08:47 +00:00
David E. O'Brien
2a6f4bb9e6 Merge rev 1.6 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere) into Binutils 2.12.0_snap.
2002-01-27 12:08:15 +00:00
David E. O'Brien
2b80b9b724 Merge rev 1.8 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere.) into Binutils 2.12.0_snap.
2002-01-27 12:07:38 +00:00
David E. O'Brien
8aedd9e98e Merge our ELF branding into Binutils 2.12.0_snap. 2002-01-27 12:06:54 +00:00
David E. O'Brien
dbbf32dd39 Enlist the FreeBSD-CURRENT users as testers of what is to become Binutils
version 2.12.0.  These bits are taken from the FSF anoncvs repo on
27-January-2002 03:41 PST.
2002-01-27 12:00:11 +00:00
David E. O'Brien
e85f989710 This commit was generated by cvs2svn to compensate for changes in r89857,
which included commits to RCS files with non-trunk default branches.
2002-01-27 12:00:11 +00:00
Andrey A. Chernov
9df24552a0 Zeroing memset() in opiechallenge() really is not needed because it is the
very first thing immediately following opielookup() does being entered, i.e.
look at this:

int opielookup FUNCTION((opie, principal), struct opie *opie AND char
*principal
)
{
  int i;

  memset(opie, 0, sizeof(struct opie));
...
2002-01-24 22:19:21 +00:00
David Malone
337fd7a891 Resolve conflicts. 2002-01-24 17:58:42 +00:00
David Malone
db6a108dbf Resolve conflicts (our -t option, we'd fixed a bug in a slightly different way). 2002-01-24 17:55:40 +00:00
David Malone
bc2856b282 Resolve conflicts (we have a -t option). 2002-01-24 17:54:04 +00:00
David Malone
73e3ae1c4e Resolve conflict: We made a fix renaming a structure member error,
but it was renamed errnum on the vendor branch.
2002-01-24 17:52:26 +00:00
David Malone
30be5b1b49 This commit was generated by cvs2svn to compensate for changes in r89750,
which included commits to RCS files with non-trunk default branches.
2002-01-24 17:24:16 +00:00
David Malone
4f4f23c131 import top_3_5beta12 2002-01-24 17:24:16 +00:00
Dag-Erling Smørgrav
e9ae7bc234 This commit disables chain caching.
Chain caching is a feature of Linux-PAM, where pam_authenticate() and
pam_open_session() "freeze" the chain so that their companion
primitive (pam_setcred() and pam_close_session() respectively) will
call the exact same modules, skipping those that failed in the
previous call.

There are several reasons not to do this, the most prominent of which
is that it makes it impossible to call pam_setcred() without first
calling pam_authenticate() - which is perfectly valid according to
DCE/RFC 86.0 and XSSO, and is necessary to make 'login -f' work.

Instead of chain caching, implement something similar to the way
Solaris' libpam behaves: pam_setcred treats "sufficient" modules as if
they were "required", i.e. does not break the chain when they succeed.

PAM modules whose pam_sm_setcred() should not be called unless their
pam_sm_authenticate() succeeded can simply set a state variable using
pam_set_data() in pam_sm_authenticate(), and use pam_get_data() to
check it in pam_sm_setcred().

Sponsored by:	DARPA, NAI Labs
2002-01-24 15:30:03 +00:00
Giorgos Keramidas
0063afffd5 dhclient-script.conf lives in /etc and not /sbin.
PR:		docs/32008
Submitted by:	John E Hein <jhein@timing.com>
Approved by:	obrien
2002-01-23 13:56:41 +00:00
Mark Murray
73d7223603 WARNS=4 fixes.
OK'ed by:	des
2002-01-20 17:54:33 +00:00
Ruslan Ermilov
a8be241673 MFV: Initialize %I register. 2002-01-18 15:28:32 +00:00
Ruslan Ermilov
d73b73ae30 This commit was generated by cvs2svn to compensate for changes in r89500,
which included commits to RCS files with non-trunk default branches.
2002-01-18 15:25:01 +00:00
Ruslan Ermilov
2a91b0e9f4 From ChangeLog:
: 2002-01-17  Ruslan Ermilov  <ru@FreeBSD.org>
:
: 	* tmac/doc.common: Initialize %I register for the %I macro to
: 	avoid (harmless) warning.
: 	* tmac/doc.tmac (Bd): There is no reason to enforce -compact
: 	when in the SYNOPSIS section.
2002-01-18 15:25:01 +00:00
Ruslan Ermilov
e132e98f0d Satisfy pedantic readers.
PR:		docs/31260

From ChangeLog:

: 2002-01-14  Ruslan Ermilov  <ru@FreeBSD.org>
:
:         * tmac/groff_mdoc.man: Minor fixes.
2002-01-15 17:15:28 +00:00
Ruslan Ermilov
f5c1e082d2 This commit was generated by cvs2svn to compensate for changes in r89397,
which included commits to RCS files with non-trunk default branches.
2002-01-15 17:15:28 +00:00
Andrey A. Chernov
c15c659486 This commit was generated by cvs2svn to compensate for changes in r89354,
which included commits to RCS files with non-trunk default branches.
2002-01-14 15:58:32 +00:00
Andrey A. Chernov
7e6a63408c Import official baudrate fix into the vendor branch 2002-01-14 15:58:32 +00:00
Alfred Perlstein
ff3ec7455e Backout inclusion of sys/queue.h 2002-01-14 09:19:18 +00:00
Alfred Perlstein
a40d159b40 add queue.h, now needed for file.h 2002-01-14 04:12:54 +00:00
Ruslan Ermilov
87e24bf876 MFV: NetBSD style document titles (OS/arch). 2002-01-10 18:07:50 +00:00
Ruslan Ermilov
7715c92746 Print architecture right after an operating system name in a title.
From ChangeLog:

: 2001-12-24  Ruslan Ermilov  <ru@FreeBSD.org>
:
:   * tmac/doc-common (Dt): Change output of architecture strings.
:   Do some syntax cleanup.
:   * tmac/groff_mdoc.man: Updated.
2002-01-10 18:04:04 +00:00
Ruslan Ermilov
45a3e7b196 This commit was generated by cvs2svn to compensate for changes in r89232,
which included commits to RCS files with non-trunk default branches.
2002-01-10 18:04:04 +00:00
Joerg Wunsch
32eb5fea1a Make the -a flag to opiekey(1) actually work as advertised.
Reviewed by:	ache, audit, security
MFC after:	1 week
2002-01-09 13:36:26 +00:00
Paul Saab
8fd4165cc4 Merge vendor changes onto mainline. 2002-01-07 20:37:09 +00:00
Paul Saab
5e27b2f5a3 This commit was generated by cvs2svn to compensate for changes in r89019,
which included commits to RCS files with non-trunk default branches.
2002-01-07 20:29:38 +00:00
Paul Saab
c9346414d9 Import less v371 2002-01-07 20:29:38 +00:00
Sheldon Hearn
55228c2a54 Import patch from vendor (taken from nvi-1.81.5) that fixes problematic
interaction between the leftright and number options.

PR:		bin/23912
Reported by:	"Stephen D. Spencer" <gladiatr@boneyard.lawrence.ks.us>
Obtained from:	skimo@kotnet.org
2002-01-07 14:26:12 +00:00
Sheldon Hearn
2228a60af1 This commit was generated by cvs2svn to compensate for changes in r89010,
which included commits to RCS files with non-trunk default branches.
2002-01-07 14:26:12 +00:00
Andrey A. Chernov
57766554c6 Repo copied to /usr/src/lib/libopie/ 2002-01-03 15:58:11 +00:00
Sheldon Hearn
8d4076f081 Import smbfs-1.4.3. 2001-12-26 15:35:10 +00:00
Sheldon Hearn
8908973ae2 This commit was generated by cvs2svn to compensate for changes in r88492,
which included commits to RCS files with non-trunk default branches.
2001-12-26 15:35:10 +00:00
Ruslan Ermilov
ec60ea2faa MFV: FreeBSD 4.4, FreeBSD 4.5, NetBSD 1.6, POSIX.1-2001. 2001-12-24 08:59:48 +00:00
Ruslan Ermilov
1cc5490cec From ChangeLog:
: 2001-12-22  Ruslan Ermilov  <ru@FreeBSD.org>
:
:         * tmac/doc-common, tmac/doc-syms: Small updates.

This adds support for FreeBSD 4.4, FreeBSD 4.5, NetBSD 1.6,
and POSIX.1-2001.
2001-12-24 08:53:15 +00:00
Ruslan Ermilov
e8777213c8 Bring in latest (cosmetic) vendor fixes to this file. 2001-12-21 11:46:21 +00:00
Ruslan Ermilov
6047b0568b This commit was generated by cvs2svn to compensate for changes in r88345,
which included commits to RCS files with non-trunk default branches.
2001-12-21 11:46:21 +00:00
Ruslan Ermilov
e3c3901cc3 MFV: Handle long document titles better. 2001-12-21 11:35:20 +00:00
Ruslan Ermilov
0988851e6e From ChangeLog:
: 2001-11-16  Ruslan Ermilov  <ru@FreeBSD.org>
:
:         * tmac/doc-common (doc-header): Handle very long document titles
:         better.

PR:		docs/10349
2001-12-21 11:31:30 +00:00
Sheldon Hearn
df3342d686 Import smbfs-1.4.2. 2001-12-20 16:16:25 +00:00
Sheldon Hearn
2731c8aafa This commit was generated by cvs2svn to compensate for changes in r88282,
which included commits to RCS files with non-trunk default branches.
2001-12-20 16:16:25 +00:00
Peter Wemm
855ee8c509 Fix the 'nm' -> segfault bug (on the vendor branch). This has been fixed
the same way in the cygnus base source.  The problem was that bfd was
writing to memory obtained from malloc(0).    The next import will update
this if necessary.  I'm not sure of the origins of this patch.

Discussed with: obrien
2001-12-20 02:23:44 +00:00
Peter Wemm
0558ae2a89 This commit was generated by cvs2svn to compensate for changes in r88237,
which included commits to RCS files with non-trunk default branches.
2001-12-20 02:23:44 +00:00
David E. O'Brien
8489cc4415 Virgin import of GCC 3.0.2's libf2c 2001-12-18 04:13:58 +00:00
David E. O'Brien
5cc8f315cb This commit was generated by cvs2svn to compensate for changes in r88109,
which included commits to RCS files with non-trunk default branches.
2001-12-18 04:13:58 +00:00
Ruslan Ermilov
3f36940560 mdoc(7) police: remove -r from SYNOPSIS, sort -p in DESCRIPTION. 2001-12-14 14:41:07 +00:00
Sheldon Hearn
adbc0684a0 Detail the smbfs-1.4.1 import. 2001-12-14 11:11:31 +00:00
Sheldon Hearn
f1b9d12761 Import smbfs-1.4.1.
This is Boris Popov's SMB/CIFS file system implementation for FreeBSD.

Obtained from:	Boris Popov via ftp://ftp.butya.kz/pub/smbfs/
2001-12-14 11:06:03 +00:00
Sheldon Hearn
c45579ad41 This commit was generated by cvs2svn to compensate for changes in r87866,
which included commits to RCS files with non-trunk default branches.
2001-12-14 11:06:03 +00:00
Jordan K. Hubbard
d1f21093cd Don't assume that the number of fds to select on is known quantity (in
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
2001-12-09 09:53:27 +00:00
Dag-Erling Smørgrav
cab8cba36f Although the previous went some way towards fixing the pam.conf / pam.d
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
2001-12-07 00:37:10 +00:00
Dag-Erling Smørgrav
0fbda1fc58 Fix a bug that made PAM fail if /etc/pam.d/ existed but was empty.
Sponsored by:	DARPA, NAI Labs
2001-12-05 17:05:15 +00:00
Dag-Erling Smørgrav
f6abb36383 Clean up namespace pollution by prepending underscores to argument names in
function prototypes (or, in a few cases, removing argument names altogether).

Sponsored by:	DARPA, NAI Labs
2001-12-05 16:31:34 +00:00
Dag-Erling Smørgrav
1c04976ad1 This file isn't used; it's an older version of include/security/pam_misc.h.
Sponsored by:	DARPA, NAI Labs
2001-12-05 16:14:43 +00:00
Ruslan Ermilov
5c5c92aff0 Fixed bugs from previous revision.
Removed -s from SYNOPSIS and restored -S in DESCRIPTION.
2001-12-04 16:02:36 +00:00
John Hay
de0dff907e Protect variables and function prototypes that are only used in the INET6
case with an ifdef INET6.

This make the fixit floppy compile again.

Reviewed by:	markm
2001-12-03 17:42:02 +00:00
Mark Murray
5eb2b33ad8 More help for alpha WARNS=2. This code is, erm, unusual. Anyone who
feels like rewriting it will meet no objection from me.
2001-12-03 12:16:40 +00:00
Mark Murray
54ab3ed82b help the alphas out with the WARNS=2 stuff. 2001-12-03 12:13:18 +00:00
Mark Murray
0a4814ee9a Fix namespace pollution by protecting names used as arguments.
Reported by:	bde
2001-12-01 19:32:18 +00:00
Mark Murray
3138440a79 Damn. The previous mega-commit was incomplete WRT ANSIfication. This
fixes that.
2001-11-30 22:28:07 +00:00
Mark Murray
8fa113e5fc Very large style makeover.
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.
2001-11-30 21:06:38 +00:00
Dag-Erling Smørgrav
2cddf86822 Due to incorrect include ordering, <dlfcn.h> did not get included, so
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)
2001-11-27 15:36:21 +00:00
Dag-Erling Smørgrav
8a4ce01402 It's idiotic to return PAM_PERM_DENIED when the item argument is NULL;
PAM_BUF_ERR is much closer to the truth.
2001-11-27 15:35:44 +00:00
Robert Watson
09333c6166 o nvi failed to correctly handle EINTR returned from tcsetattr(), exiting
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
2001-11-09 02:23:05 +00:00
David Malone
3d08935d6a Make top exit if its tty vanishes.
PR:		30939, 30581
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
Submitted by: 	Andrew L. Neporada <andr@dgap.mipt.ru>
MFC after:	2 weeks
2001-11-04 21:15:52 +00:00
Peter Wemm
f8be0f6af6 Remove files that were not part of the bc-1.06 import. 2001-11-04 06:20:02 +00:00
David E. O'Brien
9c23373c4e Tighten up the random seeding a little bit more. getpid() alone only
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
2001-11-03 02:14:10 +00:00
David E. O'Brien
4443a773d6 This commit was generated by cvs2svn to compensate for changes in r85919,
which included commits to RCS files with non-trunk default branches.
2001-11-02 23:41:29 +00:00
David E. O'Brien
622bfc32f3 I'd put down $10 says the author did a last minute tweak to awkgram.y (which
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.
2001-11-02 23:41:29 +00:00
David E. O'Brien
70029cff55 We use the stock version of this file now, but since someone foolishly
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...
2001-11-02 21:57:00 +00:00
David E. O'Brien
40429c030f We use the stock 3.1.0 file. 2001-11-02 21:44:42 +00:00
David E. O'Brien
0abedf2e1e We use the stock 3.1.0 file now. 2001-11-02 21:39:18 +00:00
David E. O'Brien
cea3a4bf41 We use the stock 3.1.0 file (other than needing $FreeBSD$). 2001-11-02 21:37:05 +00:00
David E. O'Brien
4f319e3b82 Merge revision 1.2 (unspam l10n ranges check) into Gawk 3.1.0. 2001-11-02 21:34:12 +00:00
David E. O'Brien
02bbdc32ef Merge revs 1.9 (don't choke on long lines),
rev 1.3 (use srandom(time() ^ getpid())) into Gawk 3.1.0.
2001-11-02 21:26:14 +00:00
David E. O'Brien
02cb981ff7 Well spell it "gnuregex.h". 2001-11-02 21:20:18 +00:00
David E. O'Brien
ce83bef85e Update vendor branch to gawk-3.1.0. 2001-11-02 21:06:08 +00:00
David E. O'Brien
ff8c7f95b2 This commit was generated by cvs2svn to compensate for changes in r85898,
which included commits to RCS files with non-trunk default branches.
2001-11-02 21:06:08 +00:00
David E. O'Brien
a775faf5aa Update to the latest vendor's file. 2001-11-01 10:07:55 +00:00
David E. O'Brien
f7565ff46f Bring the binutils_2_11_cvs_20011031 version of this to the HEAD branch. 2001-11-01 10:07:26 +00:00
David E. O'Brien
6bf697c5b5 This merges in the changes from the FSF 19-July-2001 snapshot to the
2001 Halloween snapshot.
2001-11-01 10:06:32 +00:00
David E. O'Brien
4f28793c14 This merges in the changes from the FSF anoncvs 19-July-2001 snapshot to
the 2001 Halloween snapshot.
2001-11-01 10:03:10 +00:00
David E. O'Brien
a583320444 Update to the latest vendor's file. 2001-11-01 09:55:05 +00:00
David E. O'Brien
635176d1a8 Update to the latest vendor file. 2001-11-01 09:54:43 +00:00
David E. O'Brien
adc940bfc7 Halloween import of Binutils from the FSF 2.11 branch.
This fixes some IA-64 related bugs.
2001-11-01 09:24:29 +00:00
David E. O'Brien
71523ea656 This commit was generated by cvs2svn to compensate for changes in r85815,
which included commits to RCS files with non-trunk default branches.
2001-11-01 09:24:29 +00:00
John Baldwin
4091481652 Fix world by trimming an extra comment terminator. 2001-10-29 19:22:38 +00:00
Nick Sayer
3737d6dfe3 Add Berkeley copyright to SRA.
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
2001-10-29 16:12:16 +00:00
Mark Murray
6fdd5473af Diff-reduce these two.
Really, one of them needs to disappear. I'll figure out which
later.

Reported by:	bde
2001-10-27 12:49:19 +00:00
David E. O'Brien
7561b6ddef Tell how the import was done. 2001-10-27 08:11:44 +00:00
David E. O'Brien
2a55deb138 Import the One True AWK, in the form of bwk's AWK Nov 15, 2000 release. 2001-10-27 08:07:37 +00:00
David E. O'Brien
62179fa259 This commit was generated by cvs2svn to compensate for changes in r85587,
which included commits to RCS files with non-trunk default branches.
2001-10-27 08:07:37 +00:00
Ruslan Ermilov
5b9435ca7b From ChangeLog:
: 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>
2001-10-26 17:22:12 +00:00
Ruslan Ermilov
5b9df042e6 This commit was generated by cvs2svn to compensate for changes in r85552,
which included commits to RCS files with non-trunk default branches.
2001-10-26 17:22:12 +00:00
Jordan K. Hubbard
3f2d9117d4 Close buffer overflow noted in security advisory DSA-085.
Submitted by:	Koga Youichirou <y-koga@jp.FreeBSD.org>
Obtained from:	Debian
2001-10-26 08:25:32 +00:00
David E. O'Brien
ca8d09641f Import the extra bits needed to target IA-64, PowerPC, and sparc64.
(this is Binutils from the FSF 2.11 branch [checked out 19-July-2001])
2001-10-13 01:47:52 +00:00
David E. O'Brien
45a7ac086f This commit was generated by cvs2svn to compensate for changes in r84865,
which included commits to RCS files with non-trunk default branches.
2001-10-13 01:47:52 +00:00
Bruce Evans
62601deb33 Fixed corruption of the vendor $Id$ to $FreeBSD$. Put $FreeBSD$ in
__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.
2001-10-12 15:05:00 +00:00
Bruce Evans
6eabd84580 Compensate for "Compensate for header dethreading" by backing it out. 2001-10-10 17:48:44 +00:00
David E. O'Brien
6cb9e840ab This commit was generated by cvs2svn to compensate for changes in r84685,
which included commits to RCS files with non-trunk default branches.
2001-10-08 22:50:54 +00:00
David E. O'Brien
649d615c25 Virgin import of Christos Zoulas's FILE 3.37. 2001-10-08 22:50:54 +00:00
Mark Murray
f2ac7de925 Add __FBSDID() to diff-reduce with "base" telnet. 2001-10-01 16:04:55 +00:00
David E. O'Brien
757eeda04b *** empty log message *** 2001-10-01 08:43:58 +00:00
Julian Elischer
f1f9d42a53 Quick hack to print out the non-standard pppoe used by 3com 2001-09-27 08:02:27 +00:00
Matthew Dillon
ccc5f0046b oops, forgot to commit man page for cvs changes 2001-09-21 19:05:36 +00:00
Peter Wemm
9119623471 Userland part of nfs client/server split and cleanup. 2001-09-18 23:34:44 +00:00
Matthew Dillon
984918456b Implement comprehensive CVS/Template support to complement the Template
support that already exists for checkout.  The -T option for cvs update
and cvs checkout may be used to cause CVS to retrieve/update the checkin
template when possible.

MFC after:	1 week
2001-09-15 05:57:52 +00:00
Matthew Dillon
3471d10cbc Implement -j for cvs diff, allowing tag:date based diffs (normally date-based
diffs are against the head branch only).

MFC after:	1 week
2001-09-15 05:50:59 +00:00
Mark Peek
6767bd61d2 Import tcsh-6.11 2001-09-05 17:49:32 +00:00
Mark Peek
20b87d27d4 This commit was generated by cvs2svn to compensate for changes in r83098,
which included commits to RCS files with non-trunk default branches.
2001-09-05 17:49:32 +00:00
David E. O'Brien
8dc63fa70b Add the am-utils homepage to SEE ALSO
Submitted by:	ru
2001-09-05 16:14:07 +00:00
David E. O'Brien
6874428a19 Use the native mount and nfs_prot headers.
Also generate nfs_prot_x.c in ANSI-C mode.
2001-09-02 20:37:36 +00:00
David E. O'Brien
fce5abd394 TODO is no longer part of Amd, and we do not need, nor use clnt_sperrno.c. 2001-09-02 20:15:46 +00:00
David E. O'Brien
6bf7267c1a Teak -- we were being a little over agressive. 2001-09-02 20:15:13 +00:00
David E. O'Brien
a6ece77961 This commit was generated by cvs2svn to compensate for changes in r82819,
which included commits to RCS files with non-trunk default branches.
2001-09-02 20:14:08 +00:00
David E. O'Brien
fee4c7e3e7 Virgin import of AMD (am-utils) v6.0.7 2001-09-02 20:14:08 +00:00
David E. O'Brien
2411b5a2bd We can use the stock defintion of "MOUNT_NFS3" now. 2001-09-02 19:47:53 +00:00
David E. O'Brien
7fa5ad1d30 Reduce diff from vendor source. 2001-09-02 19:35:47 +00:00
David E. O'Brien
187b9bd766 Update for 6.0.7. 2001-09-02 19:32:45 +00:00
David E. O'Brien
937ee2af7c We are returning to the stock (6.0.7) file now.
+ The bufov vulnerability was fixed in the vendor sources.
+ The vendor sources are now POSIX [me harder] compliant.
2001-09-02 19:31:00 +00:00
David E. O'Brien
461b368fa4 We are returning to the stock (6.0.7) file now.
+ The bufov vulnerability was fixed in the vendor sources.
+ The vendor sources are now POSIX [me harder] compliant.
+ The db vs. dbm files issue was fixed in the vendor sources.
2001-09-02 19:28:19 +00:00
David E. O'Brien
d113f55341 We are returning to the stock (6.0.7) file now.
The security issues were fixed in the vendor sources.
2001-09-02 19:14:18 +00:00
David E. O'Brien
0b99cf978d Merge rev 1.2 (use our native headers for NFSv3), 1.9 (fs header movment)
into Amd 6.0.7.
2001-09-02 19:04:09 +00:00
David E. O'Brien
b5959ffd1f We are returning to the stock (6.0.7) file now.
+ The bufov vulnerability was fixed in the vendor sources.
+ The vendor sources are now POSIX [me harder] compliant.
2001-09-02 18:46:35 +00:00
David E. O'Brien
ff425a14f2 Merge our rev 1.2,3 (use or native files for NFSv3 support)
changes into Amd 6.0.7.
2001-09-02 18:39:17 +00:00
David E. O'Brien
d013412cfa We are returning to the stock (6.0.7) file now.
I don't recall why the rev 1.2 hack is needed.  It looks like Amd was
already using our local headers.  I no longer have a FreeBSD 2.x box to
test this on, and this will never be MFC'ed to RELENG_2_2.  So lets just
decrease the maintenance effort.
2001-09-02 18:26:32 +00:00
David E. O'Brien
c0d59ba0ab We are returning to the stock (6.0.7) file now.
+ The rev 1.4 addition was taken from a snapshot previous to 6.0.7, so
  it is included in 6.0.7.
+ The vendor sources are now POSIX [me harder] compliant.
2001-09-02 18:22:46 +00:00
David E. O'Brien
0186c009b0 We are returning to the stock (6.0.7) file now.
My "nfsv2" mount option hack was added to the vendor sources.
2001-09-02 18:20:22 +00:00
David E. O'Brien
acf76d74f1 We are returning to the stock (6.0.7) file now.
The vendor sources are now POSIX [me harder] compliant.
2001-09-02 18:17:08 +00:00
David E. O'Brien
31062d74c5 We are returning to the stock (6.0.7) file now.
The bufov vulnerability was fixed in the vendor sources.
2001-09-02 18:15:24 +00:00
David E. O'Brien
8cc613df48 Merge rev 1.7 (mount directory change) into Am-utils 6.0.7. 2001-09-02 18:13:17 +00:00
David E. O'Brien
d39ff6a040 Virgin import of AMD (am-utils) v6.0.7 2001-09-02 17:19:13 +00:00
David E. O'Brien
1c39b362fb This commit was generated by cvs2svn to compensate for changes in r82794,
which included commits to RCS files with non-trunk default branches.
2001-09-02 17:19:13 +00:00
Ollivier Robert
5364982f9f Merge after 4.1.0 import. 2001-08-29 15:15:59 +00:00
Ollivier Robert
9893808986 Update for 4.1.0 import. 2001-08-29 15:02:12 +00:00
Ollivier Robert
ced70873ca Redo the int -> unsigned changes jedgar did. It should have been submitted
back but it was off the vendor branch anyway so...
2001-08-29 15:01:06 +00:00
Ollivier Robert
9df3f33935 This commit was generated by cvs2svn to compensate for changes in r82498,
which included commits to RCS files with non-trunk default branches.
2001-08-29 14:35:15 +00:00
Ollivier Robert
224ba2bd37 Virgin import of ntpd 4.1.0 2001-08-29 14:35:15 +00:00
Mark Murray
6b022d0047 Manually unifdef(1) CRAY, UNICOS, hpux and sun uselsess code. 2001-08-29 14:16:17 +00:00
Andrey A. Chernov
eac68b24dc Add heuristic to detect SSH connection (in the same style as other
heuristics already here which not supposed to be secure, just helpers).

Approved by:	security@ silence
2001-08-29 13:17:02 +00:00
Dima Dorfman
39b7ac5a89 Remove description of an option that only applies to UNICOS < 7.0.
That define may still be present in the source, but I don't think
anyone has plans to try to use it.

Obtained from:	NetBSD
2001-08-25 21:29:12 +00:00
Jeroen Ruigrok van der Werven
2cf92774d2 String format patch 2001-08-23 21:46:59 +00:00
Jeroen Ruigrok van der Werven
28773db3c1 This commit was generated by cvs2svn to compensate for changes in r82230,
which included commits to RCS files with non-trunk default branches.
2001-08-23 21:46:59 +00:00
Gregory Neil Shapiro
d673082fea Update import information 2001-08-21 01:33:05 +00:00
Gregory Neil Shapiro
56477e1e22 Resolve conflicts from sendmail 8.11.6 import 2001-08-21 01:32:34 +00:00
Gregory Neil Shapiro
c86d59657f Import sendmail 8.11.6 2001-08-21 01:31:44 +00:00
Gregory Neil Shapiro
7bda8bfe5e This commit was generated by cvs2svn to compensate for changes in r82017,
which included commits to RCS files with non-trunk default branches.
2001-08-21 01:31:44 +00:00
Mark Murray
432f97766d Fix overflow problem when giving a username that is too long.
Also minor declaration/header fixes while auditing the code.
2001-08-20 12:52:49 +00:00
Mark Murray
21f083c0a6 Code merge and diff reduce with "base" telnet. This is the "later"
telnet, so it was treated as the reference code, except where later
commits were made to "base" telnet.
2001-08-20 12:28:40 +00:00
Peter Wemm
d7c5f05199 Merge vendor branch onto mainline (try to fix HAVE_KERBEROS) 2001-08-20 08:47:21 +00:00
David E. O'Brien
a6d80351b7 Re-initialize gp after a jsr.
When rtld runs the .fini section in a shared lib (C++), the code in
question from .../contrib/gdb/config/alpha/crtbegin.asm first calls
__do_globals_dtors_aux and then __do_frame_takedown.  Unfortunately, the
value of gp after a jsr is undefined and in this case had changed from before
the call, probably as a result of calling code in some other shared library.
The normal calling convention for alpha is to re-initialize gp using
'ldgp gp,0(ra)' after a jsr instruction but in this case no such
re-initialization is done. This leads to a bogus value being read for the
address of __do_frame_takedown and a quick segfault.

Submitted by:   dfr
Obtained from:  GCC 3.0
2001-08-17 22:54:26 +00:00
David E. O'Brien
d549989694 Add the `WANT_FORCE_OPTIMIZATION_DOWNGRADE' knob. If set to an integer
value, it forces GCC to not optimize above this level.  For intance, GCC
made with "WANT_FORCE_OPTIMIZATION_DOWNGRADE=1" is a good setting for the
Alpha platform when building ports.
2001-08-16 06:05:18 +00:00
Ruslan Ermilov
1f173e98a0 MFV: New macro: .Ex. 2001-08-15 08:20:31 +00:00
Ruslan Ermilov
059b06f9eb From ChangeLog:
: 2001-08-14  Ruslan Ermilov  <ru@FreeBSD.org>
:
: 	* tmac/doc.tmac (Ex): New implementation.
: 	* tmac/doc-common, tmac/groff_tmac.man: Updated.

This adds a new macro, .Ex (Exit Status), for use in the
DIAGNOSTICS section of section 1, 6 and 8 manpages.

Prodded by:	dd
2001-08-15 08:17:33 +00:00
Ruslan Ermilov
4e12aba6c9 This commit was generated by cvs2svn to compensate for changes in r81682,
which included commits to RCS files with non-trunk default branches.
2001-08-15 08:17:33 +00:00
Kazuo Horikawa
ba8140a6f6 Removal of following export controll related sentences:
o Because of export controls, TELNET ENCRYPT option is not supported outside
  of the United States and Canada.
o Because of export controls, data encryption
  is not supported outside of the United States and Canada.

src/crypto/README revision 1.5 commit log says:
> Crypto sources are no longer export controlled:
> Explain, why crypto sources are still in crypto/.
and actually telnet encryption is used outside of US and Canada now.

Pointed out by: OHSAWA Chitoshi <ohsawa@catv1.ccn-net.ne.jp>
Reviewed by: no objection on doc
2001-08-15 01:30:25 +00:00
Ruslan Ermilov
7f582a6969 From ChangeLog:
: 2001-08-13  Ruslan Ermilov  <ru@FreeBSD.org>
:
: 	* tmac/doc.tmac (Rv): Implement support for 0 or more than 1
: 	argument.
: 	* tmac/groff_tmac.man: Updated.

All of the following are now valid:

.Rv -std f1
.Rv -std f1 f2
.Rv -std f1 f2 f3
.Rv -std

The last form is useful where the standard return behavior is applicable
to all of the functions described in this particular manpage.  Look, for
example, at the stat(2), setresuid(2), and utimes(2) manpages.

The form with >1 functions is useful in a mixed environment.  See the
fhopen(2) manpage for an example.

Prodded by:	yar
2001-08-14 15:19:35 +00:00
Ruslan Ermilov
9b698804d9 This commit was generated by cvs2svn to compensate for changes in r81630,
which included commits to RCS files with non-trunk default branches.
2001-08-14 15:19:35 +00:00
Ruslan Ermilov
753d686d34 mdoc(7) police: s/BSD/.Bx/ where appropriate. 2001-08-14 10:01:54 +00:00
Peter Wemm
9c347fa626 Revert part of the 1.11->1.11.1p1 change. Put the blank line back in
the beginning of constructed log messages being passed to $EDITOR.  This
is where folks start typing.
2001-08-13 21:21:13 +00:00
Andrey A. Chernov
c6fa3dde62 Fix uninitialized "force" variable.
PR:		23203
Submitted by:	fenner
Approved by:	markm
2001-08-13 19:43:14 +00:00
Dima Dorfman
c2d566eb36 libgmp has been superseded by libmp. 2001-08-10 18:41:56 +00:00
Peter Wemm
a12033aa17 Argh, this could not possibly have worked as it existed in the tree. 2001-08-10 11:14:53 +00:00
Peter Wemm
8fd0e04f3a Copy our changes from sccs2rcs.csh to sccs2rcs.in 2001-08-10 11:14:18 +00:00
Peter Wemm
6243bbe945 This commit was generated by cvs2svn to compensate for changes in r81440,
which included commits to RCS files with non-trunk default branches.
2001-08-10 11:04:36 +00:00
Peter Wemm
44824e53b8 This commit was generated by cvs2svn to compensate for changes in r81437,
which included commits to RCS files with non-trunk default branches.
2001-08-10 11:02:03 +00:00
Peter Wemm
6431637d4b This file is gone in cvs-1.11.1p1 (replaced by log.in) 2001-08-10 11:00:14 +00:00
Peter Wemm
fcaf4ec9ea This commit was generated by cvs2svn to compensate for changes in r81434,
which included commits to RCS files with non-trunk default branches.
2001-08-10 10:55:45 +00:00
Peter Wemm
5b05c7e2bc Re-kill this file. It got whiplash being killed and restored on the
mainline, it is truely dead now.
2001-08-10 10:39:29 +00:00
Peter Wemm
87403039e2 This commit was generated by cvs2svn to compensate for changes in r81426,
which included commits to RCS files with non-trunk default branches.
2001-08-10 10:38:11 +00:00
Peter Wemm
f8db74c8fc This commit was generated by cvs2svn to compensate for changes in r81424,
which included commits to RCS files with non-trunk default branches.
2001-08-10 10:33:41 +00:00
Peter Wemm
c26899044d This commit was generated by cvs2svn to compensate for changes in r81422,
which included commits to RCS files with non-trunk default branches.
2001-08-10 10:29:04 +00:00
Peter Wemm
d51af2baf3 This commit was generated by cvs2svn to compensate for changes in r81420,
which included commits to RCS files with non-trunk default branches.
2001-08-10 10:22:43 +00:00
Peter Wemm
a86e31b209 This commit was generated by cvs2svn to compensate for changes in r81414,
which included commits to RCS files with non-trunk default branches.
2001-08-10 10:05:43 +00:00
Peter Wemm
a2b4cbc808 This commit was generated by cvs2svn to compensate for changes in r81412,
which included commits to RCS files with non-trunk default branches.
2001-08-10 10:02:36 +00:00
Peter Wemm
bcfbee2150 Tweak for 1.11.1p1 2001-08-10 09:53:53 +00:00
Peter Wemm
64e56da987 Initial merge of cvs-1.11 -> 1.11.1p1 changes onto mainline. There is
still some suspicious and/or broken stuff to fix yet.
2001-08-10 09:53:06 +00:00
Peter Wemm
398ed02b53 This commit was generated by cvs2svn to compensate for changes in r81404,
which included commits to RCS files with non-trunk default branches.
2001-08-10 09:43:22 +00:00
Peter Wemm
7f22ecb0da Import cvs-1.11.1p1 onto vendor branch 2001-08-10 09:43:22 +00:00
Jeroen Ruigrok van der Werven
dc52d6ea98 Import of BIND fix for the fact that HMAC-MD5 keys have keyid 0 2001-08-09 06:05:46 +00:00
Jeroen Ruigrok van der Werven
b5350a17ca This commit was generated by cvs2svn to compensate for changes in r81340,
which included commits to RCS files with non-trunk default branches.
2001-08-09 06:05:46 +00:00
Ruslan Ermilov
c4d9468ea0 mdoc(7) police:
Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.
2001-08-07 15:48:51 +00:00
Kris Kennaway
26d889d4ff Don't do unsafe activities inside signal handlers. Just set a flag and
return.

Obtained from:	OpenBSD
Reviewed by:	audit
2001-08-06 03:19:22 +00:00
David E. O'Brien
67c5850a34 Correct the version number. 2001-08-01 18:35:54 +00:00
Gregory Neil Shapiro
e9b61c96b8 Update FreeBSD import information 2001-08-01 01:36:17 +00:00
Gregory Neil Shapiro
6dbce3c381 Resolve conflicts from import of sendmail 8.11.5 2001-08-01 01:34:52 +00:00
Gregory Neil Shapiro
13058a9161 Import sendmail 8.11.5 2001-08-01 01:33:27 +00:00
Gregory Neil Shapiro
d8318f16e2 This commit was generated by cvs2svn to compensate for changes in r80785,
which included commits to RCS files with non-trunk default branches.
2001-08-01 01:33:27 +00:00
Jeroen Ruigrok van der Werven
7a672eeb1a Fix build.
I am not sure who thought that making FreeBSD depend on ISC's libbsd
was a sensible thing to do.
Thus I have ripped out the define of gettimeofday() and isc__gettimeofday()
out of this file, since we:

1) Don't use nor build libbsd (FreeBSD might give a hint in its name as to
   why)
2) Our gettimeofday() is the same in semantics as prototyped in ISC's
   libbsd.

This was something which could have been fixed before it was released if
we had at least some insight into the development process.  But my praying
fell on deaf ears it seems.

Of course, if I am wrong I welcome the corrections to my thinking, gladly
even.
2001-07-30 17:07:12 +00:00
Jeroen Ruigrok van der Werven
84f77e557e Resolve conflicts. 2001-07-30 16:55:52 +00:00
Jeroen Ruigrok van der Werven
1129b08182 Virgin import of BIND v8.2.4-REL 2001-07-30 16:51:36 +00:00
Jeroen Ruigrok van der Werven
e316afc606 This commit was generated by cvs2svn to compensate for changes in r80650,
which included commits to RCS files with non-trunk default branches.
2001-07-30 16:51:36 +00:00
David E. O'Brien
2e67ec0205 Virgin import of Christos Zoulas's FILE 3.36. 2001-07-30 03:09:46 +00:00
David E. O'Brien
969925b216 This commit was generated by cvs2svn to compensate for changes in r80588,
which included commits to RCS files with non-trunk default branches.
2001-07-30 03:09:46 +00:00
David E. O'Brien
386acb3a4c Import of Binutils from the FSF 2.11 branch [checked out 19-July-2001]. 2001-07-28 18:44:42 +00:00
David E. O'Brien
a334a84297 This commit was generated by cvs2svn to compensate for changes in r80508,
which included commits to RCS files with non-trunk default branches.
2001-07-28 18:44:42 +00:00
Darren Reed
7d2bc5ce77 fix conflicts created by import 2001-07-28 12:08:15 +00:00
Darren Reed
dba82da1c8 Import IPFilter version 3.4.20 2001-07-28 11:59:33 +00:00
Darren Reed
7d3ce0223a This commit was generated by cvs2svn to compensate for changes in r80486,
which included commits to RCS files with non-trunk default branches.
2001-07-28 11:59:33 +00:00
Darren Reed
dd298e2f03 Import IPFilter version 3.4.20 2001-07-28 11:59:32 +00:00
Darren Reed
56ff60d17c This commit was generated by cvs2svn to compensate for changes in r80484,
which included commits to RCS files with non-trunk default branches.
2001-07-28 11:59:32 +00:00
Kris Kennaway
50fdf20002 This commit was generated by cvs2svn to compensate for changes in r80260,
which included commits to RCS files with non-trunk default branches.
2001-07-24 09:05:00 +00:00
Kris Kennaway
7c79d50ee7 Import updated/clarified license for tcp_wrappers.
+* Redistribution and use in source and binary forms, with or without
+* modification, are permitted provided that this entire copyright notice
+* is duplicated in all such copies.

Obtained from:	ftp://ftp.porcupine.org/pub/security/tcp_wrappers_license
2001-07-24 09:05:00 +00:00
Bill Fenner
d73c3f4796 Merge tcpdump 3.6.3 2001-07-23 23:15:44 +00:00
Bill Fenner
669c0adba2 This commit was generated by cvs2svn to compensate for changes in r80231,
which included commits to RCS files with non-trunk default branches.
2001-07-23 23:15:13 +00:00
Bill Fenner
39eaefddae Virgin import of tcpdump.org tcpdump v3.6.3 2001-07-23 23:15:13 +00:00
Kris Kennaway
a2a887b56a output_data(), output_datalen() and netflush() didn't actually guarantee
to do what they are supposed to: under some circumstances output data would
be truncated, or the buffer would not actually be flushed (possibly leading
to overflows when the caller assumes the operation succeeded).  Change the
semantics so that these functions ensure they complete the operation before
returning.

Comment out diagnostic code enabled by '-D reports' which causes an
infinite recursion and an eventual crash.

Patch developed with assistance from ru and assar.
2001-07-23 21:52:26 +00:00
Ruslan Ermilov
40e7fc1a20 More potential buffer overflow fixes.
o Fixed `nfrontp' calculations in output_data().  If `remaining' is
  initially zero, it was possible for `nfrontp' to be decremented.

Noticed by:	dillon

o Replaced leaking writenet() with output_datalen():

:  * writenet
:  *
:  * Just a handy little function to write a bit of raw data to the net.
:  * It will force a transmit of the buffer if necessary
:  *
:  * arguments
:  *    ptr - A pointer to a character string to write
:  *    len - How many bytes to write
:  */
: 	void
: writenet(ptr, len)
: 	register unsigned char *ptr;
: 	register int len;
: {
: 	/* flush buffer if no room for new data) */
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: 	if ((&netobuf[BUFSIZ] - nfrontp) < len) {
: 		/* if this fails, don't worry, buffer is a little big */
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: 		netflush();
: 	}
:
: 	memmove(nfrontp, ptr, len);
: 	nfrontp += len;
:
: }  /* end of writenet */

What an irony!  :-)

o Optimized output_datalen() a bit.
2001-07-20 12:02:30 +00:00
David E. O'Brien
556571f3b7 This merges in the changes from the 2.11.2 release to the FSF anoncvs
19-July-2001 snapshot.
2001-07-20 03:48:47 +00:00
David E. O'Brien
e3bf29e1d6 Import of Binutils from the FSF 2.11 branch [checked out 19-July-2001].
This fixes an annoying `ld' bug.
2001-07-20 03:29:51 +00:00
David E. O'Brien
19d6069d11 This commit was generated by cvs2svn to compensate for changes in r80016,
which included commits to RCS files with non-trunk default branches.
2001-07-20 03:29:51 +00:00
David E. O'Brien
971afb51b5 Update for the Bintuils 2.11.2 import. 2001-07-20 02:56:57 +00:00
Ruslan Ermilov
1ee47d0673 vsnprintf() can return a value larger than the buffer size.
Submitted by:	assar
Obtained from:	OpenBSD
2001-07-19 18:58:31 +00:00
Ruslan Ermilov
5f10368c1d Fixed the exploitable remote buffer overflow.
Reported on:	bugtraq
Obtained from:	Heimdal, NetBSD
Reviewed by:	obrien, imp
2001-07-19 17:48:57 +00:00
David E. O'Brien
e25f7def37 Import of LukeM's ftp client, version 1.5. 2001-07-19 16:26:14 +00:00
David E. O'Brien
a8dd67f3c2 This commit was generated by cvs2svn to compensate for changes in r79971,
which included commits to RCS files with non-trunk default branches.
2001-07-19 16:26:14 +00:00
David E. O'Brien
299281efb0 Import of LukeM's ftpd version 1.1. 2001-07-19 16:25:08 +00:00
David E. O'Brien
b5a9f20b8f This commit was generated by cvs2svn to compensate for changes in r79968,
which included commits to RCS files with non-trunk default branches.
2001-07-19 16:25:08 +00:00
Dima Dorfman
489b9470ae Fix an underflow resulting from the assumption !O_ISSET(sp, O_LEFTRIGHT)
(ironically, the assumption is in a code block which is conditional on its
converse).  This isn't strictly the correct fix; it's more of a workaround
to prevent an infinite loop.  The correct fix (see
ports/editors/nvi-devel/files/patch-vi-relative r1.1) would take a file off
the vendor branch, but since the result for this version of nvi is
identical, this route was elected.

PR:		28687
Approved by:	-developers
2001-07-19 11:02:11 +00:00
Ruslan Ermilov
2370a12024 From ChangeLog:
: 2001-07-18  Ruslan Ermilov  <ru@FreeBSD.org>
:
:	* tmac/groff_mdoc.man: Document new -width and -column syntax.
:	Some other minor fixes.
:	* tmac/an-old.tmac: Add `AT' and `UC' macros.
2001-07-18 06:48:31 +00:00
Ruslan Ermilov
19c6fd1aee This commit was generated by cvs2svn to compensate for changes in r79847,
which included commits to RCS files with non-trunk default branches.
2001-07-18 06:48:31 +00:00
David E. O'Brien
06cb5f26f7 Connect std{in,out,err} to *something* so that "hooks" scripts that write
to std{err,out} will not spam /etc/resolv.conf.

Ted Lemon fixed the problem in version 3 of the client, but only for the
pre-daemonized case.  Thanks to Brian for pointing that out and helping
to make our future dhclient (v3) better.

Submitted by:	brian
2001-07-16 01:56:48 +00:00
Mark Murray
c7ff6083f9 Fix SHA1 hashing. 2001-07-14 08:30:54 +00:00
Mark Murray
bce9718b36 Usse a better method to get a user's credentials, as uid's may be
legally duplicated.

Requested by:	ache
2001-07-14 08:29:19 +00:00
Ruslan Ermilov
920eecc599 Import latest mdoc(7) fixes of mine.
Fold -xwidth functionality into -width.  .Bl now tests whether
string immediately following a leading dot starts with a valid
macro name.

Added similar functionality to the -column list's column width
specifiers.  For example, the following now works as expected:

.Bl -column ".Va hw.crusoe.percentage" ".Vt integer" "Changeable"
.It Sy "Name\tType\tChangeable\tDescription"
.It Va hw.crusoe.longrun Ta Vt integer Ta yes Ta "LongRun mode:"
.It Ta Ta Ta "0: minimum frequency mode"
.It Ta Ta Ta "1: power-saving mode"
.It Ta Ta Ta "2: performance mode"
.It Ta Ta Ta "3: maximum frequency mode"
.It Va hw.crusoe.frequency Ta Vt integer Ta no Ta "Current frequency (MHz)."
.It Va hw.crusoe.voltage Ta Vt integer Ta no Ta "Current voltage (mV)."
.It Va hw.crusoe.percentage Ta Vt integer Ta no Ta "Processing performance (%)."
.El

This is especially useful for groff devices with variable width
fonts, like -Tps or -TX100.
2001-07-13 09:06:00 +00:00
Ruslan Ermilov
e48c5ca20c This commit was generated by cvs2svn to compensate for changes in r79655,
which included commits to RCS files with non-trunk default branches.
2001-07-13 09:06:00 +00:00
Ruslan Ermilov
3e99af9747 This page is in man(7) format. 2001-07-13 08:06:08 +00:00
David E. O'Brien
5a108f415b libiberty file list for the 11-July-2000 import. 2001-07-12 19:03:33 +00:00
Ruslan Ermilov
63914212f0 Eliminate troff(1) warnings that were hiding some useful text. 2001-07-12 14:29:59 +00:00
Ruslan Ermilov
b50288009d Fixed warning:
bc.1:643: warning: numeric expression expected (got `e')
2001-07-12 07:35:06 +00:00
Ruslan Ermilov
0fb3975219 Merge Groff 1.17.2 changes. 2001-07-10 17:15:31 +00:00
Ruslan Ermilov
a972cdc741 Use stock (FSF) version of this file. 2001-07-10 17:14:46 +00:00
Ruslan Ermilov
75fdaafb19 Removed files not present in v1.17.2 import. 2001-07-10 17:10:51 +00:00
Ruslan Ermilov
1e98c32d1b This commit was generated by cvs2svn to compensate for changes in r79546,
which included commits to RCS files with non-trunk default branches.
2001-07-10 17:10:51 +00:00
Ruslan Ermilov
5ecb0ad24f Virgin import of FSF groff v1.17.2 2001-07-10 17:09:00 +00:00
Ruslan Ermilov
66d14a309a This commit was generated by cvs2svn to compensate for changes in r79543,
which included commits to RCS files with non-trunk default branches.
2001-07-10 17:09:00 +00:00
Ruslan Ermilov
63919764c2 mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 10:42:19 +00:00
David E. O'Brien
fbd7787b32 It is just stupid to have to do ``<ESC>!rm -f %'' to write a file you own.
So lets stop that nonsense and allow `w!' to do something useful.

Submitted by:	green
2001-07-09 04:11:33 +00:00
Ruslan Ermilov
df1cda58e4 mdoc(7) police: merge all fixes from non-crypto version. 2001-07-05 14:08:12 +00:00
Ruslan Ermilov
a5493c1b77 MF non-crypto: 1.13: document -u in usage. 2001-07-05 14:06:27 +00:00
Kris Kennaway
c16e19ce77 Unbreak "paranoid" host checking, which was broken with the IPv6 code
import.

Submitted by:	Tony Finch <dot@dotat.at>
2001-07-04 20:16:18 +00:00
David E. O'Brien
dfb1a3b23c Import of GNU Binutils version 2.11.2. 2001-06-26 18:26:26 +00:00
David E. O'Brien
b472c4d1c6 This commit was generated by cvs2svn to compensate for changes in r78844,
which included commits to RCS files with non-trunk default branches.
2001-06-26 18:26:26 +00:00
David E. O'Brien
098abe2f2a Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints)
into Binutils 2.11.2.
2001-06-26 17:57:37 +00:00
David E. O'Brien
9cbaab2ae7 We use the stock (2.11.2) version of this now. 2001-06-26 17:56:02 +00:00
David E. O'Brien
b7c1ed8297 Merge rev 1.2 (FreeBSD configuration support) into Binutils 2.11.2. 2001-06-26 17:54:12 +00:00
David E. O'Brien
f9416573c4 We use the stock (2.11.2) version of this file now. 2001-06-26 17:53:08 +00:00
David E. O'Brien
ac0d11744a Use the stock (2.11.2) version of this now. 2001-06-26 17:51:35 +00:00
David E. O'Brien
bfdc8ef812 Use the vendor's 2.11.2 version of this file as in rev 1.4. 2001-06-26 17:45:23 +00:00
David E. O'Brien
515082a3ff Merge rev 1.2 (configuration changes to support FreeBSD) into Binutils 2.11.2. 2001-06-26 17:44:22 +00:00
David E. O'Brien
937233fdcb Really wish this could back on the vendor branch...
Commit the stock 2.11.2 version.
2001-06-26 17:43:37 +00:00
David E. O'Brien
612f257451 Merge rev 1.6 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere) into Binutils 2.11.2.
2001-06-26 17:17:04 +00:00
David E. O'Brien
dd752cf395 Merge rev 1.8 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere.) into Binutils 2.11.2.
2001-06-26 17:15:34 +00:00
David E. O'Brien
fdcfb587ca Merge our ELF branding into Binutils 2.11.2. 2001-06-26 17:14:56 +00:00
David E. O'Brien
fd66bf0071 Import of GNU Binutils version 2.11.2. 2001-06-26 16:57:43 +00:00
David E. O'Brien
2f5bf4fae2 This commit was generated by cvs2svn to compensate for changes in r78828,
which included commits to RCS files with non-trunk default branches.
2001-06-26 16:57:43 +00:00
Andrey A. Chernov
cd01c79119 Make the similar changes as in our keyinfo, i.e. allow user to get his own
sequence and allow root to get everybody's one. Before this change user
can't get his own sequence, root required.
2001-06-23 04:48:59 +00:00
David E. O'Brien
df9de0eba1 Virgin import (trimmed) of Bzip2 version 1.0.1. 2001-06-21 18:37:17 +00:00
David E. O'Brien
559ba42767 This commit was generated by cvs2svn to compensate for changes in r78556,
which included commits to RCS files with non-trunk default branches.
2001-06-21 18:37:17 +00:00
Ruslan Ermilov
af2a8ba6c3 Bring in FSF revision 1.17:
* src/roff/troff/node.h (node::node): Initialize `last'.

This fixes coredump on \b'\(sq' sequence.

Urged by:	eivind
2001-06-19 06:43:49 +00:00
Ruslan Ermilov
a52dffddd2 This commit was generated by cvs2svn to compensate for changes in r78460,
which included commits to RCS files with non-trunk default branches.
2001-06-19 06:43:49 +00:00
Ruslan Ermilov
7879537eee Removed duplicate copies of files already present in sys/contrib/ipfilter.
Not objected to by:	-arch
2001-06-18 15:54:04 +00:00
Peter Wemm
d6be5f6435 Fix libpam's linker set stuff to use the new API (unbreak world), and get
rid of gensetdefs from here as well.
2001-06-14 01:13:30 +00:00
Andrey A. Chernov
0b680d18f6 Understand new locale names and Latin15 too 2001-06-10 17:03:37 +00:00
Mark Murray
d9c185f10a Fix bug introduced by myself that often resulted in a session having
SIGINTR (^C) and SIGSTP (^Z) masked.

Reported by:	bde, sobomax
Submitted by:	sobomax
2001-06-07 08:45:23 +00:00
Ruslan Ermilov
3c5021685e Fetch the default maximum TTL value from the net.inet.ip.ttl MIB.
PR:		bin/19598
MFC after:	1 week
2001-06-06 16:12:59 +00:00
Mark Murray
341762c6f1 In the same manner as getpass(3), block SIGINTR and SIGSTP while we are
actually reading the line.
2001-06-04 20:59:49 +00:00
Mark Murray
52b026c0e5 Return an empty string rather than an error at EOF. 2001-06-04 20:08:55 +00:00
David E. O'Brien
14070f45a1 Remove this file that slipped thru FREEBSD-Xlist's actions. 2001-06-02 00:03:06 +00:00
Mark Murray
13b65deafa Bring back from the er, dead some useful PAM modules. 2001-05-29 18:32:17 +00:00
David E. O'Brien
872825029c Support the environmental var "GCC_OPTIONS". Which can hold a set of
default options for GCC.  These options are interpreted first and can be
overwritten by explicit command line parameters.  This provides one way of
adding [temporary] options to your world build w/o editing /etc/make.conf.
2001-05-29 09:54:45 +00:00
David E. O'Brien
ef734dd386 Update for the Bintuils 2.11.0 import. 2001-05-28 17:48:04 +00:00
Gregory Neil Shapiro
e6744d19c4 sendmail 8.11.4 has been imported 2001-05-28 17:13:41 +00:00
Gregory Neil Shapiro
c0c4794d84 Resolve conflicts from 8.11.4 import 2001-05-28 17:10:35 +00:00
Gregory Neil Shapiro
8774250cea Import sendmail 8.11.4 2001-05-28 17:08:52 +00:00
Gregory Neil Shapiro
e66921d832 This commit was generated by cvs2svn to compensate for changes in r77349,
which included commits to RCS files with non-trunk default branches.
2001-05-28 17:08:52 +00:00
David E. O'Brien
79a225640d Merge rev 1.2 into Binutils 2.11[.0].
Teach `ld' how to access FreeBSD's ld ELF hints.
2001-05-28 06:21:27 +00:00
David E. O'Brien
66f5a1cd95 We use the stock version of this file now.
I committed our rev 1.2 (start symbol) and 1.3 (max pagesize) fixes into
the FSF/GNU source tree.
2001-05-28 06:19:25 +00:00
David E. O'Brien
efb6b1f03f We use the stock version of this file. 2001-05-28 06:17:54 +00:00
David E. O'Brien
998fcc5cfb We use the stock version of this file now.
I committed all the new FreeBSD platform support (PPC, StrongARM, Sparc64)
into the FSF/GNU tree.
2001-05-28 06:17:17 +00:00
David E. O'Brien
e74384305b Merge rev 1.2 (FreeBSD configuration support) into Binutils 2.11[.0]. 2001-05-28 06:15:35 +00:00
David E. O'Brien
2e3f221007 Use the stock version of this file now.
I committed our rev 1.2 fix into the FSF/GNU tree.
2001-05-28 06:14:37 +00:00
David E. O'Brien
098e7024f7 We use the stock version of this file now.
I folded our rev 1.2 localizations into the FSF/GNU tree.
2001-05-28 06:11:56 +00:00
David E. O'Brien
8f29d50bf5 Return to the vendor's version of this file. 2001-05-28 06:10:48 +00:00
David E. O'Brien
bcffceaaa6 Add a minor tweak for us that I failed to get committed to the stock 2.11. 2001-05-28 06:08:54 +00:00
David E. O'Brien
6dfb9de37e Return to the vendor's version of this file.
(have I mentioned how fscking stupid CVS can be??)
2001-05-28 06:05:28 +00:00
David E. O'Brien
cb5531a994 Return to the vendor's version of this file.
(CVS -j -j filled this with conflicts -- CVS it just too fscking dumb
to realize this is the 3rd time we've just committed the vendor
version + FreeBSD ID)
2001-05-28 06:04:24 +00:00
David E. O'Brien
b94b3e7a83 Return to the vendor's version of this file as in rev 1.4.
(CVS is too stupid to realize we've done this 3 times now...)
2001-05-28 06:00:20 +00:00
David E. O'Brien
64f2a81b18 CVS is too stupid to realize we use the stock version of this file now. 2001-05-28 05:54:56 +00:00
David E. O'Brien
0130e184b4 Merge rev 1.6 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere) into Binutils 2.11[.0].
2001-05-28 05:53:00 +00:00
David E. O'Brien
af489d2da7 Merge rev 1.8 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere.) into Binutils 2.11[.0].
2001-05-28 05:52:12 +00:00
David E. O'Brien
8b8792993c Merge our ELF branding into Binutils 2.11[.0].
I have also turned off the older 100% against-the-gABI method[*].
If you must really have it, define "WANT_OLD_BRANDELF_METHOD".

[*] but left the stretching the gABI method until I finish writing the
notes section support in the ELF image loader.
2001-05-28 05:49:34 +00:00
David E. O'Brien
c9edceadd8 Import of GNU Binutils version 2.11.0.
Believe it or not, this is heavily stripped down.
2001-05-28 05:21:37 +00:00
David E. O'Brien
c8c29a6bbe This commit was generated by cvs2svn to compensate for changes in r77298,
which included commits to RCS files with non-trunk default branches.
2001-05-28 05:21:37 +00:00
David E. O'Brien
741a3bc754 Teach gcc about '%+' so it will not warn when using '%+' in a format
string when using strftime(), since our libc supports it.

PR:             26827
Submitted by:   Marc Olzheim <marcolz@ilse.nl>
2001-05-25 19:00:07 +00:00
Ruslan Ermilov
1166fb516b - sys/msdosfs moved to sys/fs/msdosfs
- msdos.ko renamed to msdosfs.ko
- /usr/include/msdosfs moved to /usr/include/fs/msdosfs
2001-05-25 08:14:14 +00:00
Matthew Dillon
7a2254dcf0 Oops, forgot the 'u' in the getopt for the previous commit. 2001-05-24 00:14:19 +00:00
Matthew Dillon
e5c23e887b A feature to allow one to telnet to a unix domain socket. (MFC from
non-crypto version)

Also update the crypto telnet's man page to reflect other options
ported from the non-crypto version.

Obtained from:   Lyndon Nerenberg <lyndon@orthanc.ab.ca>
2001-05-23 22:54:07 +00:00
Nick Sayer
9286fd701f Make the PAM user-override actually override the correect thing. 2001-05-17 16:28:11 +00:00
Peter Wemm
cf9473cd84 Thanks to ru for the suggestion: remove these files from the vendor
branch instead of the mainline.  These no longer exist on the
vendor branch as of v5_2_20010512.  This saves a delta on the mainline.
2001-05-17 08:39:21 +00:00
Peter Wemm
edfeb4834f This commit was generated by cvs2svn to compensate for changes in r76732,
which included commits to RCS files with non-trunk default branches.
2001-05-17 08:39:21 +00:00
Peter Wemm
952abd2a98 Merge changes from vendor branch to mainline. 2001-05-17 08:24:39 +00:00
Peter Wemm
7a69bbfb27 Import ncurses-5.2-20010512 onto the vendor branch
Obtained from: ftp://dickey.his.com/ncurses/
2001-05-17 08:21:06 +00:00
Peter Wemm
9f22302ac6 This commit was generated by cvs2svn to compensate for changes in r76726,
which included commits to RCS files with non-trunk default branches.
2001-05-17 08:21:06 +00:00
Peter Wemm
64867478d8 Back out last commit. This was already fixed. This should never have
happened, this is why we have commit mail expressly delivered to
committers.
2001-05-17 03:14:42 +00:00
Peter Wemm
d48d5be0d0 Fix the latest telnet breakage. Obviously this was never compiled. 2001-05-17 03:13:00 +00:00
Nick Sayer
1848e3d448 Since the root-on-insecure-tty code was added to telnetd, a dependency
on char *line was added to libtelnet. Put a dummy one in to keep the
linker happy.
2001-05-16 20:34:42 +00:00
Nick Sayer
166b3cb9a0 Make sure the protocol actively rejects bad data rather than
(potentially) not responding to an invalid SRA 'auth is' message.
2001-05-16 20:24:58 +00:00
Nick Sayer
8183ac8f53 srandomdev() affords us the opportunity to radically improve, and at the
same time simplify, the random number selection code.
2001-05-16 18:32:46 +00:00
Nick Sayer
60f581768d Catch any attempted buffer overflows. The magic numbers in this code
(512) are a little distressing, but the method really needs to be
extended to allow server-supplied DH parameters anyway.

Submitted by:	kris
2001-05-16 18:27:09 +00:00
Nick Sayer
e7157113a9 Catch malloc return failures. This should help avoid dereferencing NULL on
low-memory situations.

Submitted by:	kris
2001-05-16 18:17:55 +00:00
Mark Murray
458a1c243f Fix problem with static linking:
> Script started on Sat May 12 22:18:47 2001
> ttyp1:bde@gamplex:/usr/src/libexec/rshd> rsh localhost ls
> rcmd: localhost: Undefined error: 0

Reported by:	bde
2001-05-16 11:05:03 +00:00
Peter Wemm
cd189e1195 Hack to work around braindeath in libtelnet:sra.c. The sra.o file
references global variables from telnetd, but is also linked into
telnet as well. I was tempted to back out the last sra.c change
as it is 100% bogus and should be taken out and shot, but for now
this bandaid should get world working again. :-(
2001-05-15 09:52:03 +00:00
Nick Sayer
c7be24c970 If the uid of the attempted authentication is 0 and if the pty is
insecure, do not succeed. Copied from login.c. This functionality really
should be a PAM module.
2001-05-15 04:47:14 +00:00
David E. O'Brien
cb300ebf8e Make it easy for people to use define DWARF2 exceptions unwinding.
If "WANT_DWARF2_UNWIND" you get it.  Note that this is a different C++ ABI
than the FreeBSD default.  So you will need to recompile all your C++ apps
that uses exceptions if you turn this on.  I am adding it here for Yahoo!'s
use and for those that want to be early adopters to what I will make as the
default with the GCC 3.0 import.
2001-05-14 22:45:26 +00:00
David E. O'Brien
3cd4df5a77 Choose the right LIB_SPEC for threads based on "__FreeBSD_version".
This allows someone with an older -current to update their compiler [only].

Inspired by:	Loren James Rittle <rittle@rsch.comm.mot.com>
2001-05-12 04:57:49 +00:00
Mark Murray
bf6ff2766c Add utility PAMs for finer userland control 2001-05-11 10:12:55 +00:00
Nick Sayer
053c5b3a9e Pointy hat fix -- reapply the SRA PAM patch. To -current this time. 2001-05-07 20:42:02 +00:00
Mark Murray
de4efa569a Resolve conflicts. 2001-05-03 10:48:56 +00:00
Mark Murray
2406bb3ce7 This commit was generated by cvs2svn to compensate for changes in r76238,
which included commits to RCS files with non-trunk default branches.
2001-05-03 09:36:08 +00:00
Mark Murray
5791a4d446 Vendor import Linux PAM 0.75 2001-05-03 09:36:08 +00:00
David E. O'Brien
6a616ff41c * include/elf.h has been repo copied to include/elf-hints.h, and it no
longer includes machine/elf.h.
* consumers of elf.h now use the minimalist elf header possible.

This change is motivated by Binutils 2.11.0 and too much clashing over
our base elf headers and the Binutils elf headers.
2001-05-03 01:49:58 +00:00
Mark Murray
2888dd72bf Compensate for dethreaded headers.
(I have no religion about how this was done. Follow-up commits welcome)
2001-05-01 09:02:06 +00:00
Ruslan Ermilov
289950f4f3 Fix usage of GROFF_BIN_PATH. 2001-04-26 12:29:12 +00:00
David E. O'Brien
74c7a2f52b Update for file 3.35. 2001-04-25 07:42:15 +00:00
David E. O'Brien
61295bbb39 Virgin import of Christos Zoulas's FILE 3.35. 2001-04-25 07:41:21 +00:00
David E. O'Brien
4af11a9683 This commit was generated by cvs2svn to compensate for changes in r75937,
which included commits to RCS files with non-trunk default branches.
2001-04-25 07:41:21 +00:00
Andrey A. Chernov
1bd843bb8d Move manpages to their original location (cvs copy to doc) 2001-04-21 22:02:18 +00:00
Ruslan Ermilov
eb0838029f mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
Ruslan Ermilov
10da3a80ed Update upgrade instructions. 2001-04-17 14:31:56 +00:00
Ruslan Ermilov
2766dc31da FreeBSD provides its own version of this OS-specific file. 2001-04-17 13:32:10 +00:00
Ruslan Ermilov
bb2974b756 Removed yacc(1) output files. 2001-04-17 12:29:43 +00:00
Ruslan Ermilov
96cdc9a050 Merge Groff 1.17 changes. 2001-04-17 12:28:31 +00:00
Ruslan Ermilov
74cf10f1aa Use stock (FSF) version of this file. 2001-04-17 12:28:00 +00:00
Ruslan Ermilov
9f06645d99 Removed files not present in v1.17 import. 2001-04-17 12:23:50 +00:00
Ruslan Ermilov
d0bf30505c This commit was generated by cvs2svn to compensate for changes in r75587,
which included commits to RCS files with non-trunk default branches.
2001-04-17 12:23:50 +00:00
Ruslan Ermilov
af2786323e Removed files not present in v1.17 import. 2001-04-17 12:23:50 +00:00
Ruslan Ermilov
1d5f6a94a8 Virgin import of FSF groff v1.17 2001-04-17 12:12:05 +00:00