Commit Graph

1817 Commits

Author SHA1 Message Date
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
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
David E. O'Brien
61295bbb39 Virgin import of Christos Zoulas's FILE 3.35. 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
Ruslan Ermilov
9a381181f1 This commit was generated by cvs2svn to compensate for changes in r75584,
which included commits to RCS files with non-trunk default branches.
2001-04-17 12:12:05 +00:00
Maxim Sobolev
a4a7932740 Update/improve Ukrainian translation.
Submitted by:	Olexander Kunytsa <kunia@istc.kiev.ua> (author of translation)
2001-04-17 11:00:58 +00:00
David E. O'Brien
e5b85648a2 Remove the filename_completion_function() extern that conflicts with the
latest version of this fuction in Readline 4.2
2001-04-14 01:49:32 +00:00
Ruslan Ermilov
566f5a4859 mdoc(7) police: removed hard sentence breaks introduced in rev.1.10. 2001-04-13 08:49:52 +00:00
Andrey A. Chernov
7de69ff097 Activate backward-compatible prototypes 2001-04-12 17:18:46 +00:00
David E. O'Brien
5e4c98b1a6 The internal declaration for tilde_expand() now conflicts with the one
that was finally added to the readline headers in readline 4.2.

Submitted by:	ache
2001-04-11 16:15:19 +00:00
Andrey A. Chernov
c8f896e658 Remove conflicting readline prototype 2001-04-11 04:07:38 +00:00
Andrey A. Chernov
a39df769f3 Merge local changes 2001-04-11 03:15:56 +00:00
Andrey A. Chernov
3be056262b This commit was generated by cvs2svn to compensate for changes in r75406,
which included commits to RCS files with non-trunk default branches.
2001-04-11 02:33:07 +00:00
Andrey A. Chernov
fb21882ffc v4.2 initial import 2001-04-11 02:33:07 +00:00
David E. O'Brien
370d222b7f Remove MIPS support.
It has rotted quite badly and no one has provided updates for it.
2001-04-11 00:12:48 +00:00
David E. O'Brien
907ca3853b Removed these old 2.9.x files. 2001-04-10 23:53:32 +00:00
Ruslan Ermilov
a8209d83f8 psroff(1) has never been a part of Groff. 2001-04-10 17:04:31 +00:00
Ruslan Ermilov
f3c9372abd Merge in latest CSRG revisions:
- .Fn and .Fc now print a final semicolon (`;') after a
  function declaration in the SYNOPSIS
- .%I implemented
- .At outputs ``AT&T UNIX'' if called without arguments
- minor cleanup

Obtained from:	CSRG archives
2001-04-09 13:02:20 +00:00
Nick Sayer
036790848a Clean up telnet's argument processing a bit. autologin and encryption is
now the default, so ignore the arguments that turn it on. Add a new -y
argument to turn off encryption in case someone wants to do that. Sync
these changes with the man page (including removing the now obsolete
statement about availability only in the US and Canada).
2001-04-06 15:56:10 +00:00
Chris D. Faulhaber
0873af5d5f Do not log every potential exploit attempt since a denial-of-service
may result.
2001-04-06 14:34:15 +00:00
Chris D. Faulhaber
12695b686a - Correct off-by-one error and buffer underflow from previous fix
- int -> unsigned char fixes

Submitted by:	ache, dillon, Mark Andrews, et.al. (on -security)
2001-04-06 14:15:38 +00:00
Nick Sayer
6a1fe28e41 Reactivate SRA.
Make handling of SIGINT and SIGQUIT follow SIGTSTP in TerminalNewMode().
This allows people to break out of SRA authentication if they wish to.
2001-04-05 14:09:15 +00:00
Ruslan Ermilov
6405e53deb Record -lposix1e death. 2001-04-05 07:59:19 +00:00
Poul-Henning Kamp
0cad4cb4e6 Fix a potential ROOT-exploit in NTPD.
PR:		26358
Reviewed by:	dima
2001-04-04 23:07:22 +00:00
Bill Fenner
84c29ae3c4 This commit was generated by cvs2svn to compensate for changes in r75147,
which included commits to RCS files with non-trunk default branches.
2001-04-04 00:11:06 +00:00
Bill Fenner
7e9c480713 Check in the diff for rev 1.11 of tcpdump.org's print-smb.c
to replace freebsd.org's rev 1.2.
2001-04-04 00:11:06 +00:00
Bill Fenner
943ee2b15a Merge tcpdump 3.6.2 2001-04-03 07:50:46 +00:00
Bill Fenner
685295f4d7 Virgin import of tcpdump.org tcpdump v3.6.2 2001-04-03 07:45:48 +00:00
Bill Fenner
4df395f42e This commit was generated by cvs2svn to compensate for changes in r75115,
which included commits to RCS files with non-trunk default branches.
2001-04-03 07:45:48 +00:00
Bill Fenner
8e1481d144 Merge libpcap 0.6.2 2001-04-03 04:32:48 +00:00
Bill Fenner
bd053aaff0 This commit was generated by cvs2svn to compensate for changes in r75107,
which included commits to RCS files with non-trunk default branches.
2001-04-03 04:18:09 +00:00
Bill Fenner
dc2c730546 Virgin import of tcpdump.org libpcap v0.6.2 2001-04-03 04:18:09 +00:00
David E. O'Brien
393efa2bde Consistently space the output. 2001-03-31 09:26:03 +00:00
David E. O'Brien
3cf5f81f9f Change "*coff*" to "coff*" so that the pattern will not dike out xcoffsolib.h.
I'll revisit the pattern on the next import.
2001-03-30 02:37:55 +00:00
Gregory Neil Shapiro
f21dafbc5c Forgot to update this README when I imported 8.11.3 2001-03-30 02:09:19 +00:00
David E. O'Brien
7fd39efb06 Remove these MD files that we've never needed. 2001-03-30 01:44:39 +00:00
David E. O'Brien
fe45817a0c Remove this auto-generated file (and isn't part of 5.0 as it shouldn't be). 2001-03-30 01:41:02 +00:00
David E. O'Brien
e614c11f2c Remove these GDB 4.18 docs that did not make it into 5.0. 2001-03-30 01:40:04 +00:00
David E. O'Brien
3801fcd9f1 Remove this GDB 4.18 file that is no longer part of GDB [5.0]. 2001-03-29 20:53:56 +00:00
David E. O'Brien
b6cfd1f43d Update for file 3.34. 2001-03-25 18:38:47 +00:00
David E. O'Brien
adef7cde57 Virgin import of Christos Zoulas's FILE 3.34. 2001-03-25 18:37:04 +00:00
David E. O'Brien
9d48a2e64c This commit was generated by cvs2svn to compensate for changes in r74784,
which included commits to RCS files with non-trunk default branches.
2001-03-25 18:37:04 +00:00
David E. O'Brien
cf1ed2f80f List of distfile contents to delete using rm' and find -delete'.
Simular to the FREEBSD-Xlist used with `tar -X ... -xf'.
This file is typically used when one starts with the GDB anoncvs repo
rather than a release tarball.
2001-03-24 09:37:48 +00:00
David E. O'Brien
8338ba3e77 This commit was generated by cvs2svn to compensate for changes in r74722,
which included commits to RCS files with non-trunk default branches.
2001-03-24 01:58:31 +00:00
David E. O'Brien
66d7199d63 Import the setjump/longjump exception handling fixes from GCC 2.95.3.test3
that were removed from GCC 2.95.3.test4 and the subsequent release due
to problems on HP-UX.  However, they work just fine on all the BSD's.

W/o these patches the following program segmentation faults if compiled
with -O2 (but not -Os or -O or -O0):

#include <stdio.h>

class A {
public:
  A() { printf("c'tor A\n"); }
  ~A(){ printf("d'tor A\n"); }
};

class foo : public A {
public:
  foo()  { printf("C'tor foo\n"); throw 8; }
  ~foo() { printf("D'tor foo\n"); }
};

int main(){
  try { foo fii; }
  catch (int){ printf("catch ...\n"); }
  return 0;
}
2001-03-24 01:58:31 +00:00
Andrey A. Chernov
fcf8327355 Don't attempt to parse %c 2001-03-21 21:17:54 +00:00
David E. O'Brien
06b8915d1f Virgin import of GCC 2.95.3's libobjc 2001-03-19 20:56:11 +00:00
David E. O'Brien
6020fb6068 This commit was generated by cvs2svn to compensate for changes in r74485,
which included commits to RCS files with non-trunk default branches.
2001-03-19 20:56:11 +00:00
David E. O'Brien
5ed6456a06 Virgin import of GCC 2.95.3's libstdc++ 2001-03-19 20:51:52 +00:00
David E. O'Brien
332b41b792 This commit was generated by cvs2svn to compensate for changes in r74483,
which included commits to RCS files with non-trunk default branches.
2001-03-19 20:51:52 +00:00
David E. O'Brien
addb3faa55 Virgin import of GCC 2.95.3's libio -- the C++ iostream facility. 2001-03-19 20:49:58 +00:00
David E. O'Brien
a7b0f5f340 This commit was generated by cvs2svn to compensate for changes in r74481,
which included commits to RCS files with non-trunk default branches.
2001-03-19 20:49:58 +00:00
David E. O'Brien
41fd0c09eb Remove some files that are no longer in the FSF branch. 2001-03-19 19:50:17 +00:00
David E. O'Brien
1e1e1a599e Merge gcc-2.95.3 changes onto mainline. Update FreeBSD changes to converge
with changes made in the FSF tree.
2001-03-19 19:50:16 +00:00
David E. O'Brien
843b04fb90 Virgin import of the GCC 2.95.3 compilers 2001-03-19 19:46:16 +00:00
David E. O'Brien
59543307c9 This commit was generated by cvs2svn to compensate for changes in r74473,
which included commits to RCS files with non-trunk default branches.
2001-03-19 19:46:16 +00:00
Nick Sayer
989efc86f5 Fix core noted in -stable with 'auth disable SRA'.
I just mistakenly commited this to RELENG_4. I have contacted Jordan to see
about how to fix this. Pass the pointy hat.
2001-03-18 09:44:25 +00:00
Ruslan Ermilov
99d2a6766d .St macro cleanup:
- spell the abbreviation of 1003.1 as ``POSIX.1''
- fixed the description of -p1003.1-90; it was sold as ISO/IEC 9945-1:1990
- removed -p1003.1b; it only existed as 1003.1b-1993 (-p1003.1b-93), and
  is part of 1003.1 since 1003.1-1996.
- replaced -p1003.1g (project) with -p1003.1g-2000 (approved draft)
- changed abbreviation of -isoC from ``ISO C'' to ``ISO C89''
- removed -iso9899 alias for -isoC
- IEC was missing from some names
- added abbreviation for -susv2 (``SUSv2'')
2001-03-12 17:19:38 +00:00
Assar Westerlund
bb330cd01e enable auto-negotiation of encrypt and decrypt 2001-03-12 03:54:48 +00:00
Kris Kennaway
fc03710c55 This commit was generated by cvs2svn to compensate for changes in r73569,
which included commits to RCS files with non-trunk default branches.
2001-03-05 02:54:13 +00:00
Kris Kennaway
18690202e2 Import patch to fix non-constant format string abuses. This patch was
approved by the vendor and will be present in future releases.
2001-03-05 02:54:13 +00:00
Kris Kennaway
30b14dd1d0 This commit was generated by cvs2svn to compensate for changes in r73393,
which included commits to RCS files with non-trunk default branches.
2001-03-03 23:45:43 +00:00
Kris Kennaway
28ae2e3a2b Import vendor fix for buffer overflow in HOME environment variable 2001-03-03 23:45:43 +00:00
Ruslan Ermilov
afcf05e46a setlocale(3) has been fixed to match POSIX standard:
LC_ALL takes precedence over other LC_* envariables.
2001-03-02 16:52:14 +00:00
David E. O'Brien
9dcc3a35a1 Change "NO_PROFILE_DATA" to "NO_PROFILE_COUNTERS" to match the commit by
the FSF/GCC people in the stock 2.97 source that is like our custom change
modulo the conditional compilation symbol.
2001-03-02 08:46:15 +00:00
David E. O'Brien
49bd150d88 Move the obvious bits of mixed ELF and a.out support down into this MD
header to reduce the difference of our sources to the stock GNU/FSF ones.
While the mix binary format support was nice to have in the FreeBSD MI
header as a frame work, it just clutters up too much and makes the FreeBSD
MI header more different from the FSF/GNU stock one than it needs to be.
2001-03-02 02:46:05 +00:00
David E. O'Brien
c04329d184 Push as much as was easy of the mixed ELF & a.out support for the i386
into the i386 MD FreeBSD header.  Also comment tweaking, continuation line
style changes, and other minor changes to make this closer to the latest
FSF/GNU 3.0 sources (to reduce my headache when 3.0 is imported).
2001-03-02 02:42:42 +00:00
Ruslan Ermilov
127cffed5a Fixed undesirable hyphenation on the dash of a flag argument.
Example:

.Sh SYNOPSIS
.Nm natd
.Fl unregistered-only
.Fl proxy-only
.Fl deny-incoming
.Fl use-sockets
.Fl same-ports

Ported from:	mdocNG
2001-03-01 12:46:29 +00:00
Ruslan Ermilov
abec56f578 Fixed two bugs with -tag lists.
If the -tag list definition didn't have a -width modifier,
the first .It call was supposed to set the width depending
on the first argument type; if it is a macro name, use the
macro's width value; otherwise, use width value of `No'.

The following two lists should produce identical output:

.Bl -tag -width Er -compact
.It Er EINVAL
invalid argument
.El
.Bl -tag -compact
.It Er EINVAL
invalid argument
.El

If the outermost -tag list definition did't have a -width
modifier, the .It elements of inner lists might not work
(producing a list where each successive element `walks' to
the right).

Example:

.Bl -tag -compact
.It outer
.It outer
.Bl -tag -compact
.It inner
.It inner
.El
.It outer
.It outer
.El

Ported from:	mdocNG
2001-03-01 12:13:04 +00:00
Ruslan Ermilov
7e55afcbbc mdoc(7) police: misc fixes. 2001-03-01 11:06:56 +00:00
David E. O'Brien
6ed0ce16ce Stylistic changes mirroring ones done in the FSF/GNU 3.0 development sources. 2001-02-28 22:37:32 +00:00
Gregory Neil Shapiro
b466200952 Repair 8.11.3 merge conflicts 2001-02-28 00:22:47 +00:00
Gregory Neil Shapiro
602a2b1b1d Import sendmail 8.11.3 2001-02-28 00:19:57 +00:00
Gregory Neil Shapiro
1ed4a948e1 This commit was generated by cvs2svn to compensate for changes in r73188,
which included commits to RCS files with non-trunk default branches.
2001-02-28 00:19:57 +00:00
Ruslan Ermilov
dbd205544b Synch with NetBSD and OpenBSD: replace -iso9945-1 with -p1003.1-96. 2001-02-26 14:41:05 +00:00
Ruslan Ermilov
849447b80d Revert part of rev 1.2: make -ansiC equivalent to -ansiC-89. 2001-02-26 13:29:46 +00:00