Commit Graph

3868 Commits

Author SHA1 Message Date
Simon L. B. Nielsen
31363b6067 Correct multiple security related errors: a buffer overflow, NULL
pointer dereferences, possible use of uninitialized variables, and
memory leaks.

Security:	CAN-2005-0753
Security:	FreeBSD-SA-05:05.cvs
Approved by:	peter
2005-04-22 17:58:25 +00:00
Giorgos Keramidas
32efd26355 - Add a THR column to the process listing, that shows the number of
threads a process has.  The THR column is disabled and disappears
  when 'H' is hit, because then every thread gets its own output line.
- Allow sorting processes by "threads".

Approved by:	davidxu
Inspired by:	Jiawei Ye <leafy7382@gmail.com>
2005-04-14 15:02:03 +00:00
Thomas Quinot
be9ede4a45 Fix minor discrepancy between documentation and implementation: the
destination port is incremented for each packet sent to the same hop.

MFC after:	1 week
2005-04-12 15:16:32 +00:00
Jacques Vidrine
14aab889f4 Correct a pair of buffer overflows in the telnet(1) command:
(CAN-2005-0468) A heap buffer overflow in env_opt_add() and related
 functions.

 (CAN-2005-0469) A global uninitialized data section buffer overflow in
 slc_add_reply() and related functions.

As a result of these vulnerabilities, it may be possible for a malicious
telnet server or active network attacker to cause telnet(1) to execute
arbitrary code with the privileges of the user running it.

Security: CAN-2005-0468, CAN-2005-0469
Security: FreeBSD-SA-05:01.telnet
Security: http://www.idefense.com/application/poi/display?id=220&type=vulnerabilities
Security: http://www.idefense.com/application/poi/display?id=221&type=vulnerabilities

These fixes are based in part on patches
Submitted by:	Solar Designer <solar@openwall.com>
2005-03-28 14:45:12 +00:00
Doug Barton
0e41462ff3 Expand and refine a few sections for future reference 2005-03-17 08:40:41 +00:00
Doug Barton
e7639cc3cd Delete all aix ports 2005-03-17 08:40:11 +00:00
Doug Barton
94b2911216 Remove files from the vendor branch that were [re]moved in 9.3.1 2005-03-17 08:10:34 +00:00
Doug Barton
0c3e8a73d1 This commit was generated by cvs2svn to compensate for changes in r143734,
which included commits to RCS files with non-trunk default branches.
2005-03-17 08:10:34 +00:00
Doug Barton
6bc6438a36 Vendor import of BIND 9.3.1 2005-03-17 08:04:02 +00:00
Doug Barton
085ef8005f This commit was generated by cvs2svn to compensate for changes in r143731,
which included commits to RCS files with non-trunk default branches.
2005-03-17 08:04:02 +00:00
Christian Brueffer
28d223bdcb Correct macro usage.
Submitted by:	Christoph Mallon <christoph.mallon@gmx.de>
MFC after:	3 days
2005-03-13 13:37:02 +00:00
Hartmut Brandt
966fd1ea2f Don't extract the .gdbinit file from the distribution. 2005-02-28 17:29:10 +00:00
Hartmut Brandt
94caccb357 Virgin import of bsnmpd 1.8 2005-02-28 17:27:11 +00:00
Hartmut Brandt
71651a2743 This commit was generated by cvs2svn to compensate for changes in r142810,
which included commits to RCS files with non-trunk default branches.
2005-02-28 17:27:11 +00:00
Anton Berezin
3a44a4c33e Increase usefulness of telnet(1) as a protocol tester. By prepending
"+" to the port number, disable option negotiation and allow
transferring of data with high bit set.

OKed by:	markm (maintainer)
PR:		52032
Submitted by:	Valentin Nechayev <netch maybe-at netch stop kiev stop ua>
MFC After:	2 weeks
2005-02-28 12:46:53 +00:00
Gleb Smirnoff
469f8a6aca - remove OpenBSDisms, add FreeBSDisms
- comment out feature, we do not have yet: tcpdumping on pfsync,
  add a BUGS section
- reference carp.4
- dereference bpf(4), tcpdump(7), hostname.if(5)
- sort references
- tell when pfsync appeared in FreeBSD

Reviewed by:	mlaier
MFC after:	1 week
2005-02-23 17:37:39 +00:00
Mike Heffner
9058027721 Import the latest CVS version of lukemftp.
Short list of changes:

 * SIGINT termination from auto-fetch.
 * Less trusting of remote filenames during auto mgets.
 * Improved RFC2616 compliancy.
 * Fix globs when using ftp reget (from mat@).
 * Limit send buffer size.
2005-02-20 17:33:34 +00:00
Mike Heffner
7ffd9476ea This commit was generated by cvs2svn to compensate for changes in r142129,
which included commits to RCS files with non-trunk default branches.
2005-02-20 17:33:34 +00:00
Gregory Neil Shapiro
dbda3744f4 Merge mci.c change to add mci_close() from the vendor branch.
Problem noted by:	marcus
2005-02-14 08:04:08 +00:00
Gregory Neil Shapiro
27bec48138 Commit patch from sendmail.org web site for socket close bug:
http://www.sendmail.org/patches/close_wait.p2

This is being put in the vendor branch as it is in the vendor's repo.
2005-02-14 03:04:18 +00:00
Gregory Neil Shapiro
2beed715b1 This commit was generated by cvs2svn to compensate for changes in r141867,
which included commits to RCS files with non-trunk default branches.
2005-02-14 03:04:18 +00:00
Gregory Neil Shapiro
b37a166a40 Remove files no longer in vendor distribution from vendor branch 2005-02-14 02:58:21 +00:00
Gregory Neil Shapiro
92e30605d8 Update for sendmail 8.13.3 import 2005-02-14 02:45:25 +00:00
Gregory Neil Shapiro
684b2a5fa3 Resolve conflicts from sendmail 8.13.3 import
MFC after:	4 days
2005-02-14 02:39:14 +00:00
Gregory Neil Shapiro
b6bacd3150 Import sendmail 8.13.3 2005-02-14 02:30:00 +00:00
Gregory Neil Shapiro
6af83ee0d2 This commit was generated by cvs2svn to compensate for changes in r141858,
which included commits to RCS files with non-trunk default branches.
2005-02-14 02:30:00 +00:00
Ruslan Ermilov
0227791b40 Expand *n't contractions. 2005-02-13 22:25:33 +00:00
Max Laier
c721916790 Fix sloppy use of "manpage", bump .Dd where applicable and rename RED to
Random Early Detection (not ... Drop) in order to be consistent with other
documentation on ALTQ

Pointed out by:	simon, ru, Brad Davis
2005-02-07 23:20:12 +00:00
Max Laier
8624b327d4 Be more verbose about altq SYNOPSIS and add more linkage in the relating pf
documents.

Inspired by:	scottl
Reviewed by:	Brad Davis <so14kNOso14kSPAMcom>
MFC after:	3 days
2005-02-07 11:46:36 +00:00
Xin LI
b0683dae2d Undo the VCS tag move to reduce diff hunks.
Pointed out by:	ru
2005-02-07 05:34:35 +00:00
Xin LI
a58ff0abbb Add instructions about upgrading netcat(1). 2005-02-06 15:26:44 +00:00
Xin LI
04def62430 Finish the import of nc(1) from OpenBSD. This includes:
- Bring IPsec support from the ports collection [1].
	- Bring -o ("once only") option from the ports
	  collection [2].
	- Adopt the Makefile framework into
	  usr.bin/nc/Makefile.
	- Add a knob to control whether to build nc(1),
	  NO_NETCAT.
	- Bump __FreeBSD_version so ports collection can
	  detect this change.

Original patchset are contributed to the ports collection by:
[1] nectar, [2] joerg.

Note: WARNS?=6 patchset spined off in this commit, in order not
to take too many files off the vendor branch.
2005-02-06 14:44:27 +00:00
Xin LI
8f70b0946d This commit was generated by cvs2svn to compensate for changes in r141261,
which included commits to RCS files with non-trunk default branches.
2005-02-04 08:41:44 +00:00
Xin LI
8c384020b3 Import a (stripped) snapshot of OpenBSD's nc(1) an excellent
reimplementation of the famous tool that can do arbitrary TCP
and UDP connections and listens.

This gaves sysadm the same tool the crackers have, so that
they may learn what the network is about and protect it better.
For developers, this is an invaluable debugging tool, and a
good build block of scripts.

Discussed on:	freebsd-hackers@
2005-02-04 08:41:44 +00:00
Dag-Erling Smørgrav
b33ab32994 Vendor import of OpenPAM Feterita. 2005-02-01 10:16:17 +00:00
Dag-Erling Smørgrav
24a3c486ce This commit was generated by cvs2svn to compensate for changes in r141098,
which included commits to RCS files with non-trunk default branches.
2005-02-01 10:16:17 +00:00
Ruslan Ermilov
2ed83d261b MFV: Latest mdoc(7) fixes. 2005-01-25 09:32:56 +00:00
Ruslan Ermilov
bc33253bf8 Bring in latest mdoc(7) fixes over here. 2005-01-25 09:29:48 +00:00
Ruslan Ermilov
3899af05ce This commit was generated by cvs2svn to compensate for changes in r140801,
which included commits to RCS files with non-trunk default branches.
2005-01-25 09:29:48 +00:00
Bruce M Simpson
a0fba9baed Fix NULL pointer dereference bug when parsing IPV6CP traffic.
This file is already off the vendor branch, and the fix will be
in future tcpdump.org vendor branch imports.

PR:		bin/76497
MFC after:	1 week
Obtained from:	tcpdump.org rev 1.89.2.4
Discussed with:	fenner, keramida
2005-01-24 14:56:48 +00:00
Ruslan Ermilov
a5947c18a8 - Soften sentence breaks.
- Remove double whitespace.
- Sort sections.
2005-01-21 21:57:05 +00:00
David Schultz
ba54cdcdda Configure gdtoa so that floating-point numbers are correctly rounded
when they are printed in non-default rounding modes.
2005-01-18 18:56:18 +00:00
Ruslan Ermilov
32fe84f7e8 Pull up a vendor fix for a problem exposed by tr/tr.1,v 1.30. 2005-01-14 09:50:45 +00:00
Ruslan Ermilov
7643035a1c This commit was generated by cvs2svn to compensate for changes in r140229,
which included commits to RCS files with non-trunk default branches.
2005-01-14 09:50:45 +00:00
Maxim Konovalov
de93353dad o Make telnet[d] -S (IP TOS) flag really work. We do not have
/etc/iptos implementation so only numeric values supported.

o telnetd.8: steal the -S flag description from telnet.1, bump
the date of the document.

MFC after:	6 weeks
2005-01-09 10:24:46 +00:00
Maxim Konovalov
913fffe21a o Add -4 and -6 flags to a man page and usage(). Bump the man page
date.
2005-01-05 09:59:38 +00:00
Maxim Konovalov
ab90852ba3 o Remove -t flag from getopt(3), it was killed in rev. 1.15 three
years ago.
2005-01-05 09:47:10 +00:00
Maxim Konovalov
0d4cc5f650 o Print a correct status for unix domain sockets.
o Restore input mode when return from the command one.

PR:			bin/49983
Submitted by:		Volker Stolz
OK in general from:	markm
MFC after:		1 month
2005-01-04 21:22:32 +00:00
David E. O'Brien
f802162636 This commit was generated by cvs2svn to compensate for changes in r139368,
which included commits to RCS files with non-trunk default branches.
2004-12-28 04:31:47 +00:00
David E. O'Brien
a2e8fb4c99 Virgin import of Christos Zoulas's FILE 4.12. 2004-12-28 04:31:47 +00:00
Ruslan Ermilov
731db6a428 NOINET6 -> NO_INET6 2004-12-21 10:49:29 +00:00
Joseph Koshy
548c9b4376 Revert rev 1.66. This file needs to track its upstream source.
Requested by:	ru
2004-12-17 16:29:54 +00:00
Joseph Koshy
e791235b73 Support for ".Fx 6.0".
Reviewed by:	ru
2004-12-17 14:10:44 +00:00
Ollivier Robert
0003d12e46 This commit was generated by cvs2svn to compensate for changes in r138451,
which included commits to RCS files with non-trunk default branches.
2004-12-06 14:33:29 +00:00
Ollivier Robert
b9bb0f5d00 Merge from the main BK repository for ntp: put two midly annoying messages
under #ifdef DEBUG. Merge of revision 1.45 by H. Stenn.

Done on the vendor branch to minimise future imports.

Reminded by:	obrien
2004-12-06 14:33:29 +00:00
Max Laier
2346577455 Fix a reference from pool(9) -> zone(9), but keep on talking about "memory
pools" as that is what UMA provides.

Submitted by:	Jay <jay NO meangrape SPAM com>
2004-11-14 17:05:54 +00:00
David E. O'Brien
337c1d7b9b Break lines at sentence ends, etc... 2004-11-11 07:50:09 +00:00
David E. O'Brien
fb89b41ce4 Don't attempt to claim what version of GCC we're documenting. The manpage
is still mostly the GCC 2.95 one, with faint attempts by me over the years
to document a few new switches.  Thus, it is dubious to claim documentation
of specific modern GCC versions.

Noted by:	delphij
2004-11-11 07:45:01 +00:00
Peter Wemm
a4a4e5a535 Fix some more files that got butchered to appear to be back on the
vendor branch again.  (These will need a readline import merge too)
2004-10-21 20:10:14 +00:00
Peter Wemm
3dc55b1483 Force these files back off the vendor branch. They should NEVER have been
put back on there in the first place. :-(

Note that complete.c will need a readline 5.0 merge.
2004-10-21 20:02:02 +00:00
David E. O'Brien
1ac62e0b31 + Get prototypes for libc functions.
+ Use the correct printf format for size_t.
2004-10-19 17:44:31 +00:00
David E. O'Brien
caef65b837 Size matters. Correctly use a size_t so 64-bit hosts can mount SMB FS's
when using character set conversions.
Also include POSIX <string.h> vs. BSD <strings.h> now that we've broken
traditional BSD behavior [and compatibility with our BSD brethren].

PR:		72445
Submitted by:	Vladimir Nechitailo <nechit@lpi.ru>
Patch by:	Stasys Smailys <ssmailys@komvista.lt>
2004-10-19 17:39:15 +00:00
Andrey A. Chernov
1708dd06c1 This files no longer used
Asked-by: ru
2004-10-18 08:14:48 +00:00
Andrey A. Chernov
b69b773e8a Merge local changes 2004-10-18 07:25:32 +00:00
Andrey A. Chernov
761828a6e6 Remove files not in 5.0 2004-10-18 07:18:06 +00:00
Andrey A. Chernov
60b6984141 Update instructions 2004-10-18 07:15:43 +00:00
Andrey A. Chernov
e5ce20496d Official patches 001-005 2004-10-18 07:10:33 +00:00
Andrey A. Chernov
6af9ea3853 This commit was generated by cvs2svn to compensate for changes in r136647,
which included commits to RCS files with non-trunk default branches.
2004-10-18 07:10:33 +00:00
Andrey A. Chernov
fc34a2e6e7 Virgin import of GNU Readline 5.0 2004-10-18 07:02:42 +00:00
Andrey A. Chernov
d1447d3869 This commit was generated by cvs2svn to compensate for changes in r136644,
which included commits to RCS files with non-trunk default branches.
2004-10-18 07:02:42 +00:00
Tom Rhodes
1cef902abd Use .Xr in place of .I for Xref's.
PR:		71730
Submitted by:	Gavin Atkinson <gavin.atkinson@ury.york.ac.uk> (original patch)
Commit ok:	mbr (through GNATS PR)
2004-10-15 12:50:05 +00:00
Alexander Kabaev
1689e31de6 Import a patch from GCC PR c/16999 to stop quoting already quoted ident
strings.
2004-10-15 03:22:13 +00:00
Alexander Kabaev
f75a5631b8 This commit was generated by cvs2svn to compensate for changes in r136527,
which included commits to RCS files with non-trunk default branches.
2004-10-15 03:22:13 +00:00
Max Laier
048b39f692 Rename the QUEUEING section to QUEUEING/ALTQ to make it easier to find the
appropiate section when redirected from ALTQ(4).

MFC after:	2 days
2004-10-07 15:39:02 +00:00
Max Laier
22d6889b4d Make pflogd cope with module unload (and the sudden disappearing of pflog0).
Instead of eating all the available CPU we now shutdown gracefully.

Submitted by:	yongari
MFC after:	3 days
2004-10-05 08:26:34 +00:00
Ruslan Ermilov
6f9868d148 Pull up the latest minor fixes. 2004-10-05 06:14:29 +00:00
Ruslan Ermilov
04e67b43ff This commit was generated by cvs2svn to compensate for changes in r136136,
which included commits to RCS files with non-trunk default branches.
2004-10-05 06:14:29 +00:00
Max Laier
f2403525f7 Document a problem with user/group filtering. With debug.mpsafenet=1 this
might result in a deadlock. The fix involves critical changes in the PF
locking strategy (which will happen after 5.3R). For now advise users to set
debug.mpsafenet=0 if they use this kind of filtering.

The same problem exists for IPFW.

mdoc help from:		simon
MFC after:		2 days
2004-10-03 10:42:42 +00:00
Tom Rhodes
24dc798a69 Place files back on the vendor branch.
Prodded by:	ru
2004-09-29 06:22:38 +00:00
Tom Rhodes
84c5f309ab This commit was generated by cvs2svn to compensate for changes in r135923,
which included commits to RCS files with non-trunk default branches.
2004-09-29 06:22:38 +00:00
Dag-Erling Smørgrav
456f759554 Document the upgrade procedure. 2004-09-27 00:25:56 +00:00
Max Laier
9007cc283f PFIL_HOOKS is no longer an optional item.
Submitted by:	Anders Hanssen
MFC after:	1 day
2004-09-26 16:10:40 +00:00
Tom Rhodes
911a190fe5 Vendor import of harti's begemot library. 2004-09-24 21:48:46 +00:00
Tom Rhodes
7bd076c06c This commit was generated by cvs2svn to compensate for changes in r135768,
which included commits to RCS files with non-trunk default branches.
2004-09-24 21:48:46 +00:00
Dag-Erling Smørgrav
29d75632bd Retire the BIND 8 sources. 2004-09-24 19:48:50 +00:00
Dag-Erling Smørgrav
8e4912ed06 Vendor import of BIND 9.3.0. 2004-09-23 07:18:50 +00:00
Dag-Erling Smørgrav
67c80bd25b This commit was generated by cvs2svn to compensate for changes in r135601,
which included commits to RCS files with non-trunk default branches.
2004-09-23 07:18:50 +00:00
cvs2svn
444dbe19dd This commit was manufactured by cvs2svn to create branch 'VENDOR-bind9'. 2004-09-21 19:01:49 +00:00
Dag-Erling Smørgrav
cd3ee173f9 Switch from BIND 8 to BIND 9.
Submitted by:	(in part) dougb@, trhodes@
Reviewed by:	dougb@, trhodes@, re@
MFC after:	5 days
2004-09-21 19:01:48 +00:00
Dag-Erling Smørgrav
3d3b189a12 Add lib/tests. 2004-09-20 18:36:02 +00:00
Tom Rhodes
5d29436106 Add a config.h file. 2004-09-19 19:30:46 +00:00
Tom Rhodes
c725e1f2d3 Add a FREEBSD-Xlist file. 2004-09-19 19:24:56 +00:00
Tom Rhodes
64aa1955c5 Vendor import of BIND 9.3.0rc4.
These three files were missed in the original import because their names
contained the magic letters w, i and n in that sequence.
2004-09-19 18:34:53 +00:00
Tom Rhodes
bc2541491b This commit was generated by cvs2svn to compensate for changes in r135471,
which included commits to RCS files with non-trunk default branches.
2004-09-19 18:34:53 +00:00
Tom Rhodes
b1e4bd53e0 Vender import of BIND 9.3.0rc4. 2004-09-19 01:30:24 +00:00
Tom Rhodes
25aa24cabd This commit was generated by cvs2svn to compensate for changes in r135446,
which included commits to RCS files with non-trunk default branches.
2004-09-19 01:30:24 +00:00
Max Laier
9d7ccc0ffa Bring in some examples (and create space for future work here):
- Add OpenBSD example rulesets as advertised in etc/pf.conf and pf.conf(5)
- Tweak the pointer to fit the FreeBSD default location share/examples/pf
- Account for the new directory in BSD.usr.dist (no hier(7) change required
  as share/examples is an opaque item there).

Obtained from:	OpenBSD
Reminded by:	Thomas T. Veldhouse
PR:		docs/71691
MFC after:	2 days
2004-09-14 01:07:19 +00:00
Tim J. Robbins
95269a8951 Correctly check the return value of kldload() to determine whether an
error occurred.
2004-09-05 06:42:51 +00:00
Marcel Moolenaar
78cf5f2fcd Abstract the handling of dirty stacked registers in ia64_read_reg() and
ia64_write_reg() and call these whenever we read or write registers from
and to memory. This way we correctly read registers from addresses in
the register cache and thus fixes backtraces when the saved registers
(such as rp and ar.pfs) are in dirty stacked registers.
2004-09-05 06:17:25 +00:00
Max Laier
6964e37de4 Make pflogd(8) store pcap_sf_pkthdr instead of MD timeval contaminated
pcap_pkthdr. This makes /var/log/pflog standart compliant on 64bit archs.

OpenBSD has fixed this by changing the bpf timeval to 32bit in the kernel,
so no need to report this over (again).

PR:		bin/71096 (w/ changes)
Submitted by:	Ville-Pertti Keinonen
Tested by:	amd64(submitter), sparc64(yongari), i386(myself)
MFC after:	3 days
2004-08-31 18:04:34 +00:00
Tim Kientzle
61bc62e942 Recognize and skip 'x' and 'g' pax extension entries. In particular,
this avoids the creation of "PaxHeader" dirs when unpacking pax-format
tar archives such as those written by bsdtar.

MFC after: 3 days
2004-08-28 03:13:05 +00:00
Tim Kientzle
20192d1959 Correct va_end usage.
Thanks to: Sean McNeil
MFC after: 3 days
2004-08-27 03:52:29 +00:00
Max Laier
c5be312a19 Loopback a fix from Cedric Berger:
Fix table add/replace commands with securelevel=2.
	Reported by James J. Lippard.

Discussed with:	yongari
MFC after:	5 days
2004-08-22 16:58:06 +00:00
Max Laier
8a7574f3ce Import pfctl_table.c#1.61 from OpenBSD into vendor branch. 2004-08-22 16:53:39 +00:00
David E. O'Brien
b4e8286b3b Enter the long awaited start of FreeBSD 6.0! 2004-08-21 03:58:39 +00:00
David E. O'Brien
abbf5f5f8f NetBSD has updated their groff to a version that handles .Nm the same
way ours does.  So use the vendor files now.
2004-08-18 06:41:13 +00:00
David E. O'Brien
5bf06d869f Merge rev 1.2 (OPIE, login user capabilities database, PAM) support
into 'nbsd_20040809'.
2004-08-18 06:34:20 +00:00
David E. O'Brien
07539dd5d7 This commit was generated by cvs2svn to compensate for changes in r133936,
which included commits to RCS files with non-trunk default branches.
2004-08-18 06:29:48 +00:00
David E. O'Brien
3a802515c6 Import of LukeM's ftpd taken from the NetBSD CVS repo on 9-Aug-2004.
This closes the remotely exploitable vulnerability documented at
ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2004-009.txt.asc
http://www.vuxml.org/freebsd/c4b025bb-f05d-11d8-9837-000c41e2cdad.html
2004-08-18 06:29:48 +00:00
Martin Blapp
b5c1da06a9 Make 'client DNS forward update' working again which got broken in rev.
RC9 of dhclient 3.0.1. This fix will be part of dhclient 3.0.2. It is
also part of the official redhat package.

Submitted by:	Jason Vas Dias <jvdias@redhat.com>
Discussed on:	dhcp-hackers@isc.org
2004-08-16 22:35:56 +00:00
Martin Blapp
ff20f7a95e Document local changes r1.41 and r1.42 of dhclient.c 2004-08-16 21:31:34 +00:00
Martin Blapp
93fb40624f Recommit removed Rev. 1.40. This fix does solve a FPE with negative lease
time as described in the PR below.

It seems that this patch should have been part of the vendor tree but got
accidently missed in the 3.0.1 final version. It will definitly be
part of 3.0.2 but until then it's a long way to go.

Submitted by:   ISC (Vendor)
PR:             bin/54517
2004-08-16 21:26:04 +00:00
Martin Blapp
222bb5ab84 It could happen that the renew/rebind times in the leasefile were
expired but the expire time itself was still valid and in the future.
If this happened we ended up using the state S_RENEW with an
INADDR_BROADCAST address set in the request and dhclient never got
any answer back. The only workaround was to delete the lease file.

Fix this case with a check for the S_RENEW and a fallback to the
S_INIT state.

PR:		bin/69361
Submitted by:	Andrew Gallatin <gallatin@cs.duke.edu>
2004-08-16 16:09:50 +00:00
Martin Blapp
e6fb0bd676 Sync a reverted part of dhclient.c with the vendor source. It seems
that a buxfix from rc14 got backed out again. We do the same.
2004-08-16 15:48:02 +00:00
Alfred Perlstein
5d320d4b95 This patch merges the sort fields for both pages, so you can (for
example) view io stats while sorting by process size.  Also adds
voluntary and involuntary context-switch stats to the io page because
there was lots of room.

Submitted by: Dan Nelson dnelson at allantgroup.com
2004-08-16 07:51:22 +00:00
Martin Blapp
c9dca5ca78 Resolve conflicts from dhclient 3.0.1 final import.
No functional changes in this import.
2004-08-15 23:37:10 +00:00
Martin Blapp
f511f66676 This commit was generated by cvs2svn to compensate for changes in r133783,
which included commits to RCS files with non-trunk default branches.
2004-08-15 23:33:13 +00:00
Martin Blapp
41893d8997 Import ISC DHCP 3.0.1 client. 2004-08-15 23:33:13 +00:00
David Xu
82552011ab Disable surplus detection of breakpoint event in signal stack, the check
causes a normal breakpoint event in new thread to be ignored unexpectly,
result is process SIGSEGV.

Test on: AMD64, i386
2004-08-15 12:31:30 +00:00
Hartmut Brandt
e0fd476003 Vendor patch: don't dump core when the config file cannot be opened.
Submitted by:	Maxim Konovalov <maxim@macomnet.ru>
2004-08-12 19:17:29 +00:00
Hartmut Brandt
181fd12f6c This commit was generated by cvs2svn to compensate for changes in r133594,
which included commits to RCS files with non-trunk default branches.
2004-08-12 19:17:29 +00:00
Alexander Kabaev
292f200484 Remove files that are not part of GCC 3.4.x from the vendor branch. 2004-08-12 16:41:42 +00:00
Alexander Kabaev
6d3e93598f This commit was generated by cvs2svn to compensate for changes in r133582,
which included commits to RCS files with non-trunk default branches.
2004-08-12 16:41:42 +00:00
Tim J. Robbins
4c00d1609e This commit was generated by cvs2svn to compensate for changes in r133546,
which included commits to RCS files with non-trunk default branches.
2004-08-12 05:59:33 +00:00
Tim J. Robbins
da2802fe8c Import of GNU sort from coreutils CVS (trimmed) 2004-08-12 05:59:33 +00:00
Tim J. Robbins
144ccb4106 Merge local changes. 2004-08-12 05:46:04 +00:00
Tim J. Robbins
9da8305ad3 Import of GNU sort from coreutils CVS (trimmed) 2004-08-12 05:37:46 +00:00
Tim J. Robbins
c5fe2733ea This commit was generated by cvs2svn to compensate for changes in r133543,
which included commits to RCS files with non-trunk default branches.
2004-08-12 05:37:46 +00:00
Alexander Kabaev
025ee8b5ee Import one more file for Gcc 3.4.2 20040728. 2004-08-12 02:21:58 +00:00
Alexander Kabaev
db20bc12fe This commit was generated by cvs2svn to compensate for changes in r133534,
which included commits to RCS files with non-trunk default branches.
2004-08-12 02:21:58 +00:00
Hartmut Brandt
0943e320d0 Exclusion list for easier import. 2004-08-11 12:19:32 +00:00
Hartmut Brandt
36919bb12f Virgin import of NgATM user part 1.1 2004-08-11 12:17:54 +00:00
Hartmut Brandt
4b61cb7ef9 This commit was generated by cvs2svn to compensate for changes in r133488,
which included commits to RCS files with non-trunk default branches.
2004-08-11 12:17:54 +00:00
Hartmut Brandt
0a9d66ca0d Fix the 4.X -> 5.X upgrade path by include <inttypes.h> instead of
stdint.h.
2004-08-10 11:05:25 +00:00
Hartmut Brandt
11eb5b4589 This commit was generated by cvs2svn to compensate for changes in r133429,
which included commits to RCS files with non-trunk default branches.
2004-08-10 11:05:25 +00:00
David E. O'Brien
ea8dc7e0f2 Virgin import of Christos Zoulas's FILE 4.10.
*- file is now broken into a library containing and processing the magic
   and a consumer binary.
2004-08-09 08:45:41 +00:00
David E. O'Brien
bd83d14fb5 This commit was generated by cvs2svn to compensate for changes in r133359,
which included commits to RCS files with non-trunk default branches.
2004-08-09 08:45:41 +00:00
Hartmut Brandt
4cba8c6ddf List some more files to be excluded from the original distribution. 2004-08-06 13:41:55 +00:00
Hartmut Brandt
896052c10f Virgin import of bsnmpd 1.7 2004-08-06 13:38:30 +00:00
Hartmut Brandt
495190c602 This commit was generated by cvs2svn to compensate for changes in r133211,
which included commits to RCS files with non-trunk default branches.
2004-08-06 13:38:30 +00:00
Dag-Erling Smørgrav
40bce2b2a1 Do not check val-tags if the repository is read-only.
Approved by:	maintainer's silence
MFC after:	2 weeks
2004-08-05 17:47:35 +00:00
Gregory Neil Shapiro
5ec584e8c3 Update notes after sendmail 8.13.1 import 2004-08-01 01:18:40 +00:00
Gregory Neil Shapiro
bfb62e91d7 Resolve conflicts from sendmail 8.13.1 import 2004-08-01 01:16:16 +00:00
Gregory Neil Shapiro
e92d3f3ffe Import sendmail 8.13.1 2004-08-01 01:04:57 +00:00
Gregory Neil Shapiro
6b3455a766 This commit was generated by cvs2svn to compensate for changes in r132943,
which included commits to RCS files with non-trunk default branches.
2004-08-01 01:04:57 +00:00
Ruslan Ermilov
abcbe24601 Sync with FSF. 2004-07-30 08:14:00 +00:00
Ruslan Ermilov
e4bda9ead6 Pull up latest mdoc(7) changes:
: 2004-05-10  Werner LEMBERG  <wl@gnu.org>
:
: 	* tmac/doc-syms (doc-str-Lb-libposix, doc-str-Lb-libpthread,
: 	doc-str-Lb-librt): Reset font.
: 	(Lb): Rename `doc-str-Lb' to `doc-str-Lb1'.
: 	Provide `doc-str-Lb' to reset font.
: 	* tmac/groff_mdoc.man: Updated.

: 2004-07-08  Thomas Klausner  <wiz@netbsd.org>
:
: 	* tmac/doc-syms (doc-str-St--p1003.1-2004): New string.
: 	* tmac/groff_mdoc.man: Updated.
2004-07-30 08:12:09 +00:00
Ruslan Ermilov
001a0cba02 This commit was generated by cvs2svn to compensate for changes in r132873,
which included commits to RCS files with non-trunk default branches.
2004-07-30 08:12:09 +00:00
Alexander Kabaev
dfa9c64b20 Remove obsolete ASM_FINAL_SPEC definition.
Reported by:	green
2004-07-29 21:49:34 +00:00
Alexander Kabaev
e4d548aae3 Allow GCC to recognize -fformat-extensions flag. 2004-07-29 02:04:58 +00:00
Maxime Henrion
b61cbc55fe Remove an empty default: case to please GCC 3.4.2. 2004-07-28 14:21:25 +00:00
Alexander Kabaev
14046059e1 Add missing () to function invocation. 2004-07-28 05:37:18 +00:00
Alexander Kabaev
2cc37f2ca4 Do not use casts as lvalues. 2004-07-28 05:33:58 +00:00
Alexander Kabaev
e46f2ea2ce Merge rev. 1.2 (allow profiling of FORTRAN77 programs) info
GCC 3.4.3-prerelease sources.
2004-07-28 05:08:31 +00:00
Alexander Kabaev
10e9ba0b8b Merge FreeBSD changes into GCC 3.4.2-prerelease:
1.2   Printf format errors fixes.
2004-07-28 05:06:59 +00:00
Alexander Kabaev
110ff012a5 Use stock version of this file now. 2004-07-28 05:03:19 +00:00
Alexander Kabaev
eba800a0ec Update sparc64 MD bits to GCC 3.4.2-prerelease. 2004-07-28 05:00:13 +00:00
Alexander Kabaev
b76a1e10e7 Merge FreeBSD changes into GCC 3.4.2-prerelease:
1.2   Tweaks to make this file live beside our hacked config.
2004-07-28 04:56:54 +00:00
Alexander Kabaev
85336dcfdf Merge r1.10 (-mno-align-long-strings) and r1.11 (make LONG_TYPE_SIZE
overridable from the command line).
2004-07-28 04:49:58 +00:00
Alexander Kabaev
c4471ac9b4 Merge r1.11 (-mno-align-long-strings). 2004-07-28 04:47:35 +00:00
Alexander Kabaev
025f702c81 Update Amd64 MD bits for GCC 3.4.2-prerelease. 2004-07-28 04:44:23 +00:00
Alexander Kabaev
fed81232e9 Update i386 MD bits for GCC 3.4.2-prerelease. 2004-07-28 04:41:42 +00:00
Alexander Kabaev
cd778f4053 Update Alpha config MD bits for GCC 3.4.2-prerelease. 2004-07-28 04:39:15 +00:00
Alexander Kabaev
7217bc1ccb Merge FreeBSD modifications into gcc 3.4.2-prerelease:
1.8 Change symbol values to match freebsd.h.
2004-07-28 04:35:51 +00:00
Alexander Kabaev
9e7f3a944a Update MI config bits for GCC 3.4.2-prerelease. 2004-07-28 04:34:05 +00:00
Alexander Kabaev
4fc9ee4449 Update for GCC 3.4.2. Bump __FreeBSD_cc_version_ and use correct ELF
interpreter on FreeBSD 5.x series.
2004-07-28 04:31:47 +00:00
Alexander Kabaev
6a664e83d1 Merge FreeBSD modifications into gcc 3.4.2-prerelease:
1.2   Localize the version string.
2004-07-28 04:27:06 +00:00
Alexander Kabaev
c123cd5f1d -O0 -O1 should optimize alignment for time, not size. Moved from toplev.c. 2004-07-28 04:23:38 +00:00
Alexander Kabaev
d483803cd9 Merge FreeBSD modifications into gcc 3.4.2-prelelease:
1.2  -fformat-extensions.

Remove r1.7 (FORCE_OPTIMIZATION_DOWNGRADE knob for Alpha) as obsolete.
Move r1.14 (-O0 -O1 optimize alignment for time, not size) to opts.c.
2004-07-28 04:20:36 +00:00
Alexander Kabaev
4babd86df3 Merge FreeBSD modifications into gcc 3.4.2-prerelease:
1.{2,15}      FREEBSD_NATIVE.
  1.21          "GCC_OPTIONS".
  1.{16,25,27}  Cross-compiling issues.
  1.38		Correct priority for GCC_EXEC_PREFIX.
2004-07-28 04:05:09 +00:00
Alexander Kabaev
8e87f3b2bd Merge FreeBSD changes into GCC 3.4.2-prerelease.
1.19	Fix -mprofiler-epilogue on i386.
2004-07-28 04:01:01 +00:00
Alexander Kabaev
38f88cafa3 Merge FreeBSD modifications into gcc 3.4.2-prerelease:
1.2 -fformat-extensions.
  1.3 -printf0
  1.6 teach GCC about %y for DDB.
2004-07-28 03:57:21 +00:00
Alexander Kabaev
7073af4071 Use stock version of this file.
Revision 1.3 to suppress warnings on K&R main is not useful anymore
since GCC suppresses such warnings unconditionally now.
2004-07-28 03:53:20 +00:00
Alexander Kabaev
42eb4c1088 Merge FreeBSD modifications into gcc 3.4.2-prerelease:
1.2   framework for our kernel printf enhancements.
  1.3   suppress prototype warnings on K&R main.

Both flag variables declared here were disconnected through the 5-current
lifetime and are retained here for backwards compatibility reasons only.
2004-07-28 03:46:02 +00:00
Alexander Kabaev
48b98bbb98 Merge FreeBSD changes into GCC 3.4.2-prerelease.
r1.18: Move FreeBSD specific flag variables from c-decl.c here.
2004-07-28 03:40:54 +00:00
Alexander Kabaev
f246de45e2 Use stock GCC versions on these files. 2004-07-28 03:36:15 +00:00
Alexander Kabaev
51f69158b7 Gcc 3.4.2 20040728 libf2c bits. 2004-07-28 03:12:14 +00:00
Alexander Kabaev
dc9e31f400 This commit was generated by cvs2svn to compensate for changes in r132724,
which included commits to RCS files with non-trunk default branches.
2004-07-28 03:12:14 +00:00
Alexander Kabaev
4a883d1141 Gcc 3.4.2 20040728 Objective C support bits. 2004-07-28 03:12:12 +00:00
Alexander Kabaev
4bff0b416d This commit was generated by cvs2svn to compensate for changes in r132722,
which included commits to RCS files with non-trunk default branches.
2004-07-28 03:12:12 +00:00
Alexander Kabaev
ffeaf689a2 Gcc 3.4.2 20040728 C++ support bits. 2004-07-28 03:12:05 +00:00
Alexander Kabaev
f28ffc6b56 This commit was generated by cvs2svn to compensate for changes in r132720,
which included commits to RCS files with non-trunk default branches.
2004-07-28 03:12:05 +00:00
Alexander Kabaev
9a63ad9273 Gcc 3.4.2 20040728. 2004-07-28 03:11:36 +00:00
Alexander Kabaev
4609cf73ba This commit was generated by cvs2svn to compensate for changes in r132718,
which included commits to RCS files with non-trunk default branches.
2004-07-28 03:11:36 +00:00
Dag-Erling Smørgrav
fca836e3e4 This file was removed from the OpenPAM distribution in December, 2002. 2004-07-27 10:15:55 +00:00
Dag-Erling Smørgrav
38d65ea960 This commit was generated by cvs2svn to compensate for changes in r132691,
which included commits to RCS files with non-trunk default branches.
2004-07-27 10:15:55 +00:00
Marcel Moolenaar
4fd6e2a0c9 Various improvements for ia64:
o  s/TARGET_XFER_DIRTY/NATIVE_XFER_DIRTY/g to be conformant,
o  Handle TARGET_OBJECT_DIRTY for core files. Required on Linux,
o  Replace ia64_fbsd_supply_fpregs() and ia64_fbsd_supply_gregs()
   with supply_fpregset() and supply_gregset() resp. Needed to
   support libthread_db.
o  For target_read_partial(), pass the address of bspstore as the
   annex instead of bspstore itself. This fixes crossbuilds. The
   annex is a pointer, while bspstore is a ULONGEST.
o  In ia64_frame_prev_register(), handle dirty stacked registers.
2004-07-27 03:54:16 +00:00
Ollivier Robert
5e91a9b700 The following patch has been taken from the ntp-stable vendor branch.
Put everything OpenSSL related between #ifdef OPENSSL..#endif.

This also fixes bugs #252, #275 & #293.

See
<http://ntp.bkbits.net:8080/ntp-stable/hist/util/ntp-keygen.c?nav=index.html|src/+|src/util>
for reference.

Submitted by:	Marius Strobl <marius@alchemy.franken.de>
2004-07-22 09:16:04 +00:00
Ollivier Robert
afe2c78208 This commit was generated by cvs2svn to compensate for changes in r132536,
which included commits to RCS files with non-trunk default branches.
2004-07-22 09:16:04 +00:00
Ollivier Robert
a6feea2410 Remove an extra '}'. 2004-07-20 15:51:00 +00:00
Ollivier Robert
95d51a965d Update information on build/import. 2004-07-20 15:25:19 +00:00
Ollivier Robert
f0adf7f5cd Merge conflicts.
Lots of added files, some removed and quite a large number of renames :(
2004-07-20 15:19:51 +00:00
Ollivier Robert
4a0fa52fa0 Merge conflicts (see also previous commit).
Reinsert our local changes to ntp_control.c:

1.4:    Do not log every potential exploit attempt since a denial-of-service
        may result
1.5:    int -> unsigned char fixes
2004-07-20 15:18:31 +00:00
Ollivier Robert
9ab5ee2e96 Revert this file to the vendor version, we don't need to have our own
version of it.  Will help further upgrades.
2004-07-20 15:15:00 +00:00
Ollivier Robert
9c2daa00c2 Virgin import of ntpd 4.2.0 2004-07-20 15:01:56 +00:00
Ollivier Robert
3e986f5ba8 This commit was generated by cvs2svn to compensate for changes in r132451,
which included commits to RCS files with non-trunk default branches.
2004-07-20 15:01:56 +00:00
Marcel Moolenaar
a2d5bce4ea This file was not used to import gdb. Remove. 2004-07-19 00:20:33 +00:00
Boris Popov
6fd05b64b5 Use correct location for nsmb.conf file.
PR:	misc/45273
2004-07-17 14:38:42 +00:00
Alfred Perlstein
67fd4fce29 document the 'I' and 't' commands in the help screen in top(1).
Submitted by: Alex Vasylenko lxv omut.org
2004-07-12 15:22:44 +00:00
Alfred Perlstein
3911ee527b Make 'S' in interactive mode toggle display of system processes. 2004-07-12 03:00:50 +00:00
Mark Peek
740d776031 Add the nls/*/charset files to the exclude list. These files are not needed
and only provide comments in the text NLS files.
2004-07-11 02:20:52 +00:00
Mark Peek
b2d5d167ed Import of tcsh-6.13.00 2004-07-11 02:17:56 +00:00
Mark Peek
ed620727e2 This commit was generated by cvs2svn to compensate for changes in r131962,
which included commits to RCS files with non-trunk default branches.
2004-07-11 02:17:56 +00:00
Giorgos Keramidas
26b2243ae7 Build upon the nice work of Alfred and add sorting capabilities to
the -m "io" mode of top.

Approved by:	alfred
2004-07-08 16:45:55 +00:00
Hartmut Brandt
ce3b9cfbd9 Virgin import of NgATM user part 1.0 2004-07-08 16:38:36 +00:00
Hartmut Brandt
4d36cbff53 This commit was generated by cvs2svn to compensate for changes in r131823,
which included commits to RCS files with non-trunk default branches.
2004-07-08 16:38:36 +00:00
David E. O'Brien
e74f71ff7f Import of Binutils from the FSF 2.15 branch (just post-.0 release).
These bits are taken from the FSF anoncvs repo on 23-May-2004 04:41:00 UTC.
2004-07-06 19:16:23 +00:00
David E. O'Brien
3cc52aa5e0 This commit was generated by cvs2svn to compensate for changes in r131722,
which included commits to RCS files with non-trunk default branches.
2004-07-06 19:16:23 +00:00
Dag-Erling Smørgrav
9d617478bd Fix a number of incorrect assumptions regarding the size of time_t.
The code has its own TIME type, which is actually defined to time_t,
but it still used u_int32_t in some places.

In addition, dhclient not only had two separate global cur_time
variables, one of which was defined as u_int32_t and the other as
TIME, but cur_time was sometimes shadowed by local variables, leading
to widespread confusion as to which of these variable was being
referenced.

There is a lesson in here somewhere: a decent compiler with warnings
enabled should have caught all of this long before it became a
problem.

This patch has been submitted to the vendor, but it will likely be
some time before they release a version that includes it.

Approved by:	mbr
2004-07-06 15:15:14 +00:00
Martin Blapp
f5aa5bd51b Readd accidently deleted file. 2004-07-06 14:14:26 +00:00
Martin Blapp
cef9241945 Check if dirmask' is a member of pcfs_args_t'.
A diff to the autoconf aux-files has been submitted to
the amd people.

PR:		57401
Submitted by:	Andre Albsmeier <andre.albsmeier@siemens.com>
2004-07-06 13:44:14 +00:00
Martin Blapp
472c8565d6 Resolve conflicts for am-utils-6.0-10p1 (am-utils-6.0-20040513)
import:

- Fix typo in amd/nfs_prot_svc.c
- Manpage change in scripts/amd.conf.5
- Remove unneeded configure files
- Remove unneeded m4/macros
2004-07-06 13:16:49 +00:00
Martin Blapp
aeaacd1b8e This commit was generated by cvs2svn to compensate for changes in r131702,
which included commits to RCS files with non-trunk default branches.
2004-07-06 12:55:44 +00:00
Martin Blapp
9b16c3abd4 Virgin import of AMD (am-utils) v6.0.10p1 2004-07-06 12:55:44 +00:00
Martin Blapp
9ad99e2232 Add some unneeded files to the Xlist in preparation for the new
amd import.
2004-07-06 12:52:27 +00:00
Dag-Erling Smørgrav
8290e396fb Add an "iso8601" option keyword which causes 'cvs log' etc. to print
dates in ISO 8601 format.

Approved by:	peter
MFC after:	2 weeks
2004-07-06 08:10:38 +00:00
Tim J. Robbins
0fae4ec844 Use va_copy instead of __va_copy, which is not defined on most architectures.
Noticed by:	obrien
2004-07-06 07:47:04 +00:00
Andrey A. Chernov
24ad78a2a6 Remove my email & date 2004-07-06 00:33:52 +00:00
Tim J. Robbins
b783dab680 Fix handling of multibyte delimiter characters with the -t option. 2004-07-05 12:40:31 +00:00
Dag-Erling Smørgrav
ba2396cd27 Correct a misleading (cut'n'pasted) comment. 2004-07-05 12:19:53 +00:00
Tim J. Robbins
90a9986844 Remove file no longer present in distribution. 2004-07-03 14:09:42 +00:00
Tim J. Robbins
ffe834a3c3 Update for coreutils. 2004-07-03 02:37:42 +00:00
Tim J. Robbins
f4b1cb3447 Add support for multi-byte character sets.
Obtained from:	Mitsuru Chinen (IBM) via The Fedora Project
2004-07-02 11:07:42 +00:00
Tim J. Robbins
b2f0b413cb Resolve conflicts. 2004-07-02 09:27:09 +00:00
Tim J. Robbins
38f6f12285 Import of GNU sort from coreutils 5.2.1 (trimmed) 2004-07-02 09:18:31 +00:00
Tim J. Robbins
0f69c78ac2 This commit was generated by cvs2svn to compensate for changes in r131447,
which included commits to RCS files with non-trunk default branches.
2004-07-02 09:18:31 +00:00
Alfred Perlstein
db6bb7fc01 New feature, provide a display that shows the amount of IO processes
are doing.  Toggle this mode by hitting "m" or passing the command line
option "-m io" to top(1).  This allows one to identify disk bandwidth
hogs much easier.
2004-07-01 09:12:38 +00:00
Martin Blapp
2b60cbcd6d Document the 64bit time_t fix. 2004-06-26 23:19:40 +00:00
Martin Blapp
31971694b8 Use int32_t to convert the leasetime to fix support for platforms
where time_t is 64-bit.

Submitted by:   des
2004-06-26 23:17:27 +00:00
Martin Blapp
e184bd9576 Our dhclient-script fails to update /etc/resolv.conf if no new
domain name is given and /etc/resolv.conf doesn't exist. Fix this
by using -f (force).

Assigned to ISC as ISC-Bugs #11570

PR:		bin/67613
Submitted by:	Nikos Ntarmos <ntarmos@ceid.upatras.gr>
2004-06-26 10:47:38 +00:00
Martin Blapp
982a2c980e Resolve conflicts. 2004-06-26 10:37:42 +00:00
Martin Blapp
a838a2f0bb Import ISC DHCP 3.0.1 RC14 client. 2004-06-26 10:34:24 +00:00
Martin Blapp
9561f9f36e This commit was generated by cvs2svn to compensate for changes in r131136,
which included commits to RCS files with non-trunk default branches.
2004-06-26 10:34:24 +00:00
Marcel Moolenaar
9a067406de Remove fbsd-thread.o, it's not for consumption yet. 2004-06-25 22:57:56 +00:00
Marcel Moolenaar
fd10b3fb49 Update HEAD with support for ia64. 2004-06-25 05:37:08 +00:00
Marcel Moolenaar
f200cb78cf This commit was generated by cvs2svn to compensate for changes in r131082,
which included commits to RCS files with non-trunk default branches.
2004-06-25 05:19:25 +00:00
Marcel Moolenaar
f8c1b85b49 Add support for ia64. This code will be contributed to GDB as soon
as the legal prerequisites are met. To avoid future merge conflicts,
this is added to the vendor branch. The changes are seperately kept
in FREEBSD-diffs for easy reference.
2004-06-25 05:19:25 +00:00
Marcel Moolenaar
45d6662f23 Update the upgrade instructions. 2004-06-25 05:04:09 +00:00
Darren Reed
0076f43158 Committ changes from 3.4.31 -> 3.4.35
* fix bug parsing port comparisons in proxy rules
* make parsing errors in ipf/ipnat return an error rather than return
  indicating success.
* make parsing errors in ipf/ipnat return an error rather than return
  indicating success.
* make ipfstat work as a set{g,u}id thing - gave up privs before opening
  /dev/ipl
* fix ipfstat -A
* make "ipfstat -f" output more informative
* various changes to ipsend for sending packets with ipv4 options
* ipmon was not correctly calculating the length of the IPv6 packet (excluded
  ipv6 header length)

MFC:	1 week
2004-06-21 22:53:03 +00:00
Darren Reed
dfb9a48c69 Import ipfilter 3.4.35 onto vendor branch 2004-06-21 22:47:51 +00:00
Darren Reed
0338547942 This commit was generated by cvs2svn to compensate for changes in r130887,
which included commits to RCS files with non-trunk default branches.
2004-06-21 22:47:51 +00:00
Marcel Moolenaar
cb4214d848 Remove from HEAD, that what is not on the vendor branch anymore. 2004-06-20 20:40:44 +00:00
Marcel Moolenaar
47184b5ed9 Revive files which were pulled from the vendor branch only to be
removed on HEAD, but which are part of the GDB 6.1.1 import. This
makes HEAD identical to the vendor branch, for better or for
worse.
2004-06-20 20:36:15 +00:00
Marcel Moolenaar
c07ff117d2 Update to GDB 6.1.1. These files are identical to the vendor branch. 2004-06-20 19:47:29 +00:00
Marcel Moolenaar
18576197aa Update to match the GDB 6.1.1 import. 2004-06-20 19:15:58 +00:00
Marcel Moolenaar
fa833e1ed7 Remove files from the vendor branch that are not part of the GDB 6.1.1
import.
2004-06-20 19:05:30 +00:00
Marcel Moolenaar
281ad6bf75 This commit was generated by cvs2svn to compensate for changes in r130805,
which included commits to RCS files with non-trunk default branches.
2004-06-20 19:05:30 +00:00
Marcel Moolenaar
f759f84884 Import of GDB version 6.1.1 (stripped; see FREEBSD-Xlist rev. 1.6). 2004-06-20 18:26:14 +00:00
Marcel Moolenaar
e8077c0e5b This commit was generated by cvs2svn to compensate for changes in r130803,
which included commits to RCS files with non-trunk default branches.
2004-06-20 18:26:14 +00:00
Maxime Henrion
56cb1e8cca Re-add the code to automatically load the smbfs.ko module if necessary.
We can't realy on the mount(2) system call to do it for us here because
smb_lib_init() needs the module and we call it before mount().  The old
code has been slightly modified to not use the getvfsent(3) API which
is now retired.

Noticed by:     many
2004-06-20 14:30:33 +00:00
Marcel Moolenaar
9706b0c96f This file was not part of the GDB 5.2.1 import and should have been
deleted from the vendor branch.
2004-06-20 02:30:48 +00:00
Marcel Moolenaar
4d359ceaf0 This file was not part of the GDB 5.2.1 import and should have been
deleted from the vendor branch.
2004-06-20 01:55:44 +00:00
David E. O'Brien
255eea9a74 Grrr. our rev 1.19 (FSF GCC rev 1.579) is causing some problems on 32-bit
systems.  So only use the rev 1.19 (FSF GCC rev 1.579) change on 64-bit
systems.
2004-06-19 20:40:00 +00:00
Lukas Ertl
7d475e356f Fine-tune the last change even more and use the return value as error
indicator, as it is expected.

Spotted by: Christoph Mallon <christoph.mallon@gmx.de>
2004-06-19 19:03:01 +00:00
Marcel Moolenaar
fdedc45ff6 This file was not part of the GDB 5.2.1 import and should have been
deleted from the vendor branch.
2004-06-19 15:43:52 +00:00
Lukas Ertl
8c0c5d04b0 Don't return NULL when the function is defined to return an integer.
OK'ed by: tjr
2004-06-19 10:09:44 +00:00
David E. O'Brien
a3bfe8fd89 Merge FSF GCC rev 1.579 change ((x86_output_mi_thunk): Don't pass MEM to
%P0, just SYMBOL_REF) into GCC 3.3.3.  This fixes the bad C++ thunks code
generation building Firefox on AMD64.

Submitted by:	Sean McNeil <sean@mcneil.com>
2004-06-19 07:29:04 +00:00
Marcel Moolenaar
90184f6712 This file has been removed from HEAD when it should (also) have been
removed from the vendor branch.
2004-06-19 03:39:16 +00:00
Marcel Moolenaar
f2d7e86a8a This file is not part of GDB 5.2.1, but was off the vendor branch. 2004-06-18 06:10:13 +00:00
Marcel Moolenaar
7c909649fa Revert local changes. 2004-06-18 05:57:05 +00:00
Marcel Moolenaar
a49a3b3d09 This file is not part of GDB 5.2.1 and is also off the vendor branch.
It was removed on 2001-11-07, according to ChangeLog.
2004-06-18 04:57:26 +00:00
Max Laier
4238db7522 Fix printing of u_int64_t with a cast to unsigned long long.
Found-by:	tinderbox(amd64)
2004-06-17 15:23:51 +00:00
Max Laier
22ac3ead26 Commit userland part of pf version 3.5 from OpenBSD (OPENBSD_3_5_BASE). 2004-06-16 23:39:33 +00:00
Max Laier
abff386833 Import userland of pf 3.5 from OpenBSD (OPENBSD_3_5_BASE). 2004-06-16 23:26:00 +00:00
Max Laier
24b10b46ce This commit was generated by cvs2svn to compensate for changes in r130614,
which included commits to RCS files with non-trunk default branches.
2004-06-16 23:26:00 +00:00
David E. O'Brien
6c81463f56 Update HEAD with the stock binutils_2_15_20040523 file. 2004-06-16 06:55:49 +00:00
David E. O'Brien
0389a508e2 Blah, these came back. Use a bigger hammer. 2004-06-16 06:14:51 +00:00
David E. O'Brien
b543ed2b74 Merge rev 1.2 (configuration changes to support FreeBSD) into Binutils 2.15. 2004-06-16 06:13:06 +00:00
David E. O'Brien
a7c7527613 Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints) into
Binutils 2.15.
2004-06-16 06:09:06 +00:00
David E. O'Brien
56f1abf2e4 Merge rev 1.2 (FreeBSD a.out configuration support) into Binutils 2.15. 2004-06-16 06:03:34 +00:00
David E. O'Brien
3358ced985 Merge our ELF branding into Binutils 2.15. 2004-06-16 06:02:14 +00:00
David E. O'Brien
da03bc7002 Import of Binutils from the FSF 2.15 branch (just post-.0 release).
These bits are taken from the FSF anoncvs repo on 23-May-2004 04:41:00 UTC.
2004-06-16 05:45:41 +00:00
David E. O'Brien
ad6e3f2b73 This commit was generated by cvs2svn to compensate for changes in r130561,
which included commits to RCS files with non-trunk default branches.
2004-06-16 05:45:41 +00:00
Ruslan Ermilov
cf607fd656 From ChangeLog:
: 2004-06-10  Colin Percival  <colin.percival@wadham.ox.ac.uk>
: 	* doc/meintro.me, doc/meref.me: Don't use \*[td], \n[dy], \*[mo],
: 	and \n[mo] to avoid dependency on current date.
2004-06-14 09:09:06 +00:00
Ruslan Ermilov
89e04eca44 This commit was generated by cvs2svn to compensate for changes in r130457,
which included commits to RCS files with non-trunk default branches.
2004-06-14 09:09:06 +00:00
Peter Wemm
c21444aae2 Merge 1.11.15+ -> 1.11.17 changes onto mainline. I've left cvs.1 alone
for now.
2004-06-10 19:12:50 +00:00
Peter Wemm
1df53a9a3f This commit was generated by cvs2svn to compensate for changes in r130303,
which included commits to RCS files with non-trunk default branches.
2004-06-10 19:05:38 +00:00
Peter Wemm
83c36f7f98 Import cvs-1.11.17 onto vendor branch. 2004-06-10 19:05:38 +00:00
Dag-Erling Smørgrav
782de70aff The list of files / directories to remove has moved to FREEBSD-Xlist. 2004-06-09 20:51:26 +00:00
Dag-Erling Smørgrav
4abf92e4b8 List of files and directories to delete before importing a new release. 2004-06-09 20:14:53 +00:00
Max Laier
abbfafd2e3 FreeBSD-ify the manpage. Our inetd does not support bind-address:port syntax
Christian will follow up with some additional words about how to protect
this from the outside world.

Submitted-by:	brueffer
Approved-by:	bms(mentor)
2004-05-27 23:51:05 +00:00
Dag-Erling Smørgrav
62fcc3d3d0 Merge updated patch from vendor branch (1.1.1.17) 2004-05-20 13:17:16 +00:00
Dag-Erling Smørgrav
b0e9f4d203 The previous commit broke compatibility with certain buggy third-party
CVS clients.  This commit fixes that and brings this file up-to-date
with CVS 1.1.16.

Obtained from:	ccvs.cvshome.org
2004-05-20 13:11:32 +00:00
Dag-Erling Smørgrav
ab203c2d8c Merge parser fix from vendor branch (rev 1.1.1.16) 2004-05-19 06:21:56 +00:00
Dag-Erling Smørgrav
f6fb3b4a3a Fix a couple of parser bugs. 2004-05-19 06:11:44 +00:00
Martin Blapp
cdf6449a93 Add a list of all local changed files. All these files have been taken
of the vendor tree.
2004-05-14 13:29:48 +00:00
Martin Blapp
8f6ee9c9d5 We don't need these files. Add the to the x-list. 2004-05-14 13:28:37 +00:00
Marius Strobl
9d80ef9bb5 Remove the GNU patch(1) sources that were committed to HEAD.
Approved by:	ache, cvs, ru
MFC after:	2 weeks
2004-04-30 20:35:24 +00:00
Mike Heffner
7e475d60f5 Import the latest (4/26/04) CVS lukemftp. This adds the ability to
have a prefix string on the progressbar and brings in a patch by mux@
to fix the condition when connect() returns EINTR.

Requested by:	     mux
2004-04-27 00:31:36 +00:00
Mike Heffner
16cc290be0 This commit was generated by cvs2svn to compensate for changes in r128671,
which included commits to RCS files with non-trunk default branches.
2004-04-27 00:31:36 +00:00
Max Laier
1abe035580 FreeBSD-if .4 manpages for pf/pflog/pfsync.
PR:		docs/65687
Submitted by:	Sergey Matveychuk
Approved by:	bms(mentor)
2004-04-18 13:59:12 +00:00
Pierre Beyssac
bc5cfff933 Check -s option source address for validity.
PR:		bin/29026
MFC after:	1 week
2004-04-17 18:44:23 +00:00
Tim J. Robbins
1ede161574 Merge vendor changes onto mainline. 2004-04-17 07:24:09 +00:00
Tim J. Robbins
d9872da232 This commit was generated by cvs2svn to compensate for changes in r128345,
which included commits to RCS files with non-trunk default branches.
2004-04-17 07:16:34 +00:00
Tim J. Robbins
000ba3e819 Import less v381. 2004-04-17 07:16:34 +00:00
Ruslan Ermilov
5f383c5de8 Pull up latest mdoc(7) changes. 2004-04-16 07:12:38 +00:00
Ruslan Ermilov
b1725c05e9 Pull up latest mdoc(7) changes:
: 2004-04-14  Thomas Klausner <wiz@netbsd.org>
:
: 	* tmac/doc-common (doc-volume-as-*): Use lowercase names.
: 	(doc-operating-system-*): Updated.
: 	* tmac/doc-syms (doc-str-St-*): Various small fixes.
: 	(doc-str-Lb-*): Add more library names.
2004-04-16 07:08:33 +00:00
Peter Wemm
9dc16a5e25 Change WriteTemplate to take const char * args.
The Name_Root() call seems to be defunct, remove it because it was
causing compile problems.  The real magic seems to be in the Parse_Info()
callback (which was also updated for const char * args).
2004-04-15 01:41:05 +00:00
Peter Wemm
091764700c Fix merge typo. Add missing ",". 2004-04-15 01:31:28 +00:00
Peter Wemm
e9701b59b1 File removed from vendor branch 2004-04-15 01:19:11 +00:00
Peter Wemm
36b42f0be0 This commit was generated by cvs2svn to compensate for changes in r128270,
which included commits to RCS files with non-trunk default branches.
2004-04-15 01:19:11 +00:00
Peter Wemm
25773c5448 Initial merge of cvs-1.11.5 -> 1.11.15 changes onto mainline 2004-04-15 01:17:28 +00:00
Peter Wemm
10bfecb8b5 Import cvs-1.11.15 2004-04-15 01:01:56 +00:00
Peter Wemm
edc4a449d1 This commit was generated by cvs2svn to compensate for changes in r128266,
which included commits to RCS files with non-trunk default branches.
2004-04-15 01:01:56 +00:00
Hartmut Brandt
8eecd77ad5 Import of bsnmpd 1.6 2004-04-14 16:20:14 +00:00
Hartmut Brandt
6ccbb635d7 This commit was generated by cvs2svn to compensate for changes in r128237,
which included commits to RCS files with non-trunk default branches.
2004-04-14 16:20:14 +00:00
Maxime Henrion
24449958e4 Sync with other mount_*fs(8) utilities; we don't need to try to
load the smbfs module because the mount(2) syscall will do it
if it's needed.
2004-04-11 21:07:26 +00:00
Gregory Neil Shapiro
6ee3849565 Fix path to rc.sendmail 2004-04-07 05:29:03 +00:00
Jacques Vidrine
2b2b372003 Resolve conflicts after import of Heimdal 0.6.1 libcom_err. 2004-04-03 21:17:01 +00:00
Jacques Vidrine
d2387d42b8 This commit was generated by cvs2svn to compensate for changes in r127804,
which included commits to RCS files with non-trunk default branches.
2004-04-03 21:08:58 +00:00
Jacques Vidrine
f054c1df3f Import libcom_err from Heimdal 0.6.1. 2004-04-03 21:08:58 +00:00
Bruce M Simpson
21f48b73b0 pcap clients should use strlcpy() from the base system libc by default also. 2004-03-31 18:15:37 +00:00
Bruce M Simpson
2a5eb7e1d4 snprintf() and vsnprintf() are part of our base system libc, therefore
pcap should not fall back to its own implementations in the absence of
HAVE_SNPRINTF and HAVE_VSNPRINTF defines when compiled and installed
as part of the world. This should fix builds of pflogd and packages
depending on the base system libpcap.

Reported by:	Andrzej Tobola
2004-03-31 18:14:27 +00:00
Bruce M Simpson
cc391cce11 Merge of tcpdump 3.8.3 from tcpdump.org, with the following caveats:
print-atm.c no longer performs special handling for FORE headers; these
 can no doubt be re-added at a later date.

 print-fr.c is effectively a no-op.

 print-llc.c has had the default_print_unaligned() call removed as
 tcpdump no longer defines this function, however the prototype is still
 present. Suggest we roll in a diff to use print_unknown_data().
2004-03-31 14:57:24 +00:00
Bruce M Simpson
d87e118db2 Correct imported pcap.h for FreeBSD builds. 2004-03-31 10:21:28 +00:00
Bruce M Simpson
5b0fe47811 Import tcpdump 3.8.3, from http://www.tcpdump.org/releases/tcpdump-3.8.3.tar.gz 2004-03-31 09:17:26 +00:00
Bruce M Simpson
87e4d12e4a This commit was generated by cvs2svn to compensate for changes in r127668,
which included commits to RCS files with non-trunk default branches.
2004-03-31 09:17:26 +00:00
Bruce M Simpson
eb9f0330c0 Merge of libpcap 0.8.3 from tcpdump.org. 2004-03-31 09:15:09 +00:00
Bruce M Simpson
feb4ecdbac Import libpcap 0.8.3, from http://www.tcpdump.org/releases/libpcap-0.8.3.tar.gz 2004-03-31 09:07:39 +00:00
Bruce M Simpson
2f9208fff6 This commit was generated by cvs2svn to compensate for changes in r127664,
which included commits to RCS files with non-trunk default branches.
2004-03-31 09:07:39 +00:00
Stefan Eßer
5bf39b8da2 Bring man page back in shape. Many option descriptions lacked the
option name and paramaters they apply to and there was a mix of
formatting methods and styles.

I'm not sure that the description of "nfs_retransmit_counter" is
correct, but it does now at least match what's in -STABLE.
2004-03-24 10:25:24 +00:00
Dag-Erling Smørgrav
d7c5555174 Remove NetBSD's sort(1), which we stopped using two years ago. 2004-03-20 23:27:42 +00:00
David E. O'Brien
3d37d1c75e Play along with the effort to use getopt_long from libc. 2004-03-17 07:58:36 +00:00
David E. O'Brien
d65c9ff559 This commit was generated by cvs2svn to compensate for changes in r127105,
which included commits to RCS files with non-trunk default branches.
2004-03-17 07:58:36 +00:00
David E. O'Brien
a10f530f93 Fix $FreeBSD$ ids. 2004-03-16 17:24:06 +00:00
Max Laier
b83a49e9b9 Fix some style(9) related issues after discussion with/education from bde:
- Add <sys/param.h> and <limits.h> where required (do not depend on other
   headers pulling it in).
 - __dead -> __dead2
 - #if defined() -> #ifdef
 - Remove ugly PRIu64 macros and use %llu w/ (unsigned long long) cast.

All changes looped back to OpenBSD (where applicable) for easier sync in the
future.

Requested by:	bde
Approved by:	bms(mentor)
2004-03-15 13:41:17 +00:00
Dag-Erling Smørgrav
a1dabad0cd MFP4 (#47094): avoid bogus NULL pointer warnings when building with -DDEBUG. 2004-03-11 18:04:03 +00:00
Dag-Erling Smørgrav
0f3f4fca75 This commit was generated by cvs2svn to compensate for changes in r126854,
which included commits to RCS files with non-trunk default branches.
2004-03-11 18:04:03 +00:00
Max Laier
ffe9fd66ee Fix two instances of improper NULL/0 use idetified by the changes lately.
Submitted by:	Patrick Marie
Approved by:	bms(mentor)
2004-03-08 15:19:55 +00:00
Max Laier
23ecd01b79 Add local define of HTONL() as it was decided to protect this by _KERNEL
in <net/pfvar.h>
2004-02-28 18:41:43 +00:00
Max Laier
3178c893b8 Missed those two during the original import. Taken from OpenBSD's util.h
Approved by:	bms(mentor)
2004-02-28 18:35:40 +00:00
Max Laier
6a4fd102a4 This commit was generated by cvs2svn to compensate for changes in r126357,
which included commits to RCS files with non-trunk default branches.
2004-02-28 18:35:40 +00:00
Max Laier
8c8618f5e8 Apply diff from the port.
Rather small diff for the userland (in contrast to the kernel):
 - Some header file location/differences
 - Clean compilation on 64bit arch (identified by bento a long time ago)
 - ALTQ not (yet) available. Leave a switch for patchsets and future ...
 - most files can be used from the vendor branch

Approved by:	bms(in general)
2004-02-28 17:32:53 +00:00
Max Laier
13b9f61009 Vendor import of OpenBSD's pf userland as of OpenBSD 3.4
Approved by: bms(mentor), core(in general)
2004-02-28 16:52:45 +00:00
Max Laier
bfc3fb6cc2 This commit was generated by cvs2svn to compensate for changes in r126353,
which included commits to RCS files with non-trunk default branches.
2004-02-28 16:52:45 +00:00
Tim J. Robbins
8861f1dd53 Merge from NetBSD rev. 1.3 (drochner): Use getifaddrs(3) instead of
SIOCGIFCONF.
2004-02-26 08:49:19 +00:00
Andrey A. Chernov
b3ab6e504b Back out getopt* adding here per maintainer request 2004-02-25 03:10:14 +00:00
Andrey A. Chernov
f63503fcbb Add */lib/getopt* I miss somehow initially. 2004-02-18 18:53:13 +00:00
Andrey A. Chernov
738f8e7150 Remove unneeded files 2004-02-17 03:43:12 +00:00
Andrey A. Chernov
518818386c Remove unneeded files 2004-02-17 03:22:35 +00:00
Andrey A. Chernov
43e192cb49 Remove unneded files 2004-02-17 02:09:53 +00:00
Andrey A. Chernov
5df7f7ae11 Remove unneded files 2004-02-17 01:51:07 +00:00
Andrey A. Chernov
9b727a71d1 Remove unneded files 2004-02-17 01:41:49 +00:00
Andrey A. Chernov
56bab387f1 Remove files no longer needed 2004-02-17 01:20:41 +00:00
Andrey A. Chernov
1f444ae1bb Remove files no longer needed 2004-02-17 01:10:29 +00:00
Andrey A. Chernov
e7c820ec07 Remove files no longer needed 2004-02-17 01:04:18 +00:00
Andrey A. Chernov
0bd7aa5188 getopt_long() returned 0 (i.e. long options) case not handled, add it
(symptom: "bc --quiet" not works while "bc -q" works)
2004-02-17 00:53:50 +00:00
Andrey A. Chernov
af210d1ee6 Remove files no longer needed
Switch back to regex.h
2004-02-16 22:56:36 +00:00
Gregory Neil Shapiro
78ff00619a Update for 8.12.11 import
MFC after:	7 days
2004-02-14 21:59:30 +00:00
Gregory Neil Shapiro
1ae5b8d45c Fix sendmail 8.12.11 import conflicts 2004-02-14 21:58:08 +00:00