History log of /freebsd-10.0-release/contrib/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
276158 23-Dec-2014 des

[SA-14:31] Fix multiple vulnerabilities in NTP suite.
[EN-14:13] Fix directory deletion issue in freebsd-update.

Approved by: so

275854 17-Dec-2014 delphij

Fix unbound remote denial of service vulnerability.

Security: FreeBSD-SA-14:30.unbound
Security: CVE-2014-8602
Approved by: so

275671 10-Dec-2014 delphij

Fix multiple vulnerabilities in file(1) and libmagic(3).

Security: FreeBSD-SA-14:28.file
Security: CVE-2014-3710, CVE-2014-8116, CVE-2014-8117
Approved by: so

274110 04-Nov-2014 des

[SA-14:24] Fix denial of service attack against sshd(8).
[SA-14:25] Fix kernel stack disclosure in setlogin(2) / getlogin(2).
[SA-14:26] Fix remote command execution in ftp(1).
[EN-14:12] Fix NFSv4 and ZFS cache consistency issue.

Approved by: so (des)

273439 22-Oct-2014 delphij

Time zone data file update. [EN-14:10]

Approved by: so

267829 24-Jun-2014 delphij

Fix iconv(3) NULL pointer dereference and out-of-bounds array
access. [SA-14:15]

Fix multiple vulnerabilities in file(1) and libmagic(3).
[SA-14:16]

Worked around bug with PCID implementation. [EN-14:07]

Security: CVE-2014-3951
Security: FreeBSD-SA-14:15.iconv
Security: CVE-2013-7345, CVE-2014-1943, CVE-2014-2270
Security: FreeBSD-SA-14:16.file
Approved by: so

267017 03-Jun-2014 delphij

Fix sendmail improper close-on-exec flag handling. [SA-14:11]

Fix incorrect error handling in PAM policy parser. [SA-14:13]

Fix triple-fault when executing from a threaded process. [EN-14:06]

Approved by: so

260641 14-Jan-2014 delphij

MFS r260639 (MFC r260637):

Disable 'monitor' feature in ntpd by default.

Security: FreeBSD-SA-14:02.ntpd
Approved by: re (gjb)

260640 14-Jan-2014 delphij

MFS r260638 (MFC r260636):

Fix bsnmpd remote denial of service vulnerability.

Reported by: dinoex
Submitted by: harti
Security: FreeBSD-SA-14:01.bsnmpd
Security: CVE-2014-1452
Approved by: re (gjb)

259279 12-Dec-2013 dim

Merge r259216 from stable/10 (head r259111):

Use correct casts in gcc's emmintrin.h for the first arguments of the
following builtin functions:

* __builtin_ia32_pslldi128() takes __v4si instead of __v8hi
* __builtin_ia32_psllqi128() takes __v2di instead of __v8hi
* __builtin_ia32_psradi128() takes __v4si instead of __v8hi

This should fix the following errors when building the LINT kernel with
gcc:

sys/crypto/aesni/aesni_wrap.c:191: error: incompatible type for argument 1 of
'__builtin_ia32_psradi128'
sys/crypto/aesni/aesni_wrap.c:195: error: incompatible type for argument 1 of
'__builtin_ia32_pslldi128'

Approved by: re (glebius)

259278 12-Dec-2013 dim

Merge r259214 from stable/10 (head r259100):

Pull in r196658 from upstream clang trunk:

CodeGen: Don't emit linkage on thunks that aren't emitted because they're
vararg.

This can happen when we're trying to emit a thunk with available_externally
linkage with optimization enabled but bail because it doesn't make sense for
vararg functions.

[LLVM] PR18098.

This should fix clang "Broken module found, compilation aborted" errors when
building the qt4-based dvbcut port.

Reported by: se
Approved by: re (glebius)

259128 09-Dec-2013 gjb

Remove svn:mergeinfo from the releng/10.0 branch.

After branch creation from stable/10, the stable/10 branch mergeinfo
was moved to the root of the branch.

Since there have not been any merges from stable/10 to releng/10.0
yet, we do not need to track any of the existing mergeinfo here.

Merges to releng/10.0 should now be done to the root of the branch.

For future branches during the release cycle, unless otherwise noted,
this change will be done as part of the stable/ and releng/ branch
creation.

Discussed with: peter
Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


/freebsd-10.0-release/MAINTAINERS
/freebsd-10.0-release/Makefile.inc1
/freebsd-10.0-release/ObsoleteFiles.inc
/freebsd-10.0-release/UPDATING
/freebsd-10.0-release/bin/df
/freebsd-10.0-release/bin/freebsd-version
/freebsd-10.0-release/cddl
/freebsd-10.0-release/cddl/contrib/opensolaris
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/print
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/zfs
/freebsd-10.0-release/cddl/contrib/opensolaris/lib/libzfs
apr
apr-util
atf
binutils
bmake
byacc
bzip2
com_err
compiler-rt
dialog
dtc
ee
expat
file
gcc
gdb
gdtoa
groff
ipfilter
ipfilter/ml_ipl.c
ipfilter/mlfk_ipl.c
ipfilter/mlh_rule.c
ipfilter/mli_ipl.c
ipfilter/mln_ipl.c
ipfilter/mls_ipl.c
ldns
less
libarchive
libarchive/cpio
libarchive/libarchive
libarchive/libarchive_fe
libarchive/tar
libc++
libc-vis
libcxxrt
libexecinfo
libpcap
libstdc++
llvm
llvm/tools/clang
mtree
ncurses
netcat
ntp
nvi
one-true-awk
openbsm
openpam
openresolv
pf
sendmail
serf
smbfs
subversion
tcpdump
tcsh
tnftp
top
top/install-sh
tzcode/stdtime
tzcode/zic
tzdata
unbound
wpa
xz
/freebsd-10.0-release/crypto/heimdal
/freebsd-10.0-release/crypto/openssh
/freebsd-10.0-release/crypto/openssl
/freebsd-10.0-release/etc
/freebsd-10.0-release/etc/rc.d
/freebsd-10.0-release/gnu/lib
/freebsd-10.0-release/gnu/usr.bin/binutils
/freebsd-10.0-release/gnu/usr.bin/cc/cc_tools
/freebsd-10.0-release/gnu/usr.bin/gdb
/freebsd-10.0-release/include
/freebsd-10.0-release/lib
/freebsd-10.0-release/lib/libc
/freebsd-10.0-release/lib/libc/stdtime
/freebsd-10.0-release/lib/libc_nonshared
/freebsd-10.0-release/lib/libfetch
/freebsd-10.0-release/lib/libiconv_modules
/freebsd-10.0-release/lib/libsmb
/freebsd-10.0-release/lib/libthr
/freebsd-10.0-release/lib/libutil
/freebsd-10.0-release/lib/libvmmapi
/freebsd-10.0-release/lib/libyaml
/freebsd-10.0-release/lib/libz
/freebsd-10.0-release/release
/freebsd-10.0-release/release/doc
/freebsd-10.0-release/sbin
/freebsd-10.0-release/sbin/camcontrol
/freebsd-10.0-release/sbin/dumpon
/freebsd-10.0-release/sbin/hastd
/freebsd-10.0-release/sbin/ifconfig
/freebsd-10.0-release/sbin/ipfw
/freebsd-10.0-release/sbin/nvmecontrol
/freebsd-10.0-release/share
/freebsd-10.0-release/share/examples/bhyve
/freebsd-10.0-release/share/i18n/csmapper/JIS
/freebsd-10.0-release/share/i18n/esdb/EUC
/freebsd-10.0-release/share/man
/freebsd-10.0-release/share/man/man4
/freebsd-10.0-release/share/man/man4/bhyve.4
/freebsd-10.0-release/share/man/man5
/freebsd-10.0-release/share/man/man7
/freebsd-10.0-release/share/man/man8
/freebsd-10.0-release/share/misc
/freebsd-10.0-release/share/mk
/freebsd-10.0-release/share/mk/bsd.arch.inc.mk
/freebsd-10.0-release/share/syscons
/freebsd-10.0-release/share/zoneinfo
/freebsd-10.0-release/sys
/freebsd-10.0-release/sys/amd64/include/vmm.h
/freebsd-10.0-release/sys/amd64/include/vmm_dev.h
/freebsd-10.0-release/sys/amd64/include/vmm_instruction_emul.h
/freebsd-10.0-release/sys/amd64/include/xen
/freebsd-10.0-release/sys/amd64/vmm
/freebsd-10.0-release/sys/boot
/freebsd-10.0-release/sys/boot/i386/efi
/freebsd-10.0-release/sys/boot/ia64/efi
/freebsd-10.0-release/sys/boot/ia64/ski
/freebsd-10.0-release/sys/boot/powerpc/boot1.chrp
/freebsd-10.0-release/sys/boot/powerpc/ofw
/freebsd-10.0-release/sys/cddl/contrib/opensolaris
/freebsd-10.0-release/sys/conf
/freebsd-10.0-release/sys/contrib/dev/acpica
/freebsd-10.0-release/sys/contrib/dev/acpica/changes.txt
/freebsd-10.0-release/sys/contrib/dev/acpica/common
/freebsd-10.0-release/sys/contrib/dev/acpica/compiler
/freebsd-10.0-release/sys/contrib/dev/acpica/components/debugger
/freebsd-10.0-release/sys/contrib/dev/acpica/components/disassembler
/freebsd-10.0-release/sys/contrib/dev/acpica/components/dispatcher
/freebsd-10.0-release/sys/contrib/dev/acpica/components/events
/freebsd-10.0-release/sys/contrib/dev/acpica/components/executer
/freebsd-10.0-release/sys/contrib/dev/acpica/components/hardware
/freebsd-10.0-release/sys/contrib/dev/acpica/components/namespace
/freebsd-10.0-release/sys/contrib/dev/acpica/components/parser
/freebsd-10.0-release/sys/contrib/dev/acpica/components/resources
/freebsd-10.0-release/sys/contrib/dev/acpica/components/tables
/freebsd-10.0-release/sys/contrib/dev/acpica/components/utilities
/freebsd-10.0-release/sys/contrib/dev/acpica/include
/freebsd-10.0-release/sys/contrib/dev/acpica/os_specific
/freebsd-10.0-release/sys/contrib/ipfilter
/freebsd-10.0-release/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c
/freebsd-10.0-release/sys/contrib/ipfilter/netinet/ip_raudio_pxy.c
/freebsd-10.0-release/sys/contrib/libfdt
/freebsd-10.0-release/sys/contrib/octeon-sdk
/freebsd-10.0-release/sys/contrib/x86emu
/freebsd-10.0-release/sys/dev/bvm
/freebsd-10.0-release/sys/dev/fdt/fdt_ic_if.m
/freebsd-10.0-release/sys/dev/hyperv
/freebsd-10.0-release/sys/modules/hyperv
/freebsd-10.0-release/sys/modules/vmm
/freebsd-10.0-release/sys/x86/include/acpica_machdep.h
/freebsd-10.0-release/tools
/freebsd-10.0-release/tools/build
/freebsd-10.0-release/tools/build/options
/freebsd-10.0-release/tools/tools/atsectl
/freebsd-10.0-release/usr.bin/calendar
/freebsd-10.0-release/usr.bin/csup
/freebsd-10.0-release/usr.bin/iscsictl
/freebsd-10.0-release/usr.bin/procstat
/freebsd-10.0-release/usr.sbin
/freebsd-10.0-release/usr.sbin/bhyve
/freebsd-10.0-release/usr.sbin/bhyvectl
/freebsd-10.0-release/usr.sbin/bhyveload
/freebsd-10.0-release/usr.sbin/bsdconfig
/freebsd-10.0-release/usr.sbin/bsdinstall
/freebsd-10.0-release/usr.sbin/ctladm
/freebsd-10.0-release/usr.sbin/ctld
/freebsd-10.0-release/usr.sbin/freebsd-update
/freebsd-10.0-release/usr.sbin/jail
/freebsd-10.0-release/usr.sbin/mergemaster
/freebsd-10.0-release/usr.sbin/mount_smbfs
/freebsd-10.0-release/usr.sbin/ndiscvt
/freebsd-10.0-release/usr.sbin/pkg
/freebsd-10.0-release/usr.sbin/rtadvctl
/freebsd-10.0-release/usr.sbin/rtadvd
/freebsd-10.0-release/usr.sbin/rtsold
/freebsd-10.0-release/usr.sbin/zic
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

258887 03-Dec-2013 kib

MFC r258663:
Use sysctl KERN_PROC_SIGTRAMP to retrieve the signal trampoline
location for the native amd64 ABI. This fixes unwinding over the
signal frame after trampoline was moved to the shared page.

Approved by: re (gjb)


258747 29-Nov-2013 dim

MFC r258620:

Pull in r195558 from upstream clang trunk:

Fix a SSE2 intrinsics typo

Full discourse at:

http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20131104/092514.html
http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-November/068124.html

Patch by Dimitry Andric and Alexey Dokuchaev!

Reported by: danfe
Approved by: re (gjb)


258655 26-Nov-2013 brooks

MFC r258437:

Sync with NetBSD. The functional change is to make the output when
comparing a directory to an mtree file more compatible with fmtree when
FreeBSD 9 compatiblity mode is on. This output is clearly intended for
humans not computers, but some tools such as mergemaster's -U option rely
on it.

Approved by: re (glebius)


258607 25-Nov-2013 dim

MFC r258350:

Pull in r191896 from upstream llvm trunk:

CaptureTracking: Plug a loophole in the "too many uses" heuristic.

The heuristic was added to avoid spending too much compile time in a
specially crafted test case (PR17461, PR16474) with many uses on a
select or bitcast instruction can still trigger the slow case. Add a
check for that case.

This only affects compile time, don't have a good way to test it.

This fixes the excessive compile time spent on a specific file of the
graphics/rawtherapee port.

Reported by: mandree
Approved by: re (gjb)


258558 25-Nov-2013 emaste

MFC r258426: libexecinfo: Include terminating null in byte count

Otherwise, a formatted string with a strlen equal to the remaining
buffer space would have the last character omitted (because vsnprintf
always null-terminates), and later the assert in backtrace_symbols_fmt
would fail.

Sponsored by: DARPA, AFRL
Approved by: re (gjb)


258231 16-Nov-2013 gjb

MFC r257999 (peter):
Merge nvi-2.1.1 -> 2.1.2

Approved by: re (???)

Sponsored by: The FreeBSD Foundation


258125 14-Nov-2013 glebius

Merge r257888, r258049 from head:

- Use system libiconv, instead of trying to dlopen() it.
- Just disable recoding support in libsmb if built WITHOUT_ICONV.

PR: 183153
Approved by: re (kib)


257697 05-Nov-2013 edwin

MFC of 257681

tzdata2013f
- Jordan goes to winter time on the last Friday in October.
- Tocantins in Brazil will not go into summer time in October.
- Indonesian time zones renames.
- Lots of cleanups in with regarding to links and historical data.

tzdata2013h
- Libya didn't go back to DST.
- Fix Morocco 2038 issue.
- Brazil/Acre and ?Western Amazonas are chaning timezones.

Approved by: re (Gleb)


257327 29-Oct-2013 smh

MFC r257109:
Add clang-CC and CC to list of hints allowing clang to identify its operating
mode as c++ instead of defaulting to c for the binary names CC and clang-CC.

This fixes builds that use cmake which automatically sets CXX to
/usr/bin/CC by default.

PR: bin/182442
Approved by: re (glebius)


257286 28-Oct-2013 cperciva

MFC r257129:
Remove time and date stamps from svn* binaries, in order to make the
builds reproducible.

Approved by: re (glebius)


256996 23-Oct-2013 brooks

MFC r256687:

Upgrade to the latest version of mtree from NetBSD. This revision
re-removes the printing of size for non-regular files, supports
type-less root (.) entries as seen in a couple ports, and corrects a bug
in -N that caused expanded Subversion $FreeBSD$ strings in comments to
be processed as /etc/group entries.

Includes one trivial portability fix (including <stdint.h> in three
files) that has been committed upstream.

Approved by: re (glebius)


256283 10-Oct-2013 gjb

- Remove debugging from GENERIC* kernel configurations
- Enable MALLOC_PRODUCTION
- Default dumpdev=NO
- Remove UPDATING entry regarding debugging features
- Bump __FreeBSD_version to 1000500

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


256112 07-Oct-2013 dim

Add support for assembling and disassembling Intel Random Number
Generator extensions (e.g. the 'rdrand' mnemonic) to our copy of
binutils.

Approved by: re (kib)
Obtained from: OpenBSD, via pfg
MFC after: 1 week


256090 06-Oct-2013 dim

Pull in r192064 from upstream llvm trunk:

X86: Don't fold spills into SSE operations if the stack is unaligned.

Regalloc can emit unaligned spills nowadays, but we can't fold the
spills into SSE ops if we can't guarantee alignment. PR12250.

This fixes unaligned SSE accesses (leading to a SIGBUS) which could
occur in the ffmpeg ports.

Approved by: re (kib)
Reported by: tijl
MFC after: 3 days


256082 06-Oct-2013 decke

ename internal function test() to avoid name clashes with
common macros. This fixes ports like mysql 5.6 which has an
internal macro called test.

Approved by: re (gjb)
Discussed with: theraven


256030 03-Oct-2013 dim

Pull in r189644 from upstream llvm trunk:

Add ms_abi and sysv_abi attribute handling.

Based on a patch by Benno Rice!

This will help to develop EFI support.

Approved by: re (kib)
Verified by: benno
MFC after: 1 week


256024 03-Oct-2013 dim

Pull in r186338 from upstream llvm trunk:

Remove invalid assert in DAGTypeLegalizer::RemapValue

There is a comment at the top of DAGTypeLegalizer::PerformExpensiveChecks
which, in part, says:

// Note that these invariants may not hold momentarily when processing a node:
// the node being processed may be put in a map before being marked Processed.

Unfortunately, this assert would be valid only if the above-mentioned invariant
held unconditionally. This was causing llc to assert when, in fact,
everything was fine.

Thanks to Richard Sandiford for investigating this issue!

Fixes PR16562.

This fixes assertions which could occur in the multimedia/ffmpeg1 and
multimedia/ffmpeg2 ports.

Approved by: re (hrs)
Reported by: Matthias Apitz <guru@unixarea.de>
MFC after: 3 days


255982 02-Oct-2013 emaste

Use correct size for MIPS .rld_map section

On MIPS .dynamic is read-only and so a special section .rld_map is used
to store the pointer to the rtld information for debuggers. This
section had a hard coded size of 4 bytes which is not correct for
mips64. (Note that FreeBSD's rtld does not yet populate .rld_map.)

Sponsored by: DARPA, AFRL
Approved by: re (delphij)


255978 01-Oct-2013 dim

Pull in r191711 from upstream llvm trunk:

The X86FixupLEAs pass for Intel Atom must not call
convertToThreeAddress on ADD16rr opcodes, if src1 != src, since that
would cause convertToThreeAddress to try to create a virtual register.
This is not permitted after register allocation, which is when the
X86FixupLEAs pass runs.

This patch fixes PR16785.

Pull in r191715 from upstream llvm trunk:

Forgot to add a break statement.

This should enable building the x11-toolskits/libXaw port with
CPUTYPE=atom.

Approved by: re (gjb)
Reported by: Kenta Suzumoto <kentas@hush.com>
MFC after: 3 days


255958 30-Sep-2013 dteske

Add missing mergeinfo associated with r255852.

Approved by: re (gjb)


255949 30-Sep-2013 des

Remove BIND.

Approved by: re (gjb)


255931 28-Sep-2013 dim

Fix a bug in ld, where indirect symbols are not handled properly during
linking of a shared library, leading to corrupt indexes in the dynamic
symbol table. This should fix the multimedia/ffmpegthumbnailer port.

Approved by: re (kib)
Reported by: swills
MFC after: 2 weeks


255916 27-Sep-2013 sjg

Fix Fx syntax.

PR: 182269
Approved by: re@


255874 26-Sep-2013 andrew

Add an elf note on ARM to store the MACHINE_ARCH an executable was built
for. This is useful for software needing to know which architecture a
binary is built for as arm and armv6 have slight differences meaning only
some binaries build for one will work as expected on the other. It is
expected pkgng will be able to make use of this to simplify the logic to
determine which package ABI to use.

Approved by: re (kib)


255873 25-Sep-2013 delphij

Correct a NULL pointer deference in nslookup and nsupdate that would
cause the utility to crash in interactive mode when the user gives
an EOF on standard input.

MFC after: 3 days
Approved by: re (gjb)


255852 24-Sep-2013 dteske

Update dialog to 1.2-20130923.

Approved by: re (marius)


255840 24-Sep-2013 des

Regenerate

Approved by: re (blanket)


255839 24-Sep-2013 des

Regenerate the configure script before running it.
Set the default config file to /var/unbound/unbound.conf.

Approved by: re (blanket)


255838 24-Sep-2013 des

Don't include the build date or command-line arguments in the binary.

Approved by: re (blanket)


255815 23-Sep-2013 theraven

Import a new libcxxrt. This fixes some potential crashing in the demangler.

Approved by: re (gjb)
MFC after: 1 week


255804 22-Sep-2013 dim

Pull in r191165 from upstream llvm trunk:

ISelDAG: spot chain cycles involving MachineNodes

Previously, the DAGISel function WalkChainUsers was spotting that it
had entered already-selected territory by whether a node was a
MachineNode (amongst other things). Since it's fairly common practice
to insert MachineNodes during ISelLowering, this was not the correct
check.

Looking around, it seems that other nodes get their NodeId set to -1
upon selection, so this makes sure the same thing happens to all
MachineNodes and uses that characteristic to determine whether we
should stop looking for a loop during selection.

This should fix PR15840.

Specifically, this fixes the long-standing assertion failure when
compiling the multimedia/gstreamer port on i386. Thanks to Tijl
Coosemans for his help in getting upstream to fix it.

Approved by: re (marius)


255801 22-Sep-2013 des

Build and install drill(1).

Approved by: re (blanket)


255795 22-Sep-2013 des

Due to a missing command-line argument, yacc regenerated the parser but
not its header file, resulting in a mismatch between the lexer and parser
and strange errors when reading the configuration file.

Approved by: re (blanket)


255780 21-Sep-2013 des

Remove autoprops.

Approved by: re (blanket)


255779 21-Sep-2013 des

Set props and correct RCS ID tag.

Approved by: re (blanket)


255762 21-Sep-2013 cy

Remove redundant files.

Approved by: glebius (mentor)
Approved by: re (blanket)


255761 21-Sep-2013 cy

Check return code from inet_pton.

Discovered by: Coverity.
Approved by: glebius (mentor)
Approved by: re (blanket)


255721 20-Sep-2013 emaste

Disable LLDB OSX ABI plugin

Approved by: re (blanket)


255682 19-Sep-2013 emaste

Merge lldb man page from r188801 to contrib/llvm/tools/lldb/docs/

Approved by: re (gjb)


255600 15-Sep-2013 des

Remove duplicate function declaration.

Approved by: re (blanket)


255599 15-Sep-2013 des

The Unbound developers have never met a pointer game they didn't like.
Fix needless deconsting.

Approved by: re (blanket)


255595 15-Sep-2013 des

Previous commit accidentally left out the umask change.

Approved by: re (blanket)


255594 15-Sep-2013 des

Set the correct prefix and exec-prefix.

Approved by: re (blanket)


255593 15-Sep-2013 des

Regenerate.

Approved by: re (blanket)


255592 15-Sep-2013 des

The unbound-control-setup script needs to be generated so it knows where
to place the keys. Also, the correct umask is 027, not 026, although it's
not likely to make any difference.

Approved by: re (blanket)


255589 15-Sep-2013 des

Add unbound-control.

Approved by: re (blanket)


255588 15-Sep-2013 des

Final #include tweak.

Approved by: re (blanket)


255586 15-Sep-2013 des

Massive constification + solve an alignment issue by using a union.

Approved by: re (blanket)


255585 15-Sep-2013 des

Add missing #includes and fix some incorrect definitions.

Approved by: re (blanket)


255584 15-Sep-2013 des

Wholesale constification.

Approved by: re (blanket)


255583 15-Sep-2013 des

Move more prototypes around, and remove one that wasn't used.

Approved by: re (blanket)


255582 15-Sep-2013 des

Regenerated lexer and parser

Approved by: re (blanket)


255581 15-Sep-2013 des

Generated configuration and documentation

Approved by: re (blanket)


255580 15-Sep-2013 des

Forgotten in r255579: #include fixes.

Approved by: re (blanket)


255579 15-Sep-2013 des

Numerous fixes to make Unbound compile cleanly:

- cast through void * to silence alignment warnings (presumably false
positives resulting from poor API design)

- constify a few function arguments

- move prototypes for callbacks into a common header

- now that the prototypes are in scope, fix instances of function
definitions that don't match the prototype or what the caller
actually passes

- hide a conditionally unused global variable behind the same #ifdef
that controls its use

Approved by: re (blanket)


255578 15-Sep-2013 des

Move prototypes into header.

Approved by: re (blanket)


255577 15-Sep-2013 des

Two helper scripts for porting Unbound:

- freebsd-configure.sh runs ./configure with the correct parameters
and regenerates the lex and yacc code.

- freebsd-sources.pl untangles the upstream Makefile and generates
source lists for our Makefiles.

Approved by: re (blanket)


255522 13-Sep-2013 emaste

Improve readelf notes output for Linux ELF files

Add four ELF note constants:
- NT_FILE and NT_SIGINFO (core file notes output by recent Linux kernels)
- NT_GNU_ABI_TAG (was incorrectly reported as NT_VERSION)
- NT_GNU_BUILD_ID (used for locating standalone debug files)

Approved by: re (kib)


255403 08-Sep-2013 des

Import Magerya Vitaly's ldns-host, and build it instead of the BIND version
in the WITH_LDNS_UTILS case.

Approved by: re (blanket)


255393 08-Sep-2013 des

MFV (r255387): undo autoprop damage

Approved by: re (glebius)


255376 07-Sep-2013 des

Update to OpenPAM Nummularia.


255371 07-Sep-2013 des

This was a good idea that never went anywhere.


255369 07-Sep-2013 des

MFV (r255364): move the code around in preparation for Nummularia.


255361 07-Sep-2013 andrew

On ARM EABI double precision floating point values are stored in the
endian the CPU is in, i.e. little-endian on most ARM cores.

This allows ARMv4 and ARMv5 boards to boot with the ARM EABI.


255332 06-Sep-2013 cy

Update ipfilter 4.1.28 --> 5.1.2.

Approved by: glebius (mentor)
BSD Licensed by: Darren Reed <darrenr@reed.wattle.id.au> (author)


255321 06-Sep-2013 theraven

On platforms where clang is the default compiler, don't build gcc or libstdc++.
To enable them, set WITH_GCC and WITH_GNUCXX in src.conf.
Make clang default to using libc++ on FreeBSD 10.
Bumped __FreeBSD_version for the change.

GCC is still enabled on PC98, because the PC98 bootloader requires GCC to build
(or, at least, hard-codes the use of gcc into its build).

Thanks to everyone who helped make the ports tree ready for this (and bapt
for coordinating them all). Also to imp for reviewing this and working on the
forward-porting of the changes in our gcc so that we're getting to a much
better place with regard to external toolchains.

Sorry to all of the people who helped who I forgot to mention by name.

Reviewed by: bapt, imp, dim, ...


255285 06-Sep-2013 sjg

If MAKE_JOB_ERROR_TOKEN is set to false, do not put an error token ("E")
into the job queue.
This avoids closing down an entire build on failure of one branch.
Probably has no use outside the context of universe/tinderbox.

Reviewed by: obrien


255253 05-Sep-2013 sjg

Merge bmake-20130904


255219 05-Sep-2013 pjd

Change the cap_rights_t type from uint64_t to a structure that we can extend
in the future in a backward compatible (API and ABI) way.

The cap_rights_t represents capability rights. We used to use one bit to
represent one right, but we are running out of spare bits. Currently the new
structure provides place for 114 rights (so 50 more than the previous
cap_rights_t), but it is possible to grow the structure to hold at least 285
rights, although we can make it even larger if 285 rights won't be enough.

The structure definition looks like this:

struct cap_rights {
uint64_t cr_rights[CAP_RIGHTS_VERSION + 2];
};

The initial CAP_RIGHTS_VERSION is 0.

The top two bits in the first element of the cr_rights[] array contain total
number of elements in the array - 2. This means if those two bits are equal to
0, we have 2 array elements.

The top two bits in all remaining array elements should be 0.
The next five bits in all array elements contain array index. Only one bit is
used and bit position in this five-bits range defines array index. This means
there can be at most five array elements in the future.

To define new right the CAPRIGHT() macro must be used. The macro takes two
arguments - an array index and a bit to set, eg.

#define CAP_PDKILL CAPRIGHT(1, 0x0000000000000800ULL)

We still support aliases that combine few rights, but the rights have to belong
to the same array element, eg:

#define CAP_LOOKUP CAPRIGHT(0, 0x0000000000000400ULL)
#define CAP_FCHMOD CAPRIGHT(0, 0x0000000000002000ULL)

#define CAP_FCHMODAT (CAP_FCHMOD | CAP_LOOKUP)

There is new API to manage the new cap_rights_t structure:

cap_rights_t *cap_rights_init(cap_rights_t *rights, ...);
void cap_rights_set(cap_rights_t *rights, ...);
void cap_rights_clear(cap_rights_t *rights, ...);
bool cap_rights_is_set(const cap_rights_t *rights, ...);

bool cap_rights_is_valid(const cap_rights_t *rights);
void cap_rights_merge(cap_rights_t *dst, const cap_rights_t *src);
void cap_rights_remove(cap_rights_t *dst, const cap_rights_t *src);
bool cap_rights_contains(const cap_rights_t *big, const cap_rights_t *little);

Capability rights to the cap_rights_init(), cap_rights_set(),
cap_rights_clear() and cap_rights_is_set() functions are provided by
separating them with commas, eg:

cap_rights_t rights;

cap_rights_init(&rights, CAP_READ, CAP_WRITE, CAP_FSTAT);

There is no need to terminate the list of rights, as those functions are
actually macros that take care of the termination, eg:

#define cap_rights_set(rights, ...) \
__cap_rights_set((rights), __VA_ARGS__, 0ULL)
void __cap_rights_set(cap_rights_t *rights, ...);

Thanks to using one bit as an array index we can assert in those functions that
there are no two rights belonging to different array elements provided
together. For example this is illegal and will be detected, because CAP_LOOKUP
belongs to element 0 and CAP_PDKILL to element 1:

cap_rights_init(&rights, CAP_LOOKUP | CAP_PDKILL);

Providing several rights that belongs to the same array's element this way is
correct, but is not advised. It should only be used for aliases definition.

This commit also breaks compatibility with some existing Capsicum system calls,
but I see no other way to do that. This should be fine as Capsicum is still
experimental and this change is not going to 9.x.

Sponsored by: The FreeBSD Foundation


255192 03-Sep-2013 jhb

Add support for the 'invpcid' instruction to binutils and DDB's
disassembler on amd64.

MFC after: 1 month


255185 03-Sep-2013 jmg

add support to gcc for AES and PCLMUL intrinsics... This addes the
-maes option, but not the -mpclmul option as I ran out of bits in
the 32 bit flags field... You can -D__PCLMUL__ to get this, but it
won't be compatible w/ clang and modern gcc...

Reviewed by: -current, -toolchain


255177 03-Sep-2013 emaste

Add svn:keywords property


255176 03-Sep-2013 emaste

Add $FreeBSD$ tag for user-facing header


255127 01-Sep-2013 sjg

Pay attention to errCheck!

PR: 181715


255107 31-Aug-2013 pfg

Add support for the GCC binary integer constants extension.

This is required to build the i965 backend with newer versions of mesa.

Original patch from Joerg Wunsch in GCC Bug 23479, under the GPLv2;
also taken from there in OpenBSD.

Obtained from: gcc 4.3 (rev. 125346; GPLv2)
MFC after: 5 days


255096 31-Aug-2013 andrew

Implement _Unwind_GetIP and _Unwind_GetIPInfo as functions as that is what
we expect on FreeBSD. The implementation is based on the existing macros.


255095 31-Aug-2013 andrew

Bring in gcc r128087 to add support for _Unwind_Backtrace on ARM. This is
prior to the licence change so is under the GPLv2.


255093 31-Aug-2013 theraven

Don't use _Unwind_Backtrace() on ARM as it's currently missing from our libgcc_s. andrew@ has patches to add it, so this can be reverted and sync'd with upstream later.


255076 30-Aug-2013 dim

Pull in r189672 from upstream llvm trunk:

InstCombine: Check for zero shift amounts before subtracting one
causing integer overflow.

PR17026. Also avoid undefined shifts and shift amounts larger than 64
bits (those are always undef because we can't represent integer types
that large).

This should fix assertion failures when building the emulators/xmame
port.

Reported by: bapt


255033 29-Aug-2013 emaste

Update to 2013-08-29 NetBSD libexecinfo snapshot

This adds my patch to use the kern.proc.pathname sysctl instead of
relying on procfs(5).


254960 27-Aug-2013 will

Make the PAM password strength checking module WARNS=2 safe.

lib/libpam/modules/pam_passwdqc/Makefile:
Bump WARNS to 2.

contrib/pam_modules/pam_passwdqc/pam_passwdqc.c:
Bump _XOPEN_SOURCE and _XOPEN_VERSION from 500 to 600
so that vsnprint() is declared.

Use the two new union types (pam_conv_item_t and
pam_text_item_t) to resolve strict aliasing violations
caused by casts to comply with the pam_get_item() API taking
a "const void **" for all item types. Warnings are
generated for casts that create "type puns" (pointers of
conflicting sized types that are set to access the same
memory location) since these pointers may be used in ways
that violate C's strict aliasing rules. Casts to a new
type must be performed through a union in order to be
compliant, and access must be performed through only one
of the union's data types during the lifetime of the union
instance. Handle strict-aliasing warnings through pointer
assignments, which drastically simplifies this change.

Correct a CLANG "printf-like function with more arguments
than format" error.

Submitted by: gibbs
Sponsored by: Spectra Logic


254851 25-Aug-2013 emaste

Disable lldb target support not (currently) of interest

- Remote iOS debugging
- OS X symbol provider, core files
- PECOFF object files
- Linux platform support

Sponsored by: DARPA, AFRL


254793 24-Aug-2013 emaste

Revert lldb change for Attribute::NoBuiltin

NoBuiltin was introduced after clang/llvm 3.3 and thus does not exist in
FreeBSD. Thus special handling for the attribute is not needed in lldb.

This reverts lldb r186990 (git eebd175)

Sponsored by: DARPA, AFRL


254790 24-Aug-2013 emaste

Import llvm r187614 (git 44c8e34), for lldb's use:

Author: Daniel Malea <daniel.malea@intel.com>
Date: Thu Aug 1 21:18:16 2013 +0000

Fixed the Intel-syntax X86 disassembler to respect the (existing)
option for hexadecimal immediates, to match AT&T syntax. This also
brings a new option for C-vs-MASM-style hex.

Patch by Richard Mitton
Reviewed: http://llvm-reviews.chandlerc.com/D1243


254768 24-Aug-2013 emaste

Revert lldb changes due to post-3.3 clang and llvm API changes

Revisions:
svn git
183929 99447a6
183862 15c1774
source/Host/common/FileSpec.cpp

184954 007e7bc
184948 4dc3761
source/Expression/ClangExpressionParser.cpp

182099 b31044e
181387 779e6ac
include/lldb/Expression/IRExecutionUnit.h
source/Expression/IRExecutionUnit.cpp

184177 0b2934b
182650 f2dcf35
181703 7bef4e2
source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp

182683 0d91b80
source/Plugins/Instruction/ARM/EmulateInstructionARM.cpp

Sponsored by: DARPA, AFRL


254729 23-Aug-2013 emaste

Merge lldb r188801 to contrib/llvm/tools/lldb/


254698 23-Aug-2013 emaste

Update libexecinfo man page for FreeBSD

Sponsored by: DARPA, AFRL


254689 23-Aug-2013 emaste

FreeBSD compatibility for libexecinfo


254688 23-Aug-2013 emaste

Import NetBSD libexecinfo 20130822 to contrib


254687 23-Aug-2013 emaste

Remove accidental import of libexecinfo at wrong directory level


254686 23-Aug-2013 emaste

Import NetBSD libexecinfo 20130822 to contrib


254651 22-Aug-2013 erwin

Update Bind to 9.9.3-P2

Notable new features:

* Elliptic Curve Digital Signature Algorithm keys and signatures in
DNSSEC are now supported per RFC 6605. [RT #21918]

* Introduces a new tool "dnssec-verify" that validates a signed zone,
checking for the correctness of signatures and NSEC/NSEC3 chains.
[RT #23673]

* BIND now recognizes the TLSA resource record type, created to
support IETF DANE (DNS-based Authentication of Named Entities)
[RT #28989]

* The new "inline-signing" option, in combination with the
"auto-dnssec" option that was introduced in BIND 9.7, allows
named to sign zones completely transparently.

Approved by: delphij (mentor)
MFC after: 3 days
Sponsored by: DK Hostmaster A/S


254582 20-Aug-2013 dim

Pull in r182983 from upstream clang trunk:

Fix handling of braced-init-list as reference initializer within
aggregate initialization. Previously we would incorrectly require an
extra set of braces around such initializers.

Pull in r188718 from upstream clang trunk:

Handle init lists and _Atomic fields.

Fixes PR16931.

These fixes are needed for the atomic_flag type to work correctly in our
stdatomic.h.

Requested by: theraven


254581 20-Aug-2013 dim

Pull in r188716 from upstream clang trunk:

PR16727: don't try to evaluate a potentially value-dependent
expression when checking for missing parens in &&/|| expressions.

This fixes an assertion encountered when building the lang/sdcc port.

Reported by: kwm


254449 17-Aug-2013 andrew

Silence a warning that is incorrect on ARMv6 and later. In the smull, umull,
smlal, and umlal the output registers are allowed to be the same as either
input registers, where in ARMv4 and ARMv5 they could only be the same as the
last input register.


254419 16-Aug-2013 sjg

Add .MAKE.ALWAYS_PASS_JOB_QUEUE knob (default yes)
for backwards compatability.


254251 12-Aug-2013 gshapiro

Temporarily revert sendmail 8.14.7 change to getipnodebyname() flags to
prevent problems between the resolver and Microsoft DNS servers with
AAAA lookups. The upstream open source project will work on a more
permanent fix for the next release. Issue noted by Pavel Timofeev.

MFC after: 3 days


254225 11-Aug-2013 peter

Update nvi-1.79 to 2.1.1-4334a8297f

This is the gsoc-2011 project to clean up and backport multibyte support
from other nvi forks in a form we can use.

USE_WIDECHAR is on unless building for the rescue crunchgen. This should
allow editing in the native locale encoding.

USE_ICONV depends on make.conf having 'WITH_ICONV=YES' for now. This
adds the ability to do things like edit a KOI8-R file while having $LANG
set to (say) en_US.UTF-8. iconv is used to transcode the characters for
display.

Other points:
* It uses gencat and catopen/etc instead of homegrown msg catalog stuff.
* A lot of stuff has been trimmed out, eg: the perl and tcl bindings which
we could never use in base anyway.
* It uses ncursesw when in widechar mode. This could be interesting.

GSoC info: http://www.google-melange.com/gsoc/proposal/review/google/gsoc2011/zy/1
Repo at: https://github.com/lichray/nvi2

Obtained from: Zhihao Yuan <lichray@gmail.com>


254213 11-Aug-2013 peter

Bootstrap svn:mergeinfo as of the 2008 run of cvs2svn.


254194 10-Aug-2013 sjg

ParseGetLine: don't treat a zero byte as end of buffer if P_end says it isn't.
Consume up to next newline, and issue a parse warning.
If no newline found before P_end, carry on as before.


254123 09-Aug-2013 jeff

- Fix compile errors from the clang conversion
- Grab AF_SDP_INET from sys/socket.h

Submitted by: Garrett Cooper
Sponsored by: EMC / Isilon Storage Division


254062 07-Aug-2013 rpaulo

Fix previous commit: both flags must be set.


254057 07-Aug-2013 theraven

Remove __attribute__((__aligned__)) that generates incorrect alignment on compilers that know about SSE. Code left over from old header that thought that 64 bits was the maximum alignment that anything would ever need...


254021 07-Aug-2013 rpaulo

Make sure IFM_AVALID is also set when checking ifm_status.

Submitted by: yongari


254019 07-Aug-2013 rpaulo

Fix a timing issue with the wired driver.

After configuring the interface, wait for the link to become active.
Many ethernet drivers reset the chip when we set multicast filters
(causing significant delays due to link re-negotiation) and, by the time
we start sending packets, they are discared instead of going to the ether.

Tested by: dumbbell


253984 06-Aug-2013 erwin

Remove weirdly-named autofoo file. This is not needed for the (FreeBSD)
build, and freebsd-update chokes on it. Somehow it did manage to be merged,
despite my best efforts not to.

Approved by: delphij (mentor)


253983 06-Aug-2013 erwin

Update Bind to 9.8.5-P2

New Features

Adds a new configuration option, "check-spf"; valid values are
"warn" (default) and "ignore". When set to "warn", checks SPF
and TXT records in spf format, warning if either resource record
type occurs without a corresponding record of the other resource
record type. [RT #33355]

Adds support for Uniform Resource Identifier (URI) resource
records. [RT #23386]

Adds support for the EUI48 and EUI64 RR types. [RT #33082]

Adds support for the RFC 6742 ILNP record types (NID, LP, L32,
and L64). [RT #31836]

Feature Changes

Changes timing of when slave zones send NOTIFY messages after
loading a new copy of the zone. They now send the NOTIFY before
writing the zone data to disk. This will result in quicker
propagation of updates in multi-level server structures. [RT #27242]
"named -V" can now report a source ID string. (This is will be
of most interest to developers and troubleshooters). The source

ID for ISC's production versions of BIND is defined in the "srcid"
file in the build tree and is normally set to the most recent
git hash. [RT #31494]

Response Policy Zone performance enhancements. New "response-policy"
option "min-ns-dots". "nsip" and "nsdname" now enabled by default
with RPZ. [RT #32251]

Approved by: delphij (mentor)
Sponsored by: DK Hostmaster A/S


253925 04-Aug-2013 sjg

Move the call to Job_SetPrefix() to Job_Init() so that
makefiles have had a chance to set .MAKE.JOB.PREFIX


253895 02-Aug-2013 peter

Update serf 1.2.1 -> 1.3.0 for svn


253883 02-Aug-2013 sjg

Merge bmake-20130730
Main feature of interest is .MAKE.JOB.PREFIX=
to suppress --- job --- tokens.


253839 31-Jul-2013 bapt

Change default behaviour of ld(1) to not recursively copy DT_NEEDED

This is the default behaviour of the newer binutils as well as most alternative linkers.
All the ports tree has been fixed to be able to link properly with this new behaviour.


253827 31-Jul-2013 rpaulo

When using tcpdump -I -i wlanN and wlanN is not a monitor mode VAP,
tcpdump will print an error message saying rfmon is not supported.
Give a concise explanation as to how one might solve this problem by
creating a monitor mode VAP.


253802 30-Jul-2013 dim

Pull in r186696 from upstream clang trunk:

This patch implements __get_cpuid_max() as an inline and __cpuid()
and __cpuid_count() as macros to be compatible with GCC's cpuid.h.
It also adds bit_<foo> constants for the various feature bits as
described in version 039 (May 2011) of Intel's SDM Volume 2 in the
description of the CPUID instruction. The list of bit_<foo>
constants is a bit exhaustive (GCC doesn't do near this many). More
bits could be added from a newer version of SDM if desired.

Patch by John Baldwin!

This should fix several ports which depend on this functionality being
available.

MFC after: 1 week


253734 28-Jul-2013 peter

Update subversion-1.8.0 -> 1.8.1. Update supporting
components: apr-1.4.6 -> 1.4.8 and apr-util-1.4.1 -> 1.5.2.

This is a post point-zero bug-fix / fix-sharp-edges release, including
some workarounds for UTF-8 for people who haven't yet turned on WITH_ICONV.


253692 26-Jul-2013 delphij

Fix Denial of Service vulnerability in named(8). [13:07]

Security: CVE-2013-4854
Security: FreeBSD-SA-13:07.bind
Approved by: so


253563 23-Jul-2013 theraven

Add isnan() and isinf() to the global namespace in libstdc++'s <cmath>.

The standard (n3242, section 17.6.1.1, paragraph 4) says that, because these are
declared as macros in the C specification (even though they are
implemented as functions in the C++ library) they should be in the global
namespace.

A surprising number of configure checks rely on this. It was broken by recent
cleanups to math.h.


253541 22-Jul-2013 cperciva

Remove weirdly-named autofoo file. This is not needed for the (FreeBSD)
build, and freebsd-update chokes on it.

9.2-RELEASE candidate.

Approved by: rwatson
MFC after: 3 days


253482 20-Jul-2013 cy

As per the developers handbook (5.3.1 step 1), bootstrap svn:mergeinfo on
the ipfilter directories in the main tree to the last commit made to
the ipfilter trees in the vendor branches (r253468) which flattened the
ipfilter vendor trees.

Now that this step is complete, we are free to import new sources into the
ipfilter vendor trees.

Approved by: glebius (Mentor)


253461 19-Jul-2013 emaste

Correct ELF note decoding for non-core files

Requested by: kib


253454 18-Jul-2013 emaste

Correct alignment in note output


253453 18-Jul-2013 emaste

Remove accidentally cut-and-pasted colons


253451 18-Jul-2013 emaste

Handle FreeBSD-specific ELF notes

Add a function to return the specific type, when the note's Name field is
'FreeBSD'.

r249558 added FreeBSD-specific ELF note types that reuse type numbers of
existing generic / Linux types. This caused 'readelf -n' to produce
incorrect output on FreeBSD core files.

Sponsored by: DARPA, AFRL
MFC after: 3 days


253159 10-Jul-2013 theraven

Import new libcxxrt / libc++. This brings some bug fixes, including a potential race condition for static initialisers.


253042 08-Jul-2013 dim

Pull in r185616 from llvm trunk:

FastISel can only append to basic blocks.

Compute the insertion point from the end of the basic block instead of
skipping labels from the front.

This caused failures in landing pads when live-in copies where inserted
before instruction selection.

I missed this change in r252720; without it, certain compilation flags
can cause exception labels to not be generated, but still referenced,
leading to link errors.

Reported by: zeising
MFC after: 3 days


253040 08-Jul-2013 hiren

Move to MSG_DEBUG to print it via syslog only when requested.

Reviewed by: rpaulo, adrian
Approved by: sbruno (mentor)


253009 07-Jul-2013 edwin

MFV of tzdata2013d, 253008

- Morocco:
announced that the year's Ramadan daylight-savings transitions
would be 2013-07-07 and 2013-08-10.

- Israel:
As of 2013, DST starts at 02:00 on the Friday before the last
Sunday in March. DST ends at 02:00 on the first Sunday after
October 1, unless it occurs on the second day of the Jewish Rosh
Hashana holiday, in which case DST ends a day later (i.e. at 02:00
the first Monday after October 2). [Rosh Hashana holidays are
factored in until 2100.]


253004 07-Jul-2013 pjd

Sandbox tcpdump(8) using Capsicum's capability mode and capabilities.
For now, sandboxing is done only if -n option was specified and neither -z nor
-V options were given. Because it is very common to run tcpdump(8) with the -n
option for speed, I decided to commit sandboxing now. To also support
sandboxing when -n option wasn't specified, we need Casper daemon and its
services that are not available in FreeBSD yet.

- Limit file descriptors of a file specified by -r option or files specified
via -V option to CAP_READ only.

- If neither -r nor -V options were specified, we operate on /dev/bpf.
Limit its descriptor to CAP_READ and CAP_IOCTL plus limit allowed ioctls to
BIOCGSTATS only.

- Limit file descriptor of a file specified by -w option to CAP_SEEK and
CAP_WRITE.

- If either -C or -G options were specified, we open directory containing
destination file and we limit directory descriptor to CAP_CREATE, CAP_FCNTL,
CAP_FTRUNCATE, CAP_LOOKUP, CAP_SEEK and CAP_WRITE. Newly opened/created
files are limited to CAP_SEEK and CAP_WRITE only.

- Enter capability mode if -n option was specified and neither -z nor -V
options were specified.

Approved by: delphij, wxs
Sponsored by: The FreeBSD Foundation


252734 04-Jul-2013 rpaulo

Delete .gitignore files.


252733 04-Jul-2013 rpaulo

Restore the dbus directory that was not meant to be deleted in r252729.


252729 04-Jul-2013 rpaulo

Remove unused files / directories.


252726 04-Jul-2013 rpaulo

Merge hostapd / wpa_supplicant 2.0.

Reviewed by: adrian (driver_bsd + usr.sbin/wpa)


252720 04-Jul-2013 dim

Pull in r185594 from llvm trunk:

Add MachineBasicBlock::addLiveIn().

This function adds a live-in physical register to an MBB and ensures
that it is copied to a virtual register immediately.

Pull in r185615 from llvm trunk:

Live-in copies go *after* EH_LABELs.

This will soon be tested by exception handling working at all.

Pull in r185617 from llvm trunk:

Simplify landing pad lowering.

Stop using the ISD::EXCEPTIONADDR and ISD::EHSELECTION when lowering
landing pad arguments. These nodes were previously legalized into
CopyFromReg nodes, but that never worked properly because the
CopyFromReg node weren't guaranteed to be scheduled at the top of the
basic block.

This meant the exception pointer and selector registers could be
clobbered before being copied to a virtual register.

This patch copies the two physical registers to virtual registers at
the beginning of the basic block, and lowers the landingpad instruction
directly to two CopyFromReg nodes reading the *virtual* registers. This
is safe because virtual registers don't get clobbered.

A future patch will remove the ISD::EXCEPTIONADDR and ISD::EHSELECTION
nodes.

Together, these changes fix llvm PR 16038 ('qt4 webcore file results in
"Bad machine code: Using an undefined physical register"'), and should
make it possible again to compile the www/qt4-webkit port again on the
i386 arch, without using a CPUTYPE=i686 or higher setting.


252587 03-Jul-2013 dim

Pull in r185446 from clang trunk:

Fix to PR15826 - clang hits assert in clang::ASTContext::getASTRecordLayout.

Reported by: glebius


252503 02-Jul-2013 andrew

Work around an ARM EABI issue where clang would sometimes incorrectly align
the stack in a leaf function that uses TLS.

The issue is, when using TLS, the function is no longer a leaf as it calls
__aeabi_read_tp. With statically linked programs this is not an issue as
it doesn't make use of the stack, however with dynamically linked
applications we enter rtld which does use the stack and makes assumptions
about it's alignment.

This is only a temporary fix until a better patch can be made and submitted
upstream.


252387 29-Jun-2013 dim

Make libsupc++'s __cxa_call_terminate() prototype consistent with the
definition.

Submitted by: dt71@gmx.com
MFC after: 3 days


252356 28-Jun-2013 davide

- Trim an unused and bogus Makefile for mount_smbfs.
- Reconnect with some minor modifications, in particular now selsocket()
internals are adapted to use sbintime units after recent'ish calloutng
switch.


252179 24-Jun-2013 pfg

gcc: configuration fix.

-Fix configuration support for FreeBSD 10 and 11.

Note this change is based on GCC-SVN-131197 with permission
by gerald@ .

Reported by: jmallet


252176 24-Jun-2013 pfg

gcc: add some configuration and references.

-Add configure support for FreeBSD 10 and 11.
-Adapt a threading fix to gnu POSIX95 (which we don't use).
-Refer to a bug fix for the disabled vrptree support.

This is all useless in our current build but it is included
for convenience in case someone may want to re-package our
older gcc.

Reviewed by: gerald (long ago)


252039 20-Jun-2013 dim

Pull in r183984 from llvm trunk:

Make PrologEpilogInserter save/restore all callee saved registers in
functions which call __builtin_unwind_init()

__builtin_unwind_init() is an undocumented gcc intrinsic which has
this effect, and is used in libgcc_eh.

Goes part of the way toward fixing PR8541.

This obsoletes the ugly hack to libgcc's unwind code from r245272, and
should also work for other arches, so revert the hack too.


252013 20-Jun-2013 kientzle

Try to fix build of apr on FreeBSD/arm.


251958 18-Jun-2013 sjg

Fix use after free bug.
Parse_SetInput:
curFile->fname was using the buffer passed to it - which ReadMakefile frees.
This change makes the comment in ParseEOF about leaking curFile->fname true.


251956 18-Jun-2013 peter

Merge 1.8.0


251896 18-Jun-2013 peter

Merge the commit template patch.


251895 18-Jun-2013 peter

Merge the 3-way merge marker tweak.


251886 18-Jun-2013 peter

Introduce svnlite so that we can check out our source code again.

This is actually a fully functional build except:
* All internal shared libraries are static linked to make sure there
is no interference with ports (and to reduce build time).
* It does not have the python/perl/etc plugin or API support.
* By default, it installs as "svnlite" rather than "svn".
* If WITH_SVN added in make.conf, you get "svn".
* If WITHOUT_SVNLITE is in make.conf, this is completely disabled.

To be absolutely clear, this is not intended for any use other than
checking out freebsd source and committing, like we once did with cvs.

It should be usable for small scale local repositories that don't
need the python/perl plugin architecture.


251858 17-Jun-2013 emaste

Fold in frame-unwind patch

After moving to svn there's no need to avoid pulling files off a vendor
branch.


251848 17-Jun-2013 pluknet

Import change e4ac6417c7504e1c55ec556ce908974c04e29e3c from upstream wpa:

From: Guy Eilam <guy@wizery.com>
Date: Mon, 21 Feb 2011 20:44:46 +0000 (+0200)
Subject: utils: Corrected a typo in header's name definition

utils: Corrected a typo in header's name definition

Corrected a typo in the BASE64_H definition that
might cause the header file to be included more than once.

Signed-off-by: Guy Eilam <guy@wizery.com>

Submitted by: <dt71@gmx.com>
MFC after: 3 days


251844 17-Jun-2013 emaste

Include die tag in error message


251843 17-Jun-2013 bapt

Update dialog to 1.2-20130523
Level up WARNS


251794 15-Jun-2013 eadler

Remove CVS from the base system.

Discussed with: many
Reviewed by: peter, zi
Approved by: core


251790 15-Jun-2013 andrew

Pull in r183926 from LLVM trunk:

Allow clang to build __clear_cache on ARM.

__clear_cache is special. It needs no signature, but is a real function in
compiler_rt or libgcc.

Patch by Andrew Turner.

This allows us to build the __clear_cache function in compiler-rt.


251785 15-Jun-2013 ed

Pull in r184040 from upstream clang trunk:

Emit native implementations of atomic operations on FreeBSD/armv6.

Just like on Linux, FreeBSD/armv6 assumes the system supports
ldrex/strex unconditionally. It is also used by the kernel. We can
therefore enable support for it, like we do on Linux.

While there, change one of the unit tests to explicitly test against
armv5 instead of armv7, as it actually tests whether libcalls are
emitted.


251761 14-Jun-2013 dim

Pull in r181620 from llvm trunk:

[ms-inline asm] Fix a crasher when we fail on a direct match.

The issue was that the MatchingInlineAsm and VariantID args to the
MatchInstructionImpl function weren't being set properly. Specifically, when
parsing intel syntax, the parser thought it was parsing inline assembly in the
at&t dialect; that will never be the case.

The crash was caused when the emitter tried to emit the instruction, but the
operands weren't set. When parsing inline assembly we only set the opcode, not
the operands, which is used to lookup the instruction descriptor.
rdar://13854391 and PR15945

Also, this commit reverts r176036. Now that we're correctly parsing the intel
syntax the pushad/popad don't match properly. I've reimplemented that fix using
a MnemonicAlias.

Pull in r183907 from llvm trunk:

X86: Make the cmov aliases work with intel syntax too.

These commits make a number of Intel-style inline assembly mnemonics
aliases (occurring in several ports) work properly, which could cause
assertions otherwise.

Reported by: kwm, bapt


251667 12-Jun-2013 emaste

Handle DW_TAG_unspecified_type

2011-11-14 Jim Ingham <jingham@apple.com>

* dwarf2read.c (read_type_die): Handle DW_TAG_unspecified_type.
(read_tag_unspecified_type): New function, add a type for the
DW_TAG_unspecified_type die.

Obtained from: Apple, gdb-1752


251665 12-Jun-2013 emaste

Handle DW_TAG_rvalue_reference_type

2012-05-21 Jim Ingham <jingham@apple.com>

* dwarf2read.c (process_die): Handle DW_TAG_rvalue_reference_type.
(read_type_die): Ditto.
(dwarf_tag_name): Ditto.

* elf/dwarf2.h: Add DW_TAG_rvalue_reference_type.

Obtained from: Apple, gdb-1820


251662 12-Jun-2013 dim

Upgrade our copy of llvm/clang to 3.3 release.

Release notes are still in the works, these will follow soon.

MFC after: 1 month


251437 05-Jun-2013 jkim

Fix build for FreeBSD. We do not have alloca.h.


251436 05-Jun-2013 jkim

Add GNU regex from glibc 2.17.


251431 05-Jun-2013 dim

Pull in r183297 from upstream llvm trunk:

PR15662: Optimized debug info produces out of order function
parameters

When a function is inlined we lazily construct the variables
representing the function's parameters. After that, we add any
remaining unused parameters.

If the function doesn't use all the parameters, or uses them out of
order, then the DWARF would produce them in that order, producing a
parameter order that doesn't match the source.

This fix causes us to always keep the arg variables at the start of
the variable list & in the original order from the source.

Reported by: avg
MFC after: 1 week


251422 05-Jun-2013 sjg

Update to bmake-20130604 to fix file descriptor leak.


251300 03-Jun-2013 jasone

Update jemalloc to version 3.4.0.


251227 01-Jun-2013 pfg

Revert: Use time_t instead of long for archive timestamps.

Back out for now: this breaks the i386 build and requires some revision.


251225 01-Jun-2013 pfg

BFD: Use time_t instead of long for archive timestamps.

This basically follows the suggestion in the binutils code and is more
in line with what BSD ar(1) does.

Obtained from: OpenBSD
MFC after: 2 weeks.


251216 01-Jun-2013 ed

Pull in r183033 and r183036 from LLVM trunk:

Add support for optimized (non-generic) atomic libcalls.

For integer types of sizes 1, 2, 4 and 8, libcompiler-rt (and libgcc)
provide atomic functions that pass parameters by value and return
results directly.

libgcc and libcompiler-rt only provide optimized libcalls for
__atomic_fetch_*, as generic libcalls on non-integer types would make
little sense. This means that we can finally make __atomic_fetch_*
work
on architectures for which we don't provide these operations as
builtins
(e.g. ARM).

This should fix the dreaded "cannot compile this atomic library call
yet" error that would pop up once every while.

This should make it possible for me to get C11 atomics working on all of
our platforms.


251212 01-Jun-2013 pfg

GCC: bring back experimental support for amdfam10/barcelona CPUs.

Initial support for the AMD amdfam10 chipsets has been available in the
gcc43 branch under GPLv2. AMD and some linux distributions (OpenSUSE) did
a backport of the amdfam10 support and made it available.

This is a revised subset of the support initially brought in in r236962
and later reverted. The collateral efects seem to have disappeared but
it is still recommended to set the CPUTYPE with caution.

Reviewed by: jkim (ages ago)
MFC after: 3 weeks


251210 31-May-2013 delphij

MFV: Redo the fixup using the submitted version accepted by upstream.


251188 31-May-2013 marcel

Fix "automatic" login, broken by revision 69825 (12 years, 5 months ago).
The "automatic" login feature is described as follows:
The USER environment variable holds the name of the person telnetting in.
This is the username of the person on the client machine. The traditional
behaviour is to execute login(1) with this username first, meaning that
login(1) will prompt for the password only. If login fails, login(1) will
retry, but now prompt for the username before prompting for the password.

This feature got broken by how the environment got scrubbed. Before the
change in r69825 we removed variables that we deemed dangerous. Starting
with r69825 we only keep those variable we know to be safe.

The USER environment variable fell through the cracks. It suddenly got
scrubbed (i.e. removed from the environment) while still being checked
for. It also got explicitly removed from the environment to handle the
failed login case.

The fix is to obtain the value of the USER environment variable before
we scrub the environment and used the "cached" in subsequent checks.
This guarantees that the environment does not contain the USER variable
in the end, while still being able to implement "automatic" login.

Obtained from: Juniper Networks, Inc.


251170 31-May-2013 delphij

Revert files with no local changes to their vendor state to ease future
upgrading.


251169 31-May-2013 delphij

Remove unused files.


251161 30-May-2013 delphij

Diff reduction against tcpdump revision 949a22064d3534eddeb8aa2b9c36a50e45fe16fa.


251158 30-May-2013 delphij

MFV: tcpdump 4.4.0.

MFC after: 4 weeks


251143 30-May-2013 bapt

Update byacc to 20130304


251129 30-May-2013 delphij

MFV: libpcap 1.4.0.

MFC after: 4 weeks


251108 29-May-2013 marcel

Modify atf::fs::path::get_process_helpers_path API to properly
handle pathing with detail/ tests. Based on patch pushed upstream to
ATF project.

Obtained from: Garrett Cooper <yaneurabeya@gmail.com>


251066 28-May-2013 dim

Fix warnings from newer clang versions about constexpr member functions
not being implicitly const in libc++'s <chrono> header. The warnings
have been introduced because of new language rules recently adopted by
the C++ WG. More info:

<http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2013/n3598.html>

MFC after: 3 days


250997 26-May-2013 dim

Pull in r182656 from upstream llvm trunk:

LoopVectorize: LoopSimplify can't canonicalize loops with an
indirectbr in it, don't assert on those cases.

Fixes PR16139.

This should fix clang assertion failures when optimizing at -O3, similar
to:

Assertion failed: (TheLoop->getLoopPreheader() && "No preheader!!"),
function canVectorize, file
contrib/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp, line 2171.

Reported by: O. Hartmann <ohartman@zedat.fu-berlin.de>
PR: ports/178332, ports/178977
MFC after: 3 days


250991 25-May-2013 marcel

Make the malloc(3) family of functions weak and make their non-weak
implementations visible for use by applications. The functions $F that
are now weak symbols are:
allocm, calloc, dallocm, free, malloc, malloc_usable_size,
nallocm, posix_memalign, rallocm, realloc, sallocm

The non-weak implementations of $F are exported as __$F.

Submitted by: stevek@juniper.net
Reviewed by: jasone@, kib@
Approved by: jasone@ (jemalloc)
Obtained from: juniper Networks, Inc


250926 23-May-2013 jkim

Work around build breakages with GCC 4.2.

Reported by: tinderbox


250879 21-May-2013 jkim

Enable GNU m4 compatibility mode.


250878 21-May-2013 jkim

Allow YY_NO_UNPUT to disable unput() for backward compatibility.


250877 21-May-2013 jkim

Define yy_current_buffer for backward compatibility.


250876 21-May-2013 jkim

Do not use log10(3) to get rid of libm dependency. It is really not useful.


250875 21-May-2013 jkim

Reduce compiler warnings.


250874 21-May-2013 jkim

Apply still relevant local changes.

r124183: Work around a `label defined but not used' warning.
r179549: De-register declarations.
r179657: De-register declarations in non-dot-c files.
r181269: Mark yy_fatal_error() as __dead2.
r228992: Spelling fixes.
r240518: Correct double "the the".


250873 21-May-2013 jkim

Add flex 2.5.37 from flex.sourceforge.net to contrib.


250837 20-May-2013 sjg

Sync with upstream version (20130520) that includes same fixes made last week.


250773 18-May-2013 sjg

Fix wildcard srcs for phony targets


250771 18-May-2013 sjg

Match what is in netbsd.


250770 18-May-2013 sjg

Var_Delete: expand name to delete if needed.


250750 17-May-2013 sjg

We really need to get the bsd.own.mk from this tree so the
correct options are set.
Also defined NO_PWD_OVERRIDE to match behavior of fmake.


250693 16-May-2013 hiren

Add tcp header flags ECE and CWR defined in RFC 3168.

PR: 140349
Submitted by: Alan Amesbury <amesbury@umn.edu> (earlier version)
Reviewed by: delphij
Approved by: sbruno (mentor)


250667 15-May-2013 jh

Rename O_DIRECTORY to O_TMP_DIRECTORY to avoid shadowing the fcntl.h
O_DIRECTORY flag.

PR: bin/173924
Obtained from: git://repo.or.cz/nvi.git


250593 13-May-2013 dim

Pull in r181286 from upstream llvm trunk:

LoopVectorize: getConsecutiveVector must respect signed arithmetic

We were passing an i32 to ConstantInt::get where an i64 was needed and we must
also pass the sign if we pass negatives numbers. The start index passed to
getConsecutiveVector must also be signed.

Should fix PR15882.

This should fix Firefox crashes some people have been reporting, when it
is compiled with -O3.


250592 13-May-2013 delphij

MFV: less v458.

MFC after: 2 weeks


250566 12-May-2013 pfg

Add support for "d" floating-point suffix, as defined by draft N1312
of TR 24732. Emit pedantic warning if the feature is being used.

Should solve GCC bug 39027.

Obtained from: OpenBSD
MFC after: 2 weeks


250550 12-May-2013 pfg

Update the gcc43 changelog.

The issue solved in r250392 actually originated upstream and was
fixed in upstream gcc43 branch in 2006/10/24 (under GPLv2).

Register it in the appropriate ChangeLog for reference.

MFC after: 3 days


250392 08-May-2013 dim

For some reason, the gcc intrinsics header tmmintrin.h was imported with
two copies of itself pasted together. Remove the extraneous copy.

MFC after: 3 days


250380 08-May-2013 trociny

Register OID for HAST module.

MFC after: 2 weeks


250236 04-May-2013 davide

Completely rewrite the interface to smbdev switching from dev_clone
to cdevpriv(9). This commit changes the semantic of mount_smbfs
in userland as well, which now passes file descriptor in order to
to mount a specific filesystem istance.

Reviewed by: attilio, ed
Tested by: martymac


250227 04-May-2013 jkim

Improve compatibility with recent flex from flex.sourceforge.net.


250164 02-May-2013 sjg

Local hack to allow smooth transition for ports.
bsd.port.mk can set .MAKE.FreeBSD_UL=yes
to cause :L and :U to have their old behavior.
This should be reverted when 8.3 is EOL.

PR: 173299
Reviewed by: obrien


249998 27-Apr-2013 dim

Merge libc++ trunk r180598. Contains several minor cleanups and bug
fixes, no major changes.

MFC after: 2 weeks


249993 27-Apr-2013 dim

Merge libcxxrt c812a07cd2f95c1403baf0bbe0366e7618d1d6d3:

* Don't call the _fast version of the TLS accessor in terminate() or
unexpected().
1) TLS may not have been set up yet.
2) When we're in one of these functions, Really Bad Stuff has
happened and potentially saving a few cycles really isn't
important.
* Merge in fixes from FreeBSD trunk to make atomics work with recent
clang.

MFC after: 1 week


249896 25-Apr-2013 glebius

Restore the ipNetToMedia MIB, that was broken with new ARP commit
in the r186119.

Submitted by: Konstantin Kukushkin <dark rambler-co.ru>


249817 23-Apr-2013 dim

Pull in r180121 from upstream llvm trunk:

LoopVectorizer: Fix 15830. When scalarizing and unrolling stores make
sure that the order in which the elements are scalarized is the same
as the original order.
This fixes a miscompilation in FreeBSD's regex library.

This should fix lib/libc/regex/regcomp.c at -O3 with clang 3.3 r178860
on CPUs with SSE. Before this change, the vectorizer could incorrectly
rearrange the second loop in computejumps(), leading to possibly invalid
entries in the re_gets::charjump table.

The net result was that for example "sed s/@CC@/foo/" failed to work
correctly, leading to trouble with many configure scripts.


249730 21-Apr-2013 gshapiro

Update for sendmail 8.14.7

MFC after: 4 days


249729 21-Apr-2013 gshapiro

Merge sendmail 8.14.7 to HEAD

MFC after: 4 days


249692 20-Apr-2013 edwin

Merge of vendor of 249690, tzdata2013c

- antarctica: AusAQ and ATAQ have been removed.
- Antarctica/Macquarie has been moved to australasia file and AU.
- Asia/Hebron, Palestine updated for 2013.
- Paraguay stays with DST for the whole year.


249603 18-Apr-2013 andrew

Fix the value of NT_FREEBSD_TAG to be the same as ABI_NOTRTYPE in lib/csu.
Add NT_FREEBSD_NOINIT_TAG for the value of CRT_NOINIT_NOTETYPE.
Check for both of these when detecting a FreeBSD binary in gdb.


249520 15-Apr-2013 delphij

Reflect version update.

MFC after: 13 days


249499 15-Apr-2013 delphij

MFV r249496,249498. The most visible change is that we no longer shuts
down the connection when stdin closes, by default. This matches Hobbit's
original netcat and GNU netcat.

Old behavior can be restored with the new -N flag.

MFC after: 2 weeks


249479 14-Apr-2013 des

Backport upstream r684 (OPENPAM_DEBUG enables debugging macros but does
not turn debugging on by default) and add OPENPAM_DEBUG to CFLAGS.


249453 13-Apr-2013 des

Clean up the ntop / pton code. Part of a patch which has been submitted
upstream but not yet adopted.


249423 12-Apr-2013 dim

Upgrade our copy of llvm/clang to trunk r178860, in preparation of the
upcoming 3.3 release (branching and freezing expected in a few weeks).

Preliminary release notes can be found at the usual location:
<http://llvm.org/docs/ReleaseNotes.html>

An MFC is planned once the actual 3.3 release is finished.


249308 09-Apr-2013 des

Last remaining prototype issue that still hasn't been fixed upstream.


249307 09-Apr-2013 des

Revert local changes and pull in r3828 from upstream.


249293 09-Apr-2013 ed

Import a new version of NetBSD's mtree.

This version of mtree implements a new flag (-O) that can be used to
restrict the tool to certain pathnames. Also, it fixes a compiler
warning generated by -Wmissing-variable-declarations.

Acked by: brooks


249141 05-Apr-2013 des

Upgrade to 1.4.20.


249140 05-Apr-2013 des

Minimal subset of the unbound sources.


249033 02-Apr-2013 sjg

Update to bmake-20130330


248995 02-Apr-2013 mdf

Fix return type of extattr_set_* and fix rmextattr(8) utility.

extattr_set_{fd,file,link} is logically a write(2)-like operation and
should return ssize_t, just like extattr_get_*. Also, the user-space
utility was using an int for the return value of extattr_get_* and
extattr_list_*, both of which return an ssize_t.

MFC after: 1 week


248802 27-Mar-2013 dim

Similar to r239870 and r239872, teach the other binutils tools about the
DW_FORM_flag_present dwarf attribute, so they do not print errors or
warnings on files that contain it. (This attribute can be emitted by
newer versions of clang and gcc.)

MFC after: 1 week


248788 27-Mar-2013 erwin

Update to 9.8.4-P2

Removed the check for regex.h in configure in order
to disable regex syntax checking, as it exposes
BIND to a critical flaw in libregex on some
platforms. [RT #32688]

Security: CVE-2013-2266
Approved by: delphij (mentor)
Sponsored by: DK Hostmaster A/S


248664 23-Mar-2013 mm

Merge bugfix from vendor master branch:

Limit write requests to at most INT_MAX.
This prevents a certain common programming error (passing -1 to write)
from leading to other problems deeper in the library.

References:
https://github.com/libarchive/libarchive/commit/22531545514043e0

Reported by: Xin Li <delphij@FreeBSD.org>
Obtained from: libarchive (master branch)


248616 22-Mar-2013 mm

MFV r248590,248594:
Update libarchive to 3.1.2

Some of new features:
- support for lrzip and grzip compression
- support for writing tar v7 format
- b64encode and uuencode filters
- support for __MACOSX directory in Zip archives
- support for lzop compresion (external utility)


248599 21-Mar-2013 pjd

Implement chflagsat(2) system call, similar to fchmodat(2), but operates on
file flags.

Reviewed by: kib, jilles
Sponsored by: The FreeBSD Foundation


248548 20-Mar-2013 andrew

Pull in r177252 from upstream clang trunk:

Make sure to use same EABI version for external assembler as for
integrated as.

This allows us to use gcc on a world built with clang on ARM.


248466 18-Mar-2013 andrew

do_vfp_vmrs and do_vfp_vmsr should not return anything.


248460 18-Mar-2013 andrew

Add support for the vmsr and vmrs instructions. This supports the system
level version of the instructions. When used in userland the hardware only
allows us to read/write FPSCR.


248459 18-Mar-2013 andrew

Some ARM vmov similar to 'vmov.f32 s1, s2' will incorrectly have the second
register added to the symbol table by the assembler. On further
investigation it was found the problem was with the my_get_expression
function. This is called by parse_big_immediate.

Fix this by moving the call to parse_big_immediate to the end of the if,
else if, ..., else block.


248307 15-Mar-2013 edwin

MFV of 248305, tzdata2013b

Lots of historical data added.

Morocco: add DST rules for the coming years
Cuba: Doing DST in 2013.
Chili: Will do DST in 2013 as it seems.


248303 15-Mar-2013 brooks

Replace our (un)vis(1) commands with implementations from NetBSD to
match our import of the (un)vis(3) APIs.

This adds support for multibyte encoding and the -h and -m flags which
support HTTP and MIME encoding respectively.

PR: bin/175418
Obtained from: NetBSD


248302 14-Mar-2013 brooks

Update to the latest (un)vis(3) sources from NetBSD. This adds
multibyte support[0] and the new functions strenvisx and strsenvisx.

Add MLINKS for vis(3) functions add by this and the initial import from
NetBSD[1].

PR: bin/166364, bin/175418
Submitted by: "J.R. Oldroyd" <fbsd@opal.com>[0]
stefanf[1]
Obtained from: NetBSD
MFC after: 2 weeks


247810 04-Mar-2013 des

Merge upstream r634:646: correctly parse mixed quoted / unquoted text.


247779 04-Mar-2013 bapt

Import libyaml as libbsdyml (private brand name)

LibYAML is a YAML 1.1 parser and emitter under MIT license which will
soon be used by the pkg boostrap (usr.bin/pkg) and bhyve

Reviewed by: roberto, antoine


247667 02-Mar-2013 pjd

- Implement two new system calls:

int bindat(int fd, int s, const struct sockaddr *addr, socklen_t addrlen);
int connectat(int fd, int s, const struct sockaddr *name, socklen_t namelen);

which allow to bind and connect respectively to a UNIX domain socket with a
path relative to the directory associated with the given file descriptor 'fd'.

- Add manual pages for the new syscalls.

- Make the new syscalls available for processes in capability mode sandbox.

- Add capability rights CAP_BINDAT and CAP_CONNECTAT that has to be present on
the directory descriptor for the syscalls to work.

- Update audit(4) to support those two new syscalls and to handle path
in sockaddr_un structure relative to the given directory descriptor.

- Update procstat(1) to recognize the new capability rights.

- Document the new capability rights in cap_rights_limit(2).

Sponsored by: The FreeBSD Foundation
Discussed with: rwatson, jilles, kib, des


247602 02-Mar-2013 pjd

Merge Capsicum overhaul:

- Capability is no longer separate descriptor type. Now every descriptor
has set of its own capability rights.

- The cap_new(2) system call is left, but it is no longer documented and
should not be used in new code.

- The new syscall cap_rights_limit(2) should be used instead of
cap_new(2), which limits capability rights of the given descriptor
without creating a new one.

- The cap_getrights(2) syscall is renamed to cap_rights_get(2).

- If CAP_IOCTL capability right is present we can further reduce allowed
ioctls list with the new cap_ioctls_limit(2) syscall. List of allowed
ioctls can be retrived with cap_ioctls_get(2) syscall.

- If CAP_FCNTL capability right is present we can further reduce fcntls
that can be used with the new cap_fcntls_limit(2) syscall and retrive
them with cap_fcntls_get(2).

- To support ioctl and fcntl white-listing the filedesc structure was
heavly modified.

- The audit subsystem, kdump and procstat tools were updated to
recognize new syscalls.

- Capability rights were revised and eventhough I tried hard to provide
backward API and ABI compatibility there are some incompatible changes
that are described in detail below:

CAP_CREATE old behaviour:
- Allow for openat(2)+O_CREAT.
- Allow for linkat(2).
- Allow for symlinkat(2).
CAP_CREATE new behaviour:
- Allow for openat(2)+O_CREAT.

Added CAP_LINKAT:
- Allow for linkat(2). ABI: Reuses CAP_RMDIR bit.
- Allow to be target for renameat(2).

Added CAP_SYMLINKAT:
- Allow for symlinkat(2).

Removed CAP_DELETE. Old behaviour:
- Allow for unlinkat(2) when removing non-directory object.
- Allow to be source for renameat(2).

Removed CAP_RMDIR. Old behaviour:
- Allow for unlinkat(2) when removing directory.

Added CAP_RENAMEAT:
- Required for source directory for the renameat(2) syscall.

Added CAP_UNLINKAT (effectively it replaces CAP_DELETE and CAP_RMDIR):
- Allow for unlinkat(2) on any object.
- Required if target of renameat(2) exists and will be removed by this
call.

Removed CAP_MAPEXEC.

CAP_MMAP old behaviour:
- Allow for mmap(2) with any combination of PROT_NONE, PROT_READ and
PROT_WRITE.
CAP_MMAP new behaviour:
- Allow for mmap(2)+PROT_NONE.

Added CAP_MMAP_R:
- Allow for mmap(PROT_READ).
Added CAP_MMAP_W:
- Allow for mmap(PROT_WRITE).
Added CAP_MMAP_X:
- Allow for mmap(PROT_EXEC).
Added CAP_MMAP_RW:
- Allow for mmap(PROT_READ | PROT_WRITE).
Added CAP_MMAP_RX:
- Allow for mmap(PROT_READ | PROT_EXEC).
Added CAP_MMAP_WX:
- Allow for mmap(PROT_WRITE | PROT_EXEC).
Added CAP_MMAP_RWX:
- Allow for mmap(PROT_READ | PROT_WRITE | PROT_EXEC).

Renamed CAP_MKDIR to CAP_MKDIRAT.
Renamed CAP_MKFIFO to CAP_MKFIFOAT.
Renamed CAP_MKNODE to CAP_MKNODEAT.

CAP_READ old behaviour:
- Allow pread(2).
- Disallow read(2), readv(2) (if there is no CAP_SEEK).
CAP_READ new behaviour:
- Allow read(2), readv(2).
- Disallow pread(2) (CAP_SEEK was also required).

CAP_WRITE old behaviour:
- Allow pwrite(2).
- Disallow write(2), writev(2) (if there is no CAP_SEEK).
CAP_WRITE new behaviour:
- Allow write(2), writev(2).
- Disallow pwrite(2) (CAP_SEEK was also required).

Added convinient defines:

#define CAP_PREAD (CAP_SEEK | CAP_READ)
#define CAP_PWRITE (CAP_SEEK | CAP_WRITE)
#define CAP_MMAP_R (CAP_MMAP | CAP_SEEK | CAP_READ)
#define CAP_MMAP_W (CAP_MMAP | CAP_SEEK | CAP_WRITE)
#define CAP_MMAP_X (CAP_MMAP | CAP_SEEK | 0x0000000000000008ULL)
#define CAP_MMAP_RW (CAP_MMAP_R | CAP_MMAP_W)
#define CAP_MMAP_RX (CAP_MMAP_R | CAP_MMAP_X)
#define CAP_MMAP_WX (CAP_MMAP_W | CAP_MMAP_X)
#define CAP_MMAP_RWX (CAP_MMAP_R | CAP_MMAP_W | CAP_MMAP_X)
#define CAP_RECV CAP_READ
#define CAP_SEND CAP_WRITE

#define CAP_SOCK_CLIENT \
(CAP_CONNECT | CAP_GETPEERNAME | CAP_GETSOCKNAME | CAP_GETSOCKOPT | \
CAP_PEELOFF | CAP_RECV | CAP_SEND | CAP_SETSOCKOPT | CAP_SHUTDOWN)
#define CAP_SOCK_SERVER \
(CAP_ACCEPT | CAP_BIND | CAP_GETPEERNAME | CAP_GETSOCKNAME | \
CAP_GETSOCKOPT | CAP_LISTEN | CAP_PEELOFF | CAP_RECV | CAP_SEND | \
CAP_SETSOCKOPT | CAP_SHUTDOWN)

Added defines for backward API compatibility:

#define CAP_MAPEXEC CAP_MMAP_X
#define CAP_DELETE CAP_UNLINKAT
#define CAP_MKDIR CAP_MKDIRAT
#define CAP_RMDIR CAP_UNLINKAT
#define CAP_MKFIFO CAP_MKFIFOAT
#define CAP_MKNOD CAP_MKNODAT
#define CAP_SOCK_ALL (CAP_SOCK_CLIENT | CAP_SOCK_SERVER)

Sponsored by: The FreeBSD Foundation
Reviewed by: Christoph Mallon <christoph.mallon@gmx.de>
Many aspects discussed with: rwatson, benl, jonathan
ABI compatibility discussed with: kib


247442 28-Feb-2013 pjd

When we are waiting for new trail files we may have been disconnected and
reconnected in the meantime. Check if reset is set before opening next trail
file, as not doing so will result in sending OPEN message with the same
file name twice and this is illegal - the second OPEN is send without first
closing previous trail file.


247386 27-Feb-2013 andrew

Clear the memory allocated to build the unwind tables. This fixes C++
exceptions on ARM EABI with static binaries.


247296 26-Feb-2013 delphij

Update base system libexpat to 2.1.0.

MFC after: 3 days


247205 23-Feb-2013 dim

Pull in r175962 from upstream llvm trunk:

X86: Disable cmov-memory patterns on subtargets without cmov.

Fixes PR15115.

For the i386 arch, this should enable cmov instructions only on
-march=pentiumpro and higher. Since our default CPU is i486, cmov
instructions will now be disabled by default.

MFC after: 1 week


247166 22-Feb-2013 dim

Pull in r172354 from upstream clang trunk:

Refactor the x86 CPU name logic in the driver and pass -march and -mcpu
flag information down from the Clang driver into the Gold linker plugin
for LTO. This allows specifying -march on the linker commandline and
should hopefully have it pass all the way through to the LTO optimizer.

Fixes PR14697.

Pull in r175919 from upstream clang trunk:

Driver: Pass down the -march setting down to -cc1as on x86 too.

The assembler historically didn't make use of any target features, but this has
changed when support for old CPUs that don't support long nops was added.

This should fix the long nops that still occurred in crt*.o, and
possibly other object files, if the system was compiled for a CPU that
does not support those, such as Geode.

Note that gcc on i386 also does not pass through any -march, -mcpu or
-mtune setting to gas, but this has not caused any trouble yet, because
gas defaults to i386.

Reported by: lev
MFC after: 1 week


247117 21-Feb-2013 jmg

reorder so all the flags are together and make the PCLMUL flag unique..

This fixes the problem on amd64 miscompiling mpboot.s causing boot
issues... We are still using gas for a few files in the kernel...

Submitted by: kib
MFC after: 1 month


247012 19-Feb-2013 jmg

add support for AES and PCLMULQDQ instructions to binutils...

Thanks to Mike Belopuhov for the pointer to the OpenBSD patch, though
OpenBSD's gcc is very different that it only helped w/ where to modify,
not how... Thanks to jhb for some early reviews...

Reviewed by: imp, kib
MFC after: 1 month


247003 19-Feb-2013 dim

Pull in r175360 from upstream llvm trunk:

MCParser: Reject .balign with non-pow2 alignments.

GNU as rejects them and there are configure scripts in the wild that
check if the assembler rejects ".align 3" to determine whether the
alignment is in bytes or powers of two.

MFC after: 3 days


246947 18-Feb-2013 gshapiro

Merge sendmail 8.14.6 errata issue

MFC after: 3 days


246925 18-Feb-2013 pjd

Allow [] in remote address, which fixes IPv6 support.

Reported by: simon


246883 16-Feb-2013 des

#if out unused functions which trip up gcc but not clang.


246875 16-Feb-2013 dim

Import change 40eebf235370b6fe6353784ccf01ab92eed062a5 from upstream wpa:

From: Jouni Malinen <j@w1.fi>
Date: Fri, 15 Jul 2011 13:42:06 +0300
Subject: [PATCH] MD5: Fix clearing of temporary stack memory to use correct length

sizeof of the structure instead of the pointer was supposed to be used
here. Fix this to clear the full structure at the end of MD5Final().

Found by: clang ToT
Reviewed by: rpaulo
MFC after: 3 days


246874 16-Feb-2013 dim

Fix two instances of undefined behaviour in contrib/nvi.

Found by: clang ToT
Obtained from: NetBSD
Reviewed by: jh
MFC after: 3 days


246873 16-Feb-2013 dim

In contrib/opie/opiekey.c, use the correct length to zero the secret.

Found by: clang ToT
Reviewed by: delphij
MFC after: 3 days


246858 15-Feb-2013 dim

Pull in r175057 from upstream llvm trunk:

X86: Disable generation of rep;movsl when %esi is used as a base pointer.

This happens when there is both stack realignment and a dynamic alloca in the
function. If we overwrite %esi (rep;movsl uses fixed registers) we'll lose the
base pointer and the next register spill will write into oblivion.

Fixes PR15249 and unbreaks firefox on i386/freebsd. Mozilla uses dynamic allocas
and freebsd a 4 byte stack alignment.

MFC after: 1 week


246854 15-Feb-2013 des

Upgrade to 1.6.16


246853 15-Feb-2013 des

Add generated files


246827 15-Feb-2013 des

Import LDNS and build it as an internal library.


246487 07-Feb-2013 theraven

Import new libc++ to head. Various small fixes and cleanups.

MFC after: 2 weeks


246462 07-Feb-2013 theraven

Fix a copy-and-paste error in libcxxrt.


246317 04-Feb-2013 andrew

Add #undef TARGET_DEFAULT back as it shouldn't have been removed in r245539


246314 04-Feb-2013 andrew

Allow the unwind functions int libgcc_s to interact correctly with libthr.

_Unwind_ForcedUnwind in libgcc_s takes as one of it's parameters a stop
function to tell it when to stop unwinding. One of the stop function's
parameters is a _Unwind_Exception_Class. On most architectures this is an
int64_t, however on ARM EABI the gcc developers have made this a char array
with 8 items. While both of these take the same space they are passed into
the stop function differently, an int64_t is passed in in registers r2 and
r3, while the char[8] is passed in as a pointer to the first item in
register r2.

Because libthr expects the value to be an int64_t we would get incorrect
results when it passes a function that take an int64_t but libgcc passes in
a pointer to a char array including crashing.

The fix is to update libgcc_s to make it pass an int64_t to the stop
function and to libstdc++ as it expects _Unwind_Exception_Class to be an
array.


246312 04-Feb-2013 andrew

Extend GDB to check the value in the .note.tag section along with the
.note.ABI-tag section.

This helps on ARM EABI where the OS/ABI field is zero. It would be better
to use the NOTES program header however this would require a more invasive
change.


246259 02-Feb-2013 dim

Pull in r170135 from upstream clang trunk:

Dont use/link ARCMT, StaticAnalyzer and Rewriter to clang when the user
specifies not to. Dont build ASTMatchers with Rewriter disabled and
StaticAnalyzer when it's disabled.

Without all those three, the clang binary shrinks (x86_64) from ~36MB
to ~32MB (unstripped).

To disable these clang components, and get a smaller clang binary built
and installed, set WITHOUT_CLANG_FULL in src.conf(5). During the
initial stages of buildworld, those extra components are already
disabled automatically, to save some build time.

MFC after: 1 week


246229 02-Feb-2013 kientzle

Fix an obvious typo that broke time specifications of the form
"2 hours ago".


246223 01-Feb-2013 sjg

Merge bmake-20130123

Approved by: marcel (mentor)


246143 31-Jan-2013 glebius

Retire struct sockaddr_inarp.

Since ARP and routing are separated, "proxy only" entries
don't have any meaning, thus we don't need additional field
in sockaddr to pass SIN_PROXY flag.

New kernel is binary compatible with old tools, since sizes
of sockaddr_inarp and sockaddr_in match, and sa_family are
filled with same value.

The structure declaration is left for compatibility with
third party software, but in tree code no longer use it.

Reviewed by: ru, andre, net@


245952 26-Jan-2013 pfg

Clean some 'svn:executable' properties in the tree.

Submitted by: Christoph Mallon
MFC after: 3 days


245869 24-Jan-2013 jasone

Update list of ports required for importing jemalloc.


245868 24-Jan-2013 jasone

Import jemalloc 3.3.0. This reduces zeroed memory validation overhead for
non-MALLOC_PRODUCTION builds.


245745 21-Jan-2013 theraven

Import new fix from libcxxrt. This fixes the case where you attempt to rethrow
an exception when you haven't caught one. This is largely a cosmetic fix, as
(unless you have a very unusual terminate handler installed) it will print a
nice error and then abort, rather than just aborting.

MFC after: 7 days


245642 19-Jan-2013 andrew

Don't use the pcs attribute on compilers that don't support it. We can
revert this when we stop supporting old versions of gcc.


245641 19-Jan-2013 andrew

Add a newline at the end of the file to stop gcc from complaining


245628 18-Jan-2013 andrew

Import compiler-rt r172839.

This brings in __aeabi_lcmp and __aeabi_ulcmp. It also fixes the spelling
of __aeabi_f2lz. Both changes originated on the arm_eabi project branch.


245539 17-Jan-2013 andrew

Add compiler support for the ARM EABI.

ARM EABI support is disabled by default and can be enabled by setting
WITH_ARM_EABI when building, however only the kernel-toolchain target will
work with this flag until the rest of the support is added.


245413 14-Jan-2013 andrew

Switch the default CPU to an arm9. This removes compiler support for the
unsupported 26-bit addressing mode. This change is required for moving to
the ARM EABI.


245327 12-Jan-2013 theraven

Fix libcxxrt / libc++ build with the clang in head.

Pointy hat to: theraven


245307 11-Jan-2013 obrien

Add support for Lua 5.2.

Submitted by: skreuzer


245304 11-Jan-2013 theraven

Merge new version of libcxxrt. This brings in three fixes:

- Don't treat pointers to members as pointers in catch blocks (they're usually
fat pointers).

- Correctly catch foreign exceptions in catchalls.

- Ensure that a happens-before relationship is established when setting
terminate handlers in one thread and calling them in another.


245272 10-Jan-2013 dim

Add an ugly hack to libgcc's unwind code, to make it behave properly at
runtime on amd64, when it is compiled by clang. Some versions of clang
don't save and restore all callee registers, if a __builtin_eh_return()
intrinsic is used in a function. This is particularly bad on amd64.

Until the problem gets fixed by upstream, use an asm statement to force
clang to assume the registers in question are clobbered, when invoking
__builtin_eh_return(), so it will emit code to save and restore them.

This should fix the crashes reported on -current with some C++ programs,
particularly those that throw exceptions over multiple function
boundaries.

Reported by: stefanf
MFC after: 3 days


244988 03-Jan-2013 delphij

MFV: one-true-awk 20121220.

MFC after: 1 month


244850 30-Dec-2012 nwhitehorn

Revert r241818 that updated dialog to 20120706. This turns out to horribly
break mixed form dialogs in conjunction with the FreeBSD termcap, making
the bsdinstall partition editor Add dialog, among other things, completely
nonfunctional. This restores dialog 20110707.


244834 29-Dec-2012 gshapiro

Update import info based on recent experiences and sendmail 8.14.6 import.

MFC after: 4 days


244833 29-Dec-2012 gshapiro

Merge sendmail 8.14.6 to HEAD

MFC after: 4 days


244792 28-Dec-2012 pfg

gcc: avoid generating negative values to DW_AT_byte_size.

The previous change was actually a NOP because size is
unsigned and compilers are dumb.

Submitted by: Christoph Mallon
MFC after: 1 week


244776 28-Dec-2012 pfg

gcc: avoid generating negative values to DW_AT_byte_size.

There is a bug in gcc (GCC/35998) where dwarf reports
sizes of unsigned -1 (0xffffffff).

On NetBSD this generated a faulty CTF entry which then
caused a segfault in ctfmerge. The issue was worked
around in NetBSD's Dtrace but since the issue originated
in gcc, it seems reasonable to fix it here.

Upstream gcc has been slow to react to this issue and
the author that submitted the patch is not interested
in licensing the change to us, so I did an independent
workaround for the issue.

MFC after: 1 week


244673 25-Dec-2012 andrew

Fix the __glibcxx_min and __glibcxx_max macros for a signed wchar_t.

* The __glibcxx_max macro came from GCC svn r138078, the last GPLv2
revision of this file.
* I wrote the updated __glibcxx_min macro.


244640 23-Dec-2012 andrew

Pull in r170096 from upstream clang trunk:

Initial support for FreeBSD on ARM.


244628 23-Dec-2012 dim

Upgrade our copy of llvm/clang to 3.2 release.

Release notes for llvm:
http://llvm.org/releases/3.2/docs/ReleaseNotes.html

Release notes for clang:
http://llvm.org/releases/3.2/tools/clang/docs/ReleaseNotes.html

MFC after: 2 weeks


244601 22-Dec-2012 mm

MFV r244559:
Update contrib/xz to version 5.0.4

MFC after: 2 weeks


244600 22-Dec-2012 dim

Fix a bug in ld --gc-sections: it strips out .note sections, while it
should never do so. This can cause global constructors and destructors
to not be executed at run-time, resulting in crashes and other strange
behaviour.

Reported by: rene
MFC after: 1 week


244598 22-Dec-2012 dim

Pull in r170353 from upstream llvm trunk:

Fix another SROA crasher, PR14601.

This was a silly oversight, we weren't pruning allocas which were used
by variable-length memory intrinsics from the set that could be widened
and promoted as integers. Fix that.

This should fix the following assertion failure:

Assertion failed: (CanSROA), function visitUsers, file
/usr/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/lib/Transforms/Scalar/SROA.cpp,
line 2395.

Reported by: gerald


244562 21-Dec-2012 brooks

Add NetBSD's mtree to the tree and install it as nmtree as the first step
towards replacing our mtree.

Sponsored by: DARPA, AFRL
Thanks to: cristos@NetBSD for reviewing and committing my patches
wiz@NetBSD for fixing typos in my patches


244437 19-Dec-2012 emaste

Support restrict qualifier in dwarf debug info

Newer clang/llvm emit DW_TAG_restrict_type, which wasn't handled by gdb.
Import support from Apple's gdb-1822:

| 2009-03-24 Jason Molenda (jmolenda@apple.com)
|
| * gdbtypes.c (make_cv_type): Rename this function to make_cvr_type to
| also handle restrict qualifiers.
| (check_typedef): Handle TYPE_RESTRICT.
| * gdbtypes.h (TYPE_FLAG_RESTRICT, TYPE_RESTRICT): New.
| * hpread.c (hpread_type_lookup): Update to use make_cvr_type.
| * stabsread.c (read_type): Pass the restrict qualifiers along.
| * parse.c (follow_types): Pass the restrict qualifiers along.
| * dwarf2read.c (read_tag_const_type): Call make_cvr_type.
| (read_tag_volatile_type): Same.
| (read_tag_restrict_type): New function.
| (read_type_die): Handle DW_TAG_restrict_type.

Obtained from: Apple
Sponsored by: ADARA Networks


244401 18-Dec-2012 brooks

Replace our implementation of the vis(3) and unvis(3) APIs with
NetBSD's. This output size limited versions of vis and unvis functions
as well as a set of vis variants that allow arbitrary characters to be
specified for encoding.

Finally, MIME Quoted-Printable encoding as described in RFC 2045 is
supported.


244276 15-Dec-2012 andrew

Don't define CTORS_SECTION_ASM_OP and DTORS_SECTION_ASM_OP on arm when
built with clang. When these are defined the lists are defined similar to:

asm(".section .ctors");
STATIC func_ptr __CTOR_LIST__[1] = { (func_ptr) (-1) };
asm(".section .dtors");
STATIC func_ptr __DTOR_LIST__[1] = { (func_ptr) (-1) };

The problem is clang will move the two arrays out of the .ctors and .dtors
sections causing these sections to contain a single null address. By not
defining these macros we use the version of the code that places the arrays
is their sections by using __attribute__((section(".ctors"))) and similar
for .dtors.

Submitted by: Daisuke Aoyama <aoyama AT peach.ne.jp>


244274 15-Dec-2012 andrew

Recognise vfpv2 as a value for the ARM .fpu asm directive. Clang generates
these even when building soft floating-point code

Submitted by: Daisuke Aoyama <aoyama AT peach.ne.jp>


244273 15-Dec-2012 andrew

Fix a comment in an asm block to work with compilers other than GCC


244265 15-Dec-2012 rwatson

Merge OpenBSM 1.2-alpha3 from the vendor branch to 10-CURRENT; this version
included various upstreamed patches from the FreeBSD base to make OpenBSM
compile more easily with bmake, higher warning levels, clang, and several
other loose ends.

Obtained from: TrustedBSD Project


244180 13-Dec-2012 rpaulo

Bump MAX_COLS to 512 to take advantage of wider terminals.


243981 07-Dec-2012 erwin

Update to 9.8.4-P1.

Security Fixes

Prevents named from aborting with a require assertion failure
on servers with DNS64 enabled. These crashes might occur as a
result of specific queries that are received.

New Features

* Elliptic Curve Digital Signature Algorithm keys and signatures in
DNSSEC are now supported per RFC 6605. [RT #21918]

Feature Changes

* Improves OpenSSL error logging [RT #29932]

* nslookup now returns a nonzero exit code when it is unable to get
an answer. [RT #29492]

Other critical bug fixes are included.

Approved by: delphij (mentor)
MFC after: 3 days
Security: CVE-2012-5688
Sponsored by: DK Hostmaster A/S


243933 06-Dec-2012 eadler

Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS in
share/mk/sys.mk instead.

This is part of a medium term project to permit deterministic builds of
FreeBSD.

Submitted by: Erik Cederstrand <erik@cederstrand.dk>
Reviewed by: imp, toolchain@
Approved by: cperciva
MFC after: 2 weeks


243830 03-Dec-2012 dim

Upgrade our copy of llvm/clang to r168974, from upstream's release_32
branch. This is effectively llvm/clang 3.2 RC2; the 3.2 release is
coming soon.


243829 03-Dec-2012 delphij

MFV: less v456.


243750 01-Dec-2012 rwatson

Merge OpenBSM 1.2-alpha2 from vendor branch to FreeBSD 10-CURRENT; the
primary new feature is auditdistd.

Obtained from: TrustedBSD Project
Sponsored by: The FreeBSD Foundation (auditdistd)


243673 29-Nov-2012 theraven

Merge new libc++ into head.


243649 28-Nov-2012 ume

cyrus-sasl 2.1.26 was released. In this version, the type of callback
functions was changed from "unsigned long" to "size_t".

Reviewed by: gshapiro
MFC after: 3 days


243572 26-Nov-2012 dim

Pull in r168610 from upstream libc++:

When using libc++ headers on FreeBSD, in combination with -std=c++98,
-ansi or -std=c++03, the long long type is not supported. So in this
case, several functions and types, like lldiv_t, strtoll(), are not
declared.

This should make it possible to use the libc++ headers in c++98 mode.

Note: libc++ is originally designed as a c++0x or higher library, so you
should still take care when using it with c++98 or c++03.

Noted by: Yamaya Takashi <yamayan@kbh.biglobe.ne.jp>
MFC after: 1 week


243419 23-Nov-2012 cperciva

MFS security patches which seem to have accidentally not reached HEAD:

Fix insufficient message length validation for EAP-TLS messages.

Fix Linux compatibility layer input validation error.

Security: FreeBSD-SA-12:07.hostapd
Security: FreeBSD-SA-12:08.linux
Security: CVE-2012-4445, CVE-2012-4576
With hat: so@


243115 16-Nov-2012 sjg

Merge bmake-20121111
Also pay attention to MK_SHARED_TOOLCHAIN.

Approved by: marcel (mentor)


243055 15-Nov-2012 marcel

Add ATF update instructions and file exclude list.

Submitted by: Garrett Cooper <yanegomi@gmail.com>


243054 15-Nov-2012 marcel

The *_STR* macros use strcmp() to check their arguments. Include string.h
to have this definition available.
Upstream commit: 1dc1884f778f88811583e6a54610a6d7e421ca63

Submitted by: Garrett Cooper <yanegomi@gmail.com>


243052 15-Nov-2012 marcel

Add support for DragonFly and FreeBSD.
Upstreamed:
http://code.google.com/p/kyua/issues/detail?id=45

Submitted by: Garrett Cooper <yanegomi@gmail.com>


243051 15-Nov-2012 marcel

Fix typos in description for exp{err,out}_mismatch_head.
Upstreamed:
http://code.google.com/p/kyua/issues/detail?id=44

Submitted by: Garrett Cooper <yanegomi@gmail.com>


243050 15-Nov-2012 marcel

Remove redundant text describing the cleanup routine.
Upstreamed:
http://code.google.com/p/kyua/issues/detail?id=43

Submitted by: Garrett Cooper <yanegomi@gmail.com>


243003 13-Nov-2012 edwin

Merge of vendor import of 242999, tzdata2012j

- Libya went to Standard Time on 10 November 2012


242945 13-Nov-2012 theraven

Import new version of libc++ into base.


242943 13-Nov-2012 emaste

Do not unwind past a zero PC frame.

This improves GDB usability when debugging code compiled with
optimization.

Upstream GDB revision f0031b6d3ae9b164b3747986ab898190bd4dcf8c (prior
to GDB's switch to GPLv3), with frame_debug_got_null_frame expanded
inline.

| 2004-12-12 Andrew Cagney <cagney@gnu.org>
|
| * frame.c (get_prev_frame): When unwinding normal frames, check
| that the PC isn't zero.

Sponsored by: ADARA Networks
MFC After: 1 month


242936 13-Nov-2012 emaste

Set optimized_out instead of reporting an error.

This provides a better display when debugging code compiled with
optimization on.

GDB git revision e8395b4efd184f745070afb953f451f99e922be7 (prior to GDB's
switch to GPLv3), modified for the interfaces provided by GDB 6.1.1.

2005-02-28 Daniel Jacobowitz <dan@codesourcery.com>

* dwarf2loc.c (loclist_read_variable): Set optimized_out
instead of reporting an error.
* valprint.c (value_check_printable): New function.
(common_val_print): New function. Use value_check_printable.
(value_print): Use value_check_printable.
* value.h (common_val_print): Add prototype.
* c-valprint.c (c_val_print): Use common_val_print.
* cp-valprint.c (cp_print_value_fields): Likewise.
(cp_print_hpacc_virtual_table_entries): Likewise.
* f-valprint.c (f_val_print): Likewise.
* jv-valprint.c (java_value_print, java_print_value_fields):
Likewise.
* scm-valprint.c (scm_value_print): Likewise.
* stack.c (print_frame_args): Likewise.
* varobj.c (c_value_of_variable): Likewise.
* p-valprint.c (pascal_val_print, pascal_value_print): Likewise.
(pascal_object_print_value_fields): Likewise. Update call to
pascal_object_print_static_field.
(pascal_object_print_static_field): Remove TYPE argument. Use
common_val_print.

Sponsored by: ADARA Networks
MFC after: 1 month


242927 12-Nov-2012 edwin

Merge of vendor import of 242925, tzdata2012i

Update to tzdata2012i:
- Cuba is changing back to Standard Time on 4 November 2012.


242888 11-Nov-2012 rpaulo

Add "pid" to the help menu (sort keys section).


242844 10-Nov-2012 jasone

Import jemalloc 3.2.0.


242835 09-Nov-2012 dim

Reduce LLVM's default stack alignment for i386 from 16 to 4 bytes, as
the FreeBSD ABI requires. This is essentially a revert of upstream llvm
commit r126226, and it will be reverted by upstream too.

MFC after: 1 week


242584 04-Nov-2012 delphij

MFV: less v453.


242380 30-Oct-2012 dim

Pull in r165377 from upstream llvm trunk:

X86: fcmov doesn't handle all possible EFLAGS, fall back to a branch
for the others.

Otherwise it will try to use SSE patterns and fail horribly if sse is
disabled.

Fixes PR14035.

This should fix the following assertion failure:

Assertion failed: (Reg >= X86::FP0 && Reg <= X86::FP6 && "Expected FP
register!"), function getFPReg, file
contrib/llvm/lib/Target/X86/X86FloatingPoint.cpp, line 330.

which can show up when compiling contrib/compiler-rt, using -march=i686
through -march=pentium3 (CPU's which do support fcmov, but don't support
SSE2).

MFC after: 1 week


242208 28-Oct-2012 edwin

Merge of vendor import of tzdata2012h

- Bahia no longer has DST.
- Tocantins has DST.
- Israel has new DST rules next year.
- Jordan stays on DST this winter.


242182 27-Oct-2012 kan

Follow clang lead and include mm_malloc.h only in hosted configurations.

This makes the use of intrinsics easier in kernel environment, according
to the submitter.

Requested by: jmg


242102 25-Oct-2012 sjg

Merge bmake-20121010

Approved by: marcel (mentor)


242080 25-Oct-2012 ed

Pull in r166498 from upstream clang trunk:

Add a new warning -Wmissing-variable-declarations, to warn about variables
defined without a previous declaration. This is similar to
-Wmissing-prototypes, but for variables instead of functions.


242007 24-Oct-2012 dim

Pull in r165367 from upstream llvm trunk:

Make sure always-inline functions get inlined. <rdar://problem/12423986>

Without this change, when the estimated cost for inlining a function with
an "alwaysinline" attribute was lower than the inlining threshold, the
getInlineCost function was returning that estimated cost rather than the
special InlineCost::AlwaysInlineCost value. That is fine in the normal
inlining case, but it can fail when the inliner considers the opportunity
cost of inlining into an internal or linkonce-odr function. It may decide
not to inline the always-inline function in that case. The fix here is just
to make getInlineCost always return the special value for always-inline
functions. I ran into this building clang with libc++. Tablegen failed to
link because of an always-inline function that was not inlined. I have been
unable to reduce the testcase down to a reasonable size.

This should fix the link errors that were reported when atf-run was
compiled with clang -stdlib=libc++. In this case, at -O3 optimization,
some calls to basic_ios::clear() were not inlined, even when the
function was marked __always_inline__.

Reported by: Jan Beich <jbeich@tormail.org>
MFC after: 1 week


241959 23-Oct-2012 dim

Fix a number of other clang warnings in libstdc++, which could appear
when building other C++ software with it. Also fix one actual bug in
libsupc++, which was exposed by such a warning. This latter fix is the
only functional change.

MFC after: 1 week


241958 23-Oct-2012 dim

Fix two clang warnings in the recent atf import. These have also been
sent upstream.

Tested by: Garrett Cooper <yanegomi@gmail.com>


241957 23-Oct-2012 dim

Fix several clang warnings in libstdc++, which were exposed by the
recent atf import. These changes are purely cosmetic, no functional
change.

MFC after: 1 week


241907 22-Oct-2012 dim

Fix two -Wsystem-header warnings in libc++ that were exposed by the new
ATF import. These have also been sent upstream.

MFC after: 1 month


241906 22-Oct-2012 delphij

MFV: netcat from OpenBSD 5.2.

MFC after: 1 month


241903 22-Oct-2012 dim

Import libc++ trunk r165949. Among other improvements and bug fixes,
this has many visibility problems fixed, which should help with
compiling certain ports that exercise C++11 mode (i.e. Firefox).

Also, belatedly add the LICENSE.TXT and accompanying CREDITS.TXT files,
which are referred to in all the source files.

MFC after: 1 month


241895 22-Oct-2012 dim

Pull in r165878 from upstream llvm trunk:

X86: Disable long nops for all cpus prior to pentiumpro/i686.

This is the safest approach for now. If you think long nops matter a
lot for performance, compile with -march=i686 or higher. :)

MFC after: 3 days


241869 22-Oct-2012 edwin

MFV of r241867

Merge of tzdata2012g into head:

- Fix end of DST in Gaza and Hebron
- Western Samoa: DST start at 30 Septembet 2012 and finished at 7 April 2013.


241818 21-Oct-2012 nwhitehorn

Update dialog to 20120706: includes minor useability enhancements and
fixes for warnings encountered with clang.


241775 20-Oct-2012 uqs

strcmp(3) will suffice here, also follow the style of the remaining file more closely.

Prodded by: ed


241774 20-Oct-2012 uqs

Apply local patches to mandoc and connect it to the build.

- adds a couple more library strings used in the tree
- changes some more to the current groff spelling
- changes page footer to match groff style


241754 19-Oct-2012 uqs

Merge mandoc from vendor into contrib and provide the necessary Makefile glue.

It's not yet connected to the build.


241731 19-Oct-2012 brooks

Replace our version of the pwcache(3) API with NetBSD's implementation.

This adds two features:
* uid_from_user() and gid_from_group() as the reverse of user_from_uid()
and groups_from_gid().
* pwcache_userdb() and pwcache_groupdb() which allow alternative lookup
functions to be used. For example lookups from passwd and group
databases in a non-standard location.


241685 18-Oct-2012 glebius

Looks like support.h is really not needed here.


241656 18-Oct-2012 emax

put another bandaid on the build until i figure out bsnmp headers


241654 17-Oct-2012 emax

fix build

MFC after: 1 week


241511 13-Oct-2012 gabor

- Remove GNU sort and the WITH_GNU_SORT knob


241430 10-Oct-2012 dim

Pull in r164132 from upstream llvm trunk:

When creating MCAsmBackend pass the CPU string as well. In X86AsmBackend
store this and use it to not emit long nops when the CPU is geode which
doesnt support them.

Fixes PR11212.

Pull in r164133 from upstream clang trunk:

Follow up on llvm r164132.

This should prevent illegal instructions when building world on Geode
CPUs (e.g. Soekris).

MFC after: 3 days


241427 10-Oct-2012 dim

Pull in r163710 from upstream llvm trunk:

Add support for AMD Geode.

MFC after: 3 days


241414 10-Oct-2012 delphij

Upgrade to 9.8.3-P4:

Prevents a lockup when queried a deliberately constructed combination
of records. [CVE-2012-5166]

For more information: https://kb.isc.org/article/AA-00801


241235 05-Oct-2012 delphij

MFV: tcpdump 4.3.0.

MFC after: 4 weeks


241231 05-Oct-2012 delphij

MFV: libpcap 1.3.0.

MFC after: 4 weeks


241221 05-Oct-2012 glebius

Provide ability for printing and decoding pfsync(4) traffic. This
doesn't mean supporting IFT_PFSYNC (which I hope will eventually
die). This means decoding packets with IP protocol of 240 caught
on any normal interface like Ethernet.

The code is based on couple of files from OpenBSD, significantly
modified by myself.

Parser differentiates for four levels of verbosity: no -v, -v,
-vv and -vvv.

We don't yet forward this code upstream, because currently it
strongly relies on if_pfsync.h and even on pfvar.h. I hope that
this can be fixed in future.

Reviewed by: gnn, delphij


241163 03-Oct-2012 dim

Pull in r164717 from upstream clang trunk:

Allow -MF to be used in combination with -E -M or -E -MM.

This should help with building the lang/ghc port.

MFC after: 1 week


241146 03-Oct-2012 marcel

Merge bmake-20120831 from vendor/NetBSD/bmake/dist.

Provenance: ftp://ftp.netbsd.org/pub/NetBSD/misc/sjg


241021 28-Sep-2012 kevlo

Make sure that each va_start has one and only one matching va_end,
especially in error cases.


240833 22-Sep-2012 pjd

Add libsbuf.


240734 20-Sep-2012 glebius

Re-do r240271:
- Set IP_RECVDSTADDR sockopt on the socket only in case if
it is INADDR_ANY bound.
- Supply IP_SENDSRCADDR control message only if we did receive
IP_RECVDSTADDR control message.

This fixes operation of snmpd bound to a specific local IP address.

PR: bin/171279


240729 20-Sep-2012 dougb

Upgrade to 9.8.3-P3:

Prevents a crash when queried for a record whose RDATA exceeds
65535 bytes.

Prevents a crash when validating caused by using "Bad cache" data
before it has been initialized.

ISC_QUEUE handling for recursive clients was updated to address
a race condition that could cause a memory leak. This rarely
occurred with UDP clients, but could be a significant problem
for a server handling a steady rate of TCP queries.

A condition has been corrected where improper handling of
zero-length RDATA could cause undesirable behavior, including
termination of the named process.

For more information: https://kb.isc.org/article/AA-00788


240725 20-Sep-2012 kevlo

Fix typo: s/pakcet/packet


240531 15-Sep-2012 dim

Pull in r163967 from upstream llvm trunk:

X86: Emitting x87 fsin/fcos for sinf/cosf is not safe without unsafe
fp math.

This should make clang emit calls to libm for sinf/cosf by default.

MFC after: 1 week


240517 14-Sep-2012 bapt

update to version 20120526


240494 14-Sep-2012 glebius

o Create directory sys/netpfil, where all packet filters should
reside, and move there ipfw(4) and pf(4).

o Move most modified parts of pf out of contrib.

Actual movements:

sys/contrib/pf/net/*.c -> sys/netpfil/pf/
sys/contrib/pf/net/*.h -> sys/net/
contrib/pf/pfctl/*.c -> sbin/pfctl
contrib/pf/pfctl/*.h -> sbin/pfctl
contrib/pf/pfctl/pfctl.8 -> sbin/pfctl
contrib/pf/pfctl/*.4 -> share/man/man4
contrib/pf/pfctl/*.5 -> share/man/man5

sys/netinet/ipfw -> sys/netpfil/ipfw

The arguable movement is pf/net/*.h -> sys/net. There are
future plans to refactor pf includes, so I decided not to
break things twice.

Not modified bits of pf left in contrib: authpf, ftp-proxy,
tftp-proxy, pflogd.

The ipfw(4) movement is planned to be merged to stable/9,
to make head and stable match.

Discussed with: bz, luigi


240457 13-Sep-2012 edwin

MFV of 240454, tzdata2012f

- Pacific/Fiji will go into DST from 21 October 2012 till 20 January 2013.
- Fix offset for Pacific/Tokelau.
- Gaza and West Bank had DST from 29 March to 28 September 2012.
- Syria has DST from April till October
- Morocco had DST from April to September 2012 except for 20 July to 20 August.
- Cuba changed to DST from 1 April 2012 only.
- Haiti has DST between 8 March and 1 November in 2012.

Obtained from: ftp://ftp.iana.org/tz/releases/


240373 11-Sep-2012 delphij

Remove a few files that are not needed for FreeBSD.

PR: bin/171555
Approved by: obrien


240292 10-Sep-2012 gshapiro

Properly define true/false when defining __bool_true_false_are_defined
for filters which pull in mfapi.h before stdbool.h. Issue reported by
Petr Rehor, maintainer of amavisd-milter port.

MFC after: 3 days


240271 09-Sep-2012 glebius

For UDP transport set IP_RECVDSTADDR sockopt on the socket, and provide
IP_SENDSRCADDR control with datagram message we reply with. This makes
bsnmpd reply from exactly same address that request was sent to, thus
successfully bypassing stateful firewalls or other kinds of strict checking.

PR: bin/171279


240234 08-Sep-2012 glebius

The first part of check_priv() function, that attempts to obtain creds
from the control message, actually never worked. This means check_priv()
didn't work for local dgram sockets.

The SCM_CREDS control messages is received only in two cases:

1) If we did setsockopt(LOCAL_CREDS) on our socket, and in this case
the message is struct sockcred.
2) If sender did supplied SCM_CREDS control message in his sendmsg()
syscall. In this case the message is struct cmsgcred.

We can't rely on 2), so we will use 1) for dgram sockets. For stream
sockets it is more reliable to obtain accept-time credentials, since
SCM_CREDS control message is attached only on first read. Thus:

o Do setsockopt(LOCAL_CREDS) on local dgram sockets.
o Split check_priv() into check_priv_stream() and check_priv_dgram(),
and call them from recv_stream() and recv_dgram() respectively.
o Don't provide space for SCM_CREDS control message in recv_stream().
o Provide space for SCM_CREDS control message in recv_dgram(), but there
is no need to initialize anything in it.
o In recv_dgram() do not blindly expect that first message is SCM_CREDS,
instead use correct search cycle through control messages.


240233 08-Sep-2012 glebius

Merge the projects/pf/head branch, that was worked on for last six months,
into head. The most significant achievements in the new code:

o Fine grained locking, thus much better performance.
o Fixes to many problems in pf, that were specific to FreeBSD port.

New code doesn't have that many ifdefs and much less OpenBSDisms, thus
is more attractive to our developers.

Those interested in details, can browse through SVN log of the
projects/pf/head branch. And for reference, here is exact list of
revisions merged:

r232043, r232044, r232062, r232148, r232149, r232150, r232298, r232330,
r232332, r232340, r232386, r232390, r232391, r232605, r232655, r232656,
r232661, r232662, r232663, r232664, r232673, r232691, r233309, r233782,
r233829, r233830, r233834, r233835, r233836, r233865, r233866, r233868,
r233873, r234056, r234096, r234100, r234108, r234175, r234187, r234223,
r234271, r234272, r234282, r234307, r234309, r234382, r234384, r234456,
r234486, r234606, r234640, r234641, r234642, r234644, r234651, r235505,
r235506, r235535, r235605, r235606, r235826, r235991, r235993, r236168,
r236173, r236179, r236180, r236181, r236186, r236223, r236227, r236230,
r236252, r236254, r236298, r236299, r236300, r236301, r236397, r236398,
r236399, r236499, r236512, r236513, r236525, r236526, r236545, r236548,
r236553, r236554, r236556, r236557, r236561, r236570, r236630, r236672,
r236673, r236679, r236706, r236710, r236718, r237154, r237155, r237169,
r237314, r237363, r237364, r237368, r237369, r237376, r237440, r237442,
r237751, r237783, r237784, r237785, r237788, r237791, r238421, r238522,
r238523, r238524, r238525, r239173, r239186, r239644, r239652, r239661,
r239773, r240125, r240130, r240131, r240136, r240186, r240196, r240212.

I'd like to thank people who participated in early testing:

Tested by: Florian Smeets <flo freebsd.org>
Tested by: Chekaluk Vitaly <artemrts ukr.net>
Tested by: Ben Wilber <ben desync.com>
Tested by: Ian FREISLICH <ianf cloudseed.co.za>


240191 07-Sep-2012 kevlo

Fully initialize the stack-allocated "struct sockaddr_in sa" structure.


240163 06-Sep-2012 emaste

Fix "Corrupted DWARF expression" from (k)gdb.

Google turned up Debian bug 405116, which describes the problem in
sufficient detail to identify the overflowing variables.

MFC after: 1 week


240141 05-Sep-2012 marcel

Update to a pruned 0.16.


240122 04-Sep-2012 marcel

Add headers created by running configure.


240120 04-Sep-2012 marcel

Merge ATF 0.16 from vendor/atf/dist.

Provenance: http://code.google.com/p/kyua
Discussed with: gibbs, gnn, keramida, mdf, mlaier,
Discussed with: Garrett Cooper


239998 02-Sep-2012 andrew

Fix a logic inversion in an assert to allow us to use dts files that
include other files.


239962 31-Aug-2012 dim

Fix a twelve year old bug in readelf: when process_dynamic_segment()
encounters a DT_RUNPATH entry, the global dynamic_info[] array is
overrun, causing some other global variable to be overwritten.

In my testcase, this was the section_headers variable, leading to
segfaults or jemalloc assertions when it was freed later on.

Thanks to Koop Mast for providing samples of a few "bad" .so files.

MFC after: 1 week


239870 29-Aug-2012 dim

Teach gdb about the DW_FORM_flag_present dwarf attribute, so it doesn't
error out on files that contain it. (This attribute can be emitted by
newer versions of clang.)

MFC after: 2 weeks


239622 23-Aug-2012 mm

Apply fix for vendor pull request #17:
Support appending to empty archives

References:
https://github.com/libarchive/libarchive/pull/17

Submitted by: myself
Obtained from: libarchive master branch on github


239619 23-Aug-2012 dim

Pull in r162360 from upstream clang trunk:

Merge existing attributes before processing pragmas in friend template
declarations.
Fixes pr13662.

This should help when building Firefox with libc++.


239618 23-Aug-2012 dim

Since our clang now supports the tls_model attribute, remove the
workaround for it in jemalloc_FreeBSD.h.

Reviewed by: jasone


239477 21-Aug-2012 ache

According to resolvconf.conf(5) manpage and sources, there is no
'nameservers' option which used in examples in resolvconf.conf(5),
it spelled 'name_servers', so fix examples.


239462 20-Aug-2012 dim

Upgrade our copy of llvm/clang to trunk r162107. With thanks to
Benjamin Kramer and Joerg Sonnenberger for their input and fixes.


239360 17-Aug-2012 obrien

Catch up with the subversion conversion and apply these build-time patches.


239348 17-Aug-2012 mckay

Correct a regression introduced during the import of file(1) 5.11.

Magic tests containing "search" or "regex" directives were incorrectly
compiled by "mkmagic" and were effectively ignored. This caused troff
files (for example) to be detected as simply "ASCII text" instead of
as "troff or preprocessor input, ASCII text".

PR: bin/170415
Approved by: consensus on developers@
MFC after: 3 days


239272 15-Aug-2012 gonzo

Merging of projects/armv6, part 3

r238211:
Support TARGET_ARCH=armv6 and TARGET_ARCH=armv6eb

This adds a new TARGET_ARCH for building on ARM
processors that support the ARMv6K multiprocessor
extensions. In particular, these processors have
better support for TLS and mutex operations.

This mostly touches a lot of Makefiles to extend
existing patterns for inferring CPUARCH from ARCH.
It also configures:
* GCC to default to arm1176jz-s
* GCC to predefine __FreeBSD_ARCH_armv6__
* gas to default to ARM_ARCH_V6K
* uname -p to return 'armv6'
* make so that MACHINE_ARCH defaults to 'armv6'
It also changes a number of headers to use
the compiler __ARM_ARCH_XXX__ macros to configure
processor-specific support routines.

Submitted by: Tim Kientzle <kientzle@freebsd.org>


239169 10-Aug-2012 delphij

RFC 2289 requires all hashes be stored in little endian format before
folding to 64 bits, while SHA1 code is big endian. Therefore, a bswap32
is required before using the value.

Without this change, the implementation does not conform to test vector
found in RFC 2289.

PR: bin/170519
Submitted by: Arthur Mesh <arthurmesh gmail com> (with changes)
MFC after: 1 week


239138 08-Aug-2012 andrew

Import compiler-rt r160957.

This is mostly a no-op other than for ARM where it adds missing
__aeabi_mem* and __aeabi_*divmod functions. Even on ARM these will remain
unused until the rest of the ARM EABI code is merged.


238909 30-Jul-2012 mm

Backport NFSv4 ACL fix from libarchive master branch.

Source:
https://github.com/libarchive/libarchive/commit/f67370d5

Obtained from: libarchive (master branch)


238882 29-Jul-2012 mm

Fix endless loop if reading unsupported ACL type.
Apply fix from vendor's master branch.

References:
https://github.com/libarchive/libarchive/commit/d8b9dbd

Reported on: freebsd-current@
Obtained from: libarchive


238864 28-Jul-2012 dim

Similar to what is already done for Linux, make clang not complain about
unused -g, -emit-llvm or -w arguments when doing linking. E.g. invoking
"clang -g foo.o -o foo" will now be silent.

Reported by: Jakub Lach <jakub_lach@mailplus.pl>
MFC after: 1 week


238863 28-Jul-2012 dim

Similar to r238472, let clang pass --enable-new-dtags to the linker
invocation by default. Also make sure --hash-style=both is passed for
the same arches as gcc, e.g. arm, sparc and x86.

X-MFC-with: r238472


238856 28-Jul-2012 mm

Update libarchive to 3.0.4


238827 27-Jul-2012 mm

Update information on obtaining libarchive sources and FreeBSD-Xlist


238800 26-Jul-2012 ru

Pull up vendor changes to mdoc(7).


238799 26-Jul-2012 ru

Backed out r228904, and added libstdthreads support to mdoc(7) to where
it belongs.


238798 26-Jul-2012 ru

Backed out r236255, and added FreeBSD 9.1 support to mdoc(7) to where
it belongs.


238763 25-Jul-2012 imp

Preen unused Makefiles, programs and ftdump.c which has been renamed
to fdtdump.c in the upstream repo. This escaped my attention in the
import.


238746 24-Jul-2012 dougb

Heavy DNSSEC Validation Load Can Cause a "Bad Cache" Assertion Failure
in BIND9

High numbers of queries with DNSSEC validation enabled can cause an
assertion failure in named, caused by using a "bad cache" data structure
before it has been initialized.

CVE: CVE-2012-3817
Posting date: 24 July, 2012


238742 24-Jul-2012 imp

Update to latest git version of dtc to get new dtsv2 support,
including the include directive.

Fix minor build issue corrected by converting yypush_buffer_state and
yypop_buffer_state to yy_set_buffer_state and a hard-coded 100-deep
stack. It was easier to fix it here than to import that support into
our flex.

The new tools and test hardness remain unsupported at the moment.


238730 24-Jul-2012 delphij

MFV: less v451.


238472 15-Jul-2012 kib

Pass --enable-new-dtags to the linker invocation by default. If
desired, one can turn off the generation of post-ELF standard dtags by
overriding it with --disable-new-dtags after the default switch.

Immediate effect of the change is that -rpath path is now stored both
in DT_RPATH and DT_RUNPATH tags, which is the right way to provide
rpath for dynamic linker supporting DT_RUNPATH per specification.

Reviewed by: kan
MFC after: 1 month


238429 13-Jul-2012 dim

Pull in r159895 from upstream clang trunk:

When marking virtual functions as used for a class' vtable, mark all functions
which will appear in the vtable as used, not just those ones which were
declared within the class itself. Fixes an issue reported as comment#3 in
PR12763 -- we sometimes assert in codegen if we try to emit a reference to a
function declaration which we've not marked as referenced. This also matches
gcc's observed behavior.

This should fix clang assertions when building certain components of the
LibreOffice port.

MFC after: 3 days


238167 06-Jul-2012 jhb

Add support for the 'invept' and 'invvpid' instructions. Beyond simply
adding appropriate table entries, the assembler had to be adjusted as
these are the first non-SSE instructions to use a 3-byte opcode (and a
mandatory prefix to boot).

MFC after: 1 month


238123 04-Jul-2012 jhb

Add support for the 'xsave', 'xrstor', 'xsaveopt', 'xgetbv', and 'xsetbv'
instructions. I reimplemented this from scratch based on the Intel
manuals and the existing support for handling the fxsave and fxrstor
instructions. This will let us use these instructions natively with GCC
rather than hardcoding the opcodes in hex.

Reviewed by: kib
MFC after: 1 month


237656 27-Jun-2012 jhb

Add a new line to top that provides a brief summary of the ZFS ARC memory
usage on hosts using ZFS. The new line displays the total amount of RAM
used by the ARC along with the size of MFU, MRU, anonymous (in flight),
headers, and other (miscellaneous) sub-categories. The line is not
displayed on systems that are not using ZFS.

Reviewed by: avg, fs@
MFC after: 3 days


237635 27-Jun-2012 joel

mdocify and update the traceroute(8) manual page.

Reviewed by: brueffer
No objection: ru, uqs


237613 26-Jun-2012 delphij

MFV: less v449.


237406 21-Jun-2012 pfg

Bring a couple of fixes for gcc optimizations.

The GCC4.3 branch contains some optimization fixes
that were not considered regressions and therefore
were never backported. We are bringing a couple of
them that are under GPLv2 since they were made
before the license switch upstream.

While here, add the GCC revision numbers in the
log.

Discussed with: jkim
MFC after: 1 week


237194 17-Jun-2012 joel

Remove end of line whitespace.


237193 17-Jun-2012 joel

Minor mdoc fixes.


237190 17-Jun-2012 joel

Remove superfluous paragraph macro.


237099 14-Jun-2012 marius

Merge r236137 from x86:
Enable GNU hash generation for dynamic ELF binaries.


237021 13-Jun-2012 pfg

Revert r236962 - Experimental amdfam10/barcelona support.

The patches are unexpectedly causing gcc to fail while
building ports/graphics/ImageMagick even when the cpu
flags are not used.

Reported by: Andreas Tobler


236964 12-Jun-2012 pfg

Space mismatch - typo in r236962.

Found by: Dima Panov
Approved by: jhb (mentor)
MFC after: 2 weeks


236962 12-Jun-2012 pfg

Add experimental support for amdfam10/barcelona from the GCC 4.3 branch.

Initial support for the AMD barcelona chipsets has been available in the
gcc43 branch under GPLv2 but was not included when the Core 2 support
was brought to the system gcc.

AMD and some linux distributions (OpenSUSE) did a backport of the amdfam10
support and made them available. Unfortunately this is still experimental
and while it can improve performance, enabling the CPUTYPE may break some
C++ ports (like clang).

Special care was taken to make sure that the patches predate the GPLv3
switch upstream.

Tested by: Vladimir Kushnir
Reviewed by: mm
Approved by: jhb (mentor)
MFC after: 2 weeks


236829 10-Jun-2012 pfg

Bring a couple of libstdc++ patches from Apple's llvm-gcc project.

Modified Fri Jul 10 07:44:34 2009 CDT by rafael
backport part of
http://gcc.gnu.org/ml/gcc-cvs/2007-10/msg00118.html

The patch is for libstdc++ and it was GPL2 at the time.

Modified Tue Apr 29 01:20:19 2008 CDT by asl
Backport from mainline (pre-GPLv3).
Fix for sizeof(const void*) > sizeof(unsigned long).

Approved by: jhb (mentor)
MFC after: 2 weeks


236693 06-Jun-2012 emax

Count both IPv4 and IPv6 TCP connections in tcpCurrEstab

Timeout from: current, syrinx
MFC after: 1 week


236586 04-Jun-2012 dougb

Upgrade to 9.8.3-P1, the latest from ISC. This version contains
a critical bugfix:

Processing of DNS resource records where the rdata field is zero length
may cause various issues for the servers handling them.

Processing of these records may lead to unexpected outcomes. Recursive
servers may crash or disclose some portion of memory to the client.
Secondary servers may crash on restart after transferring a zone
containing these records. Master servers may corrupt zone data if the
zone option "auto-dnssec" is set to "maintain". Other unexpected
problems that are not listed here may also be encountered.

All BIND users are strongly encouraged to upgrade.


236387 01-Jun-2012 dim

Fix dangling else in libc++'s __bit_reference header. This has also
been sent upstream.

MFC after: 3 days


236386 01-Jun-2012 dim

Pull in r155978 from upstream llvm trunk:

Fix unintentional use of operator bool.

This enables llvm's bugpoint tool to build with libc++.

MFC after: 3 days


236329 30-May-2012 marius

Merge r236137 from x86:
Enable GNU hash generation for dynamic ELF binaries.

While at it, sync the order of options with x86 and pass along the verbose
flag.


236260 29-May-2012 dim

Pull in r156591 from upstream llvm trunk:

Allow unique_file to take a mode for file permissions, but default
to user only read/write.

and r156592 from upstream clang trunk:

For final output files create them with mode 0664 to match other
compilers and expected defaults.

This should fix clang creating files with mode 0600.

Reported by: James <james@hicag.org>
MFC after: 3 days


236258 29-May-2012 dim

For clang, similar to r236137, enable gnu hash generation for dynamic
ELF binaries on x86.


236255 29-May-2012 obrien

Add the latest FreeBSD versions.


236196 28-May-2012 dougb

Upgrade to BIND version 9.8.3, the latest from ISC.

Feature Change

* BIND now recognizes the TLSA resource record type, created to
support IETF DANE (DNS-based Authentication of Named Entities)

Bug Fix

* The locking strategy around the handling of iterative queries
has been tuned to reduce unnecessary contention in a multi-
threaded environment.

Other critical bug fixes are included.

All BIND users are encouraged to upgrade.


236149 27-May-2012 dim

Pull in r157212 from upstream clang trunk:

Revert r115805. An array type is required to have a range type,
however, the range can be unknown for the upper bound.

Testcase to follow.

Part of rdar://11457152

This should fix ctfconvert producing error messages during kernel
builds, similar to:

ERROR: scsi_all.c: die 24561: failed to retrieve array bounds

These were caused by incorrect debug information for flexible array
members of structs.

MFC after: 3 days


236137 27-May-2012 kib

Enable gnu hash generation for dynamic ELF binaries on x86.

Reviewed by: kan


236126 26-May-2012 des

OpenPAM Micrampelis was re-rolled due to a showstopper bug.


236109 26-May-2012 des

Update to OpenPAM Micrampelis.


235865 23-May-2012 obrien

Revert r235797. GCC's mis-assumptions has led to incorrect usage of
"%q[diouxX]" within FreeBSD sources.


235864 23-May-2012 dim

Upgrade our copy of llvm/clang to 3.1 release. Release notes can be
found at: http://llvm.org/releases/3.1/docs/ReleaseNotes.html

MFC after: 3 days


235797 22-May-2012 obrien

Do not incorrectly warn when printing a quad_t using "%qd" on 64-bit platforms.


235794 22-May-2012 obrien

Record that r235793 (-objc) has been merged from vendor/gcc into HEAD.


235773 22-May-2012 dim

Correct use_screen() and use_window() prototypes in curs_threads(3x).

Submitted by: Yanhui Shen <shen.elf@gmail.com>
MFC after: 3 days


235723 21-May-2012 bapt

Import byacc from invisible island, it brings us lots of compatibilities with
bison, keeping full compatibility with our previous yacc implementation.

Also bring the ability to create reentrant parser

This fix bin/140309 [1]

PR: bin/140309 [1]
Submitted by: Philippe Pepiot <ksh@philpep.org> [1]
Approved by: des (mentor)
MFC after: 1 month


235716 21-May-2012 stas

- On FreeBSD, com_err.h is installed into /usr/include, not /usr/include/krb5.
Reflect that in the manpage.

PR: bin/167986
Reported by: truckman@


235623 18-May-2012 pfg

Bring in a subset of gcc fixes that were back ported to
the GCC 4.1 branch and are available under GPLv2.

2007-11-07 Eric Botcazou <ebotcazou@libertysurf.fr>

PR rtl-optimization/33822
* rtl.h (REG_OFFSET): Fix comment.
* var-tracking.c (INT_MEM_OFFSET): New macro.
(var_mem_set): Use it.
(var_mem_delete_and_set): Likewise.
(var_mem_delete): Likewise.
(vt_get_decl_and_offset): Likewise.
(offset_valid_for_tracked_p): New predicate.
(count_uses): Do not track locations with invalid offsets.
(add_uses): Likewise.
(add_stores): Likewise.
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129972

2007-11-16 Richard Guenther <rguenther@suse.de>
PR middle-end/34030
* fold-const.c (fold_binary): Use correct types for folding
1 << X & Y to Y >> X & 1.
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130242

2008-01-14 Eric Botcazou <ebotcazou@adacore.com>

PR rtl-optimization/31944
* cse.c (remove_pseudo_from_table): New function.
(merge_equiv_classes): Use above function to remove pseudo-registers.
(invalidate): Likewise
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131524

2008-01-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>

Backport:
2007-11-07 Kenneth Zadeck <zadeck@naturalbridge.com>

PR middle-end/33826
* ipa-pure-const (static_execute): Added code to keep recursive
functions from being marked as pure or const.
* ipa-utils (searchc): Fixed comment.
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131807

2008-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>

Backport:
2007-08-02 Nathan Froyd <froydnj@codesourcery.com>

PR middle-end/25445
* varasm.c (default_binds_local_p_1): Consult flag_whole_program
if we are compiling with -fPIC.
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132061

2008-02-04 Richard Guenther <rguenther@suse.de>

PR middle-end/33631
* expr.c (count_type_elements): Give for unions instead of
guessing.
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132101

2008-02-14 Alan Modra <amodra@bigpond.net.au>

PR target/34393
* config/rs6000/rs6000.md (restore_stack_block): Force operands[1]
to a reg.
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132309

2008-03-25 Richard Guenther <rguenther@suse.de>

Backport from mainline:
2008-02-12 Richard Guenther <rguenther@suse.de>

PR middle-end/35163
* fold-const.c (fold_widened_comparison): Use get_unwidened in
value-preserving mode. Disallow final truncation.
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133509

2008-11-30 Eric Botcazou <ebotcazou@adacore.com>

PR target/38287
* config/sparc/sparc.md (divsi3 expander): Remove constraints.
(divsi3_sp32): Add new alternative with 'K' for operand #2.
(cmp_sdiv_cc_set): Factor common string.
(udivsi3_sp32): Add new alternative with 'K' for operand #2.
Add TARGET_V9 case.
(cmp_udiv_cc_set): Factor common string.
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142298

Reviewed by: mm
Approved by: jhb (mentor)
MFC after: 1 week


235530 17-May-2012 delphij

Merge tcpdump 4.2.1.

MFC after: 2 weeks


235429 14-May-2012 delphij

Add 3 missing files that was generated but not included with the initial
commit.

Reported by: buganini via IRC
MFC after: 2 weeks


235426 14-May-2012 delphij

Merge from vendor branch: update libpcap to 1.2.1.

MFC after: 2 weeks


235389 13-May-2012 marius

Regenerate after r235388.


235388 13-May-2012 marius

- Get rid of debugging support in order to get rid of the V8-specific C
compiler frame size used there so this whole thing is V8/V9-agnostic.
- Use 32-bit function alignment as GCC does when using UltraSPARC I or
higher optimizations.
- Don't waste delay slots when possible.

Unfortunately, this still doesn't make libcompiler_rt a viable replacement
for libgcc on sparc64 though as once installed instead, buildworld times
increase by nearly 60% (which isn't related to these assembler functions).


235385 13-May-2012 jasone

Fix config_lazy_lock so that thread caching isn't used for
single-threaded applications.


235322 12-May-2012 jasone

Import jemalloc 3.0.0. This fixes memory zeroing bugs that manifested as
jemalloc assertion failures for debug builds, or as calloc() sometimes
returning non-zeroed memory for production builds.


235286 11-May-2012 gjb

General mdoc(7) and typo fixes.

PR: 167734
Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org)
MFC after: 3 days


235238 10-May-2012 jasone

Import jemalloc 37b6f95dcd866f51c91488531a2efc3ed4c2b754 (dev branch,
prior to 3.0.0 release). This version is likely very close to what will be
3.0.0.


235133 07-May-2012 dim

Revert r234656, and apply a proper fix for binutils PR 10474, which
caused linking clang on 32-bit PowerPC to fail with "relocation
truncated to fit: R_PPC_REL24" errors.

Original diffs (relicensed under GPLv2 with permission from author):
http://sourceware.org/git/?p=binutils.git;a=commit;h=1fd262ff7d7ea5adf4894c6b960e092e7e43e3cd
http://sourceware.org/git/?p=binutils.git;a=commit;h=053c49fbff58bd33bd0d12200ea61302f92caceb

Tested by: andreast
MFC after: 1 week


235038 04-May-2012 delphij

Update FREEBSD-vendor to reflect the current version.


235037 04-May-2012 delphij

Merge from OpenBSD 5.1.

MFC after: 3 weeks


234982 03-May-2012 dim

Upgrade our copy of llvm/clang to r155985, from upstream's release_31
branch. This brings us very close to the 3.1 release, which is planned
for May 14th.

MFC after: 2 weeks


234976 03-May-2012 theraven

Import new version of libc++. Among other improvements, this comes with an
<atomic> header that works with clang 3.1 (and, importantly, the pre-3.1
snapshot currently in head)


234855 30-Apr-2012 gonzo

Unbreak jemalloc build with MALLOC_PRODUCTION set. New jemalloc version
uncovered MIPS-related gcc bug described in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33256

The patch was obtained from r128198 in gcc-4_1-branch, which is GPLv2,
so it's OK to merge it.


234729 27-Apr-2012 des

r234173 missed one instance of FREE(line).

Noticed by: glebius@


234701 26-Apr-2012 tuexen

Fix a bug in the TCP tracerouting which resulted in not accepting any
incoming packets. So all packets seemed to be lost.

MFC after: 1 week


234658 24-Apr-2012 dim

Work around llvm PR 12623, which makes variables declared with .symver
sometimes disappear from the resulting object file, if compiled with
clang. In particular, this can lead to errors when building world with
clang and -g, similar to:

/usr/obj/usr/src/tmp/usr/lib/libc.so: undefined reference to `_malloc_options'

Reported by: Conrad J. Sabatier <conrads@.no.cox.net>
Reviewed by: jasone


234646 24-Apr-2012 jchandra

jemalloc: pointer size definition for 64-bit mips platforms

LG_SIZEOF_PTR has to be defined as 3 when jemalloc is compiled for
64 bit platforms.

Reviewed by: juli
Approved by: jasone


234569 22-Apr-2012 jasone

Import jemalloc a8f8d7540d66ddee7337db80c92890916e1063ca (dev branch,
prior to 3.0.0 release). This fixes several bugs related to memory
initialization.

Mangle __jemalloc_a0{malloc,calloc,free}() just like all the other
library-internal symbols in jemalloc, and adjust the tls allocation code
in libc to use the mangled names.


234543 21-Apr-2012 jasone

Import jemalloc 606f1fdc3cdbc700717133ca56685313caea24bb (dev branch,
prior to 3.0.0 release), and mangle internal symbols.


234449 19-Apr-2012 obrien

Update file(1) to version 5.11.


234402 17-Apr-2012 jasone

Import jemalloc b57d3ec571c6551231be62b7bf92c084a8c8291c (dev branch,
prior to 3.0.0 release), which supports atomic operations based on atomic(9).
This should fix build failures for several platforms.


234370 17-Apr-2012 jasone

Import jemalloc 9ef7f5dc34ff02f50d401e41c8d9a4a928e7c2aa (dev branch,
prior to 3.0.0 release) as contrib/jemalloc, and integrate it into libc.
The code being imported by this commit diverged from
lib/libc/stdlib/malloc.c in March 2010, which means that a portion of
the jemalloc 1.0.0 ChangeLog entries are relevant, as are the entries
for all subsequent releases.


234353 16-Apr-2012 dim

Upgrade our copy of llvm/clang to trunk r154661, in preparation of the
upcoming 3.1 release (expected in a few weeks). Preliminary release
notes can be found at: <http://llvm.org/docs/ReleaseNotes.html>

MFC after: 2 weeks


234173 12-Apr-2012 des

Keep a copy of the original pointer returned by openpam_readline() so
we can free it later, instead of trying to free a pointer that points
to the end of the buffer.

Committed to head because this code no longer exists upstream.

Submitted by: jasone@


234165 12-Apr-2012 dougb

The BIND 9.8.2 tarball was re-rolled to remove 9.8.1 release notes.
This change was noticed by ISC at:

https://lists.isc.org/pipermail/bind-users/2012-April/087345.html

and verified by me both by comparing the contents of the old and new
distfiles and by verifying the PGP signature on the new distfile.


234034 08-Apr-2012 rwatson

Merge a local fix to OpenBSM's libauditd to avoid a directory descriptor
leak when iterating over possible audit trail directories. This fix will
be merged upstream in an identical form, but hasn't yet appeared in an
OpenBSM release.

Submitted by: guido
Obtained from: TrustedBSD Project
MFC after: 3 days


233932 06-Apr-2012 stas

- Do not use deprecated krb5 error message reporting functions in libtelnet.


233923 05-Apr-2012 pfg

Fix a typo in GCC affecting calculations with -ffast-math.

The fix is similar to the one applied in GCC-4.3 in
GCCSVN-r117929 under the GPLv2.

Submitted by: Andrey Simonenko
Reviewed by: mm
Approved by: jhb (mentor)
MFC after: 3 days


233914 05-Apr-2012 dougb

Update to version 9.8.2, the latest from ISC, which contains numerous bug fixes.


233699 30-Mar-2012 theraven

Undo the earlier revert of the ABI change in libsupc++. On further discussion,
posting an errata notice with 9.1 is the less painful solution.

Approved by: dim (mentor)


233445 25-Mar-2012 edwin

MFV of 233442, tzdata2012a

- Updates to various locations in Antarctica.
- Armenia will abolish DST this year.
- Not only Samoa has moved to UTC+14, also Fakaofo did.
- There will be a leap second in 30 June 2012.
- Historical updates of 1918 to Canada, Winn, Regina, Edm, Vanc, Creston.
- Chili stays on DST until 28 April 2012
- The Falkland islands will stay on DST this year.


233397 23-Mar-2012 gonzo

Disable IRIX compatibility flags for DWARF code generator. IRIX-compatible
DWARF code is not compatible with CTF tools


233391 23-Mar-2012 theraven

Revert ABI breakage in libsupc++.

Unfortunately, the ABI was broken upstream for the 4.2 release, which we
imported. We then shipped the broken version for several years and certain
ports (e.g. libobjc2) depend on it, so we're stuck with it for now...

We should revisit this for 10.0, since we're allowed to break the ABI then, but
until then we should keep the ABI we shipped with 8.x and 9.x.

Reviewed by: kan
Approved by: dim (mentor)
MFC after: 1 week


233294 22-Mar-2012 stas

- Update FreeBSD Heimdal distribution to version 1.5.1. This also brings
several new kerberos related libraries and applications to FreeBSD:
o kgetcred(1) allows one to manually get a ticket for a particular service.
o kf(1) securily forwards ticket to another host through an authenticated
and encrypted stream.
o kcc(1) is an umbrella program around klist(1), kswitch(1), kgetcred(1)
and other user kerberos operations. klist and kswitch are just symlinks
to kcc(1) now.
o kswitch(1) allows you to easily switch between kerberos credentials if
you're running KCM.
o hxtool(1) is a certificate management tool to use with PKINIT.
o string2key(1) maps a password into key.
o kdigest(8) is a userland tool to access the KDC's digest interface.
o kimpersonate(8) creates a "fake" ticket for a service.

We also now install manpages for some lirbaries that were not installed
before, libheimntlm and libhx509.

- The new HEIMDAL version no longer supports Kerberos 4. All users are
recommended to switch to Kerberos 5.

- Weak ciphers are now disabled by default. To enable DES support (used
by telnet(8)), use "allow_weak_crypto" option in krb5.conf.

- libtelnet, pam_ksu and pam_krb5 are now compiled with error on warnings
disabled due to the function they use (krb5_get_err_text(3)) being
deprecated. I plan to work on this next.

- Heimdal's KDC now require sqlite to operate. We use the bundled version
and install it as libheimsqlite. If some other FreeBSD components will
require it in the future we can rename it to libbsdsqlite and use for these
components as well.

- This is not a latest Heimdal version, the new one was released while I was
working on the update. I will update it to 1.5.2 soon, as it fixes some
important bugs and security issues.


233235 20-Mar-2012 theraven

Import new version of libcxxrt. Now works correctly with libobjc2 to implement
the unified exception model for Objective-C++.

Approved by: dim (mentor)


233193 19-Mar-2012 dim

Add explicit braces to avoid dangling else in stl_tree.h. This silences
the following warning produced by clang trunk:

In file included from /usr/src/sbin/devd/devd.cc:91:
In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/map:64:
/usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/stl_tree.h:987:2: error: add explicit braces to avoid dangling else [-Werror,-Wdangling-else]
else
^

MFC after: 3 days


233159 19-Mar-2012 gonzo

fix ABI detection logic: for 64-bit elf objects set default ABI to n64.


233128 18-Mar-2012 harti

memset() wants the size of the structure to clear, not the size
of the pointer to it.

Submitted by: Pawel Worach


232972 14-Mar-2012 theraven

Import a slightly newer libc++, with some bugs fixed that were found by running
the test suite on FreeBSD.

Approved by: dim (mentor)


232950 14-Mar-2012 theraven

Import new versions of libcxxrt and libc++.
Please tests any C++ code you care about with -stdlib=libc++!

Approved by: dim (mentor)


232934 13-Mar-2012 dim

Pull in a fix (still under GPLv2) for a double free in gdb, leading to
an assert, which can occur if you repeatedly dlopen() and dlclose() a
.so file in a tight loop. This was reported on freebsd-current@ by
Alexandre Martins, with a sample to reproduce the behaviour.

Obtained from: http://sourceware.org/git/?p=gdb.git;a=commit;h=a6f2cbb341520f8e100f4b8305979dd6207a79e8


232910 13-Mar-2012 jmallett

Note two shortcomings of GDB on MIPS that should be addressed.


232894 12-Mar-2012 dim

Pull in r145194 from upstream clang trunk:

Make our handling of MMX x SSE closer to what gcc does:

* Enabling sse enables mmx.
* Disabling (-mno-mmx) mmx, doesn't disable sse (we got this right already).
* The order in not important. -msse -mno-mmx is the same as -mno-mmx -msse.

Some configure scripts depend on this.

PR: i386/165968
MFC after: 3 days


232844 12-Mar-2012 emaste

Remove extraneous log message

When ntp switched between PLL and FLL mode it produced a log message
"kernel time sync status change %04x". This issue is reported in ntp
bug 452[1] which claims that this behaviour is normal and the log
message isn't necessary. I'm not sure exactly when it was removed, but
it's gone in the latest ntp release (4.2.6p5).

[1] http://bugs.ntp.org/show_bug.cgi?id=452

Approved by: roberto


232779 10-Mar-2012 gavin

Move determination of socket buffer sizes from startup to the first time a
socket is used. The previous code structure assumed that AF_INET sockets
were always available, which is an invalid assumption on IPv6-only systems.

This merges the fololowing revisions from NetBSD:
src/usr.bin/ftp/main.c 1.120
src/usr.bin/ftp/util.c 1.156

PR: bin/162661
Tested by: bz
Obtained from: NetBSD
MFC after: 1 week


232660 07-Mar-2012 kib

In batch mode, exit after receiving SIGINT, instead of immediate
output of the next display.

Submitted by: Andrey Zonov <andrey zonov org>
MFC after: 1 week


232239 27-Feb-2012 kib

Fix a race in top non-interactive mode. Use plain sleep(3) call instead
of arming timer and then pausing. If SIGALRM is delivered before pause(3)
is entered, top hangs.

Submitted by: Andrey Zonov <andrey zonov org>
MFC after: 1 week


232153 25-Feb-2012 mm

Update libarchive to 3.0.3

Some of new features:
- New readers: RAR, LHA/LZH, CAB reader, 7-Zip
- New writers: ISO9660, XAR
- Improvements to many formats, especially including ISO9660 and Zip
- Stackable write filters to write, e.g., tar.gz.uu in a single pass
- Exploit seekable input; new "seekable" Zip reader can exploit the Zip
Central Directory when it's available; the old "streamable" Zip reader
is still fully supported for cases where seeking is not possible.

Full release notes available at:
https://github.com/libarchive/libarchive/wiki/ReleaseNotes


231990 22-Feb-2012 mp

Update to tcsh 6.18.01.


231852 17-Feb-2012 bz

Merge multi-FIB IPv6 support from projects/multi-fibv6/head/:

Extend the so far IPv4-only support for multiple routing tables (FIBs)
introduced in r178888 to IPv6 providing feature parity.

This includes an extended rtalloc(9) KPI for IPv6, the necessary
adjustments to the network stack, and user land support as in netstat.

Sponsored by: Cisco Systems, Inc.
Reviewed by: melifaro (basically)
MFC after: 10 days


231336 10-Feb-2012 kientzle

Implement -print-file-name=include (which is undocumented
but used by some Linux boot loaders). This option prints
out the directory holding the include files needed by
a freestanding program. The default implementation of
this doesn't work on FreeBSD because of the different
include file layout. But it's easy to implement:
just return /usr/include (or the cross-compiling equivalent).

Reviewed by: kan
MFC after: 1 week


231057 06-Feb-2012 dim

Add a WITH_CLANG_EXTRAS option for src.conf(5), disabled by default,
that builds the following additional llvm/clang tools:

- bugpoint
- llc
- lli
- llvm-ar
- llvm-as
- llvm-bcanalyzer
- llvm-diff
- llvm-dis
- llvm-extract
- llvm-ld
- llvm-link
- llvm-mc
- llvm-nm
- llvm-objdump
- llvm-prof
- llvm-ranlib
- llvm-rtdyld
- llvm-stub
- macho-dump
- opt

These tools are mainly useful for people that want to manipulate llvm
bitcode (.bc) and llvm assembly language (.ll) files, or want to tinker
with llvm and clang themselves.

MFC after: 2 weeks


230759 29-Jan-2012 mm

Uupdate code to vendor rev. 4183 (release/2.8)

Fixes vendor issue 224:
"Mishandling CD9660 images with RockRidge extensions from FreeBSD makefs"

References:
http://code.google.com/p/libarchive/issues/detail?id=224

MFC after: 1 week


230393 20-Jan-2012 dim

Pull in r148240 from upstream llvm trunk:

Make sure the non-SSE lowering for fences correctly clobbers EFLAGS.
PR11768.

In particular, this fixes segfaults during the build of devel/icu on
i386. The __sync_synchronize() builtin used for implementing icu's
internal barrier could lead to incorrect behaviour.

MFC after: 3 days


230025 12-Jan-2012 ed

Add SPARC64 version of div/mod written in assembly.

This version is similar to the code shipped with libgcc. It is based on
the code from the SPARC64 architecture manual, provided without any
restrictions.

Tested by: flo@


230021 12-Jan-2012 ed

Add a workaround to prevent endless recursion in compiler-rt.

SPARC and MIPS CPUs don't have special instructions to count
leading/trailing zeroes. The compiler-rt library provides fallback
rountines for these. The 64-bit routines, __clzdi2 and __ctzdi2, are
implemented as simple wrappers around the compiler built-in
__builtin_clz(), assuming these will expand to either 32-bit
CPU instructions or calls to __clzsi2 and __ctzsi2.

Unfortunately, our GCC 4.2 probably thinks that because the operand is
stored in a 64-bit register, it might just be a better idea to invoke
its 64-bit equivalent, simply resulting into endless recursion. Fix this
by defining __builtin_clz and __builtin_ctz to __clzsi2 and __ctzsi2
explicitly.


229715 06-Jan-2012 andreast

Silence a warning about redefinition of TARGET_ELF on powerpc.


229669 05-Jan-2012 rwatson

Replace an OpenBSDism with a FreeBSDism in the pfctl(8) man page: we put
configuration file man pages in section 5, and we prefer rc.conf to
rc.conf.local.

MFC after: 3 days


229651 05-Jan-2012 uqs

Pull up vendor changes to mdoc(7)

This switches us to using -isoC-2011 as the symbol name which is used by
groff and mdocml. It follows the change to 4 digit years as done with
IEEE Std 1003 post-1999.

MFC after: 2 weeks (groff changes only)


229413 03-Jan-2012 ed

Import compiler-rt r147467.

The compiler-rt shipped with FreeBSD is now based on unmodified upstream
sources.


229196 01-Jan-2012 dim

Redo r228645, but instead of casting away const conversion warnings in
contrib/less, add a few const qualifiers in the right places.

Suggested by: das
MFC after: 1 week


229195 01-Jan-2012 dim

Revert r228645, which casts away a number of const conversion warnings
in contrib/less. I will fix those more properly in the next commit.


229135 31-Dec-2011 ed

Upgrade libcompiler_rt to upstream revision 147390.

This version of libcompiler_rt adds support for __mulo[sdt]i4(), which
computes a multiply and its overflow flag. There are also a lot of
cleanup fixes to headers that don't really affect us.

Updating to this revision should make it a bit easier to contribute
changes back to the LLVM developers.


228926 28-Dec-2011 kevlo

Fix incorrect uses of sizeof().

The details of the fix can be found in the tcpdump git repository:
commit 684955d58611ee94eccdc34e82b32e676337188c


228911 27-Dec-2011 mm

Update to vendor revision 4016.

Vendor has integrated most of our local changes in revisions 3976-3979 so
future updates are going to be easier.
Thanks to Tim Kientzle <kientzle@FreeBSD.org>.

MFC after: 8 days


228904 26-Dec-2011 ed

Add libstdthreads.

This library implements the C11 threads interface on top of the pthreads
library. As discussed on the lists, the preferred way to implement
this, is as a separate library.

It is unlikely that these functions will be used a lot in the future. It
would have been easier if the C11 working group standardized (a subset
of) pthreads and clock_nanosleep(). Having it as a separate library
allows the embedded people to omit it from their system.

Discussed on: arch@, threads@


228896 26-Dec-2011 delphij

Merge from OpenBSD 5.0 (this is a dummy change, the vendor change does not
apply to us).


228883 25-Dec-2011 ed

Add the C11 standard to groff. This allows us to refer to C11 as -isoC-11.

MFC after: 2 months


228843 23-Dec-2011 cperciva

Fix a problem whereby a corrupt DNS record can cause named to crash. [11:06]

Add an API for alerting internal libc routines to the presence of
"unsafe" paths post-chroot, and use it in ftpd. [11:07]

Fix a buffer overflow in telnetd. [11:08]

Make pam_ssh ignore unpassphrased keys unless the "nullok" option is
specified. [11:09]

Add sanity checking of service names in pam_start. [11:10]

Approved by: so (cperciva)
Approved by: re (bz)
Security: FreeBSD-SA-11:06.bind
Security: FreeBSD-SA-11:07.chroot
Security: FreeBSD-SA-11:08.telnetd
Security: FreeBSD-SA-11:09.pam_ssh
Security: FreeBSD-SA-11:10.pam


228835 23-Dec-2011 mm

Fix typo s/xz/libarchive/

Reported by: Emil Mikulic (private e-mail)
MFC after: 12 days


228810 22-Dec-2011 des

Merge upstream r509: don't log an error in the common case (ENOENT).


228780 21-Dec-2011 pfg

Update libstdc++ with small updates from the latest rev. (135556)
from the gcc 4.2 branch.
The libraries in the gcc-4_2-branch remained under the LGPLv2.

The changes can be reproduced with the following command:

svn diff svn://gcc.gnu.org/svn/gcc/branches/gcc-4_2-branch/libstdc++-v3
-r 127959:135556

Reviewed by: mm
Approved by: jhb (mentor)
MFC after: 2 weeks


228777 21-Dec-2011 mm

Merge FreeBSD changes from usr.bin/cpio to contrib/libarchive/cpio:

r204111 (uqs):
Fix common misspelling of hierarchy

r211054 (kientzle);
Fix -R when used with -p. Previously, the
uname and gname weren't overwritten, so the
disk restore would use those to lookup the
original uid/gid again. Clearing the uname
and gname prevents this.

r212263 (gjb):
Fix typo in bsdcpio manual:
s/libarchive_formats/libarchive-formats

MFC after: 2 weeks


228776 21-Dec-2011 mm

Merge FreeBSD changes from usr.bin/tar to contrib/libarchive/tar:

r204111 (uqs):
Fix common misspelling of hierarchy

r207786 (kientzle):
Various manpage updates, including many long-option synonyms that were
previously undocumented.

r208028 (uqs):
mdoc: move remaining sections into consistent order

This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections.

r209152 (kientzle):
If the compressed data is larger than the uncompressed,
report the compression ratio as 0% instead of displaying
nonsense triggered by numeric overflow. This is common
when dealing with uncompressed files when the I/O blocking
causes there to be small transient differences in the
accounting.

r210720 (joel):
Fix typos.

r223541 (kientzle):
If there is a read error reading Y/N confirmation from the keyboard,
exit immediately with an error.

If there is an error opening or reading a file to put into the archive,
set the return value for a deferred error exit.

r223573 (kientzle):
The --newer-than test should descend into old
directories to look for new files.

r226636 (kientzle):
Typo from previous commit. Urgh.

r224153 (mm, partial):
Update bsdtar.1 manpage

MFC after: 2 weeks


228775 21-Dec-2011 mm

Merge FreeBSD changes from usr.bin/tar to contrib/libarchive/libarchive_fe:

r213469:
Recognize both ! and ^ as markers for negated character classes.

MFC after: 2 weeks


228774 21-Dec-2011 mm

Add $FreeBSD$ to libarchive_fe headers where missing.

MFC after: 2 weeks


228773 21-Dec-2011 mm

Merge FreeBSD changes from lib/libarchive to contrib/libarchive:

r204111 (uqs):
Fix common misspelling of hierarchy

r208027 (uqs):
mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to the
bottom of the manpages and order them consistently.

GNU groff doesn't care about the ordering, and doesn't even mention
CAVEATS and SECURITY CONSIDERATIONS as common sections and where to put
them.

r208291 (uqs):
mdoc: consistently spell our email addresses <foo@FreeBSD.org>

r209031 (uqs):
mdoc nitpicking: the title argument shall be uppercase

r214822 (kientzle):
Clarify the naming: Methods that free an object should
be called "free". Retain the old "finish" names to preserve
source compatibility for now.

r214905 (kientzle):
If the Zip reader doesn't see a PK signature block
because there's inter-entry garbage, just scan forward
to find the next one. This allows us to handle a lot
of Zip archives that have been modified in-place.

Thanks to: Gleb Kurtsou for sending me a sample archive

r216258 (kientzle):
Don't write data into an empty "file."

In particular, this check avoids a warning when
extracting directory entries from certain GNU tar
archives that store directory contents.

r225525 (kientzle):
Fix cpio on ARM.

MFC after: 2 weeks


228772 21-Dec-2011 mm

Add missing integer casts to comparsions in libarchive read.

MFC after: 2 weeks


228771 21-Dec-2011 mm

Partial merge of r224691 from lib/libarchive:

Add compatibility for ISO images created with unfixed makefs that
violated ECMA-119 (ISO9660): allow reserved4 to be 0x20 in PVD.
This allows tar to read FreeBSD distribution ISO images created
with makefs prior to NetBSD bin/45217 bugfix (up to 9.0-BETA1).

MFC after: 2 weeks


228770 21-Dec-2011 mm

Remove libarchive/archive_entry_copy_bhfi.c and libarchive/mtree.5
Add these files to FREEBSD-Xlist

MFC after: 2 weeks


228769 21-Dec-2011 mm

Remove config_freebsd.h and add to FREEBSD-Xlist
This file is common for libarchive, cpio and tar and is going to be located
outside of contrib (lib/libarchive)


228764 21-Dec-2011 mm

Strip unnecessary files and directories from contrib/libarchive
according to FREEBSD-Xlist

MFC after: 2 weeks


228763 21-Dec-2011 mm

Set svn:keywords to FreeBSD=%H for contrib/libarchive

MFC after: 2 weeks


228762 21-Dec-2011 mm

Add FREEBSD-Xlist and FREEBSD-upgrade to contrib/libarchive

MFC after: 2 weeks


228761 21-Dec-2011 mm

Copy libarchive from vendor branch to contrib

MFC after: 2 weeks


228756 21-Dec-2011 pfg

Clean an inconsistency with -ffinite-math-only.
Backported from the gcc-4_3-branch, revision 118001,
under the GPLv2.

This issue was also fixed in Apple's gcc.

PR: 157025
Reviewed by: mm
Approved by: jhb (mentor)
MFC: 2 weeks


228736 20-Dec-2011 glebius

Restore a feature that was present in 5.x and 6.x, and was cleared in
7.x, 8.x and 9.x with pf(4) imports: pfsync(4) should suppress CARP
preemption, while it is running its bulk update.

However, reimplement the feature in more elegant manner, that is
partially inspired by newer OpenBSD:

- Rename term "suppression" to "demotion", to match with OpenBSD.
- Keep a global demotion factor, that can be raised by several
conditions, for now these are:
- interface goes down
- carp(4) has problems with ip_output() or ip6_output()
- pfsync performs bulk update
- Unlike in OpenBSD the demotion factor isn't a counter, but
is actual value added to advskew. The adjustment values for
particular error conditions are also configurable, and their
defaults are maximum advskew value, so a single failure bumps
demotion to maximum. This is for POLA compatibility, and should
satisfy most users.
- Demotion factor is a writable sysctl, so user can do
foot shooting, if he desires to.


228734 20-Dec-2011 glebius

- Fix examples to show new CARP style.
- Remove OpenBSDisms, add FreeBSDisms.


228713 19-Dec-2011 dim

In contrib/tcpdump/print-icmp6.c, fix a problem where the comparison
against icmp6_hdr::icmp6_type is done incorrectly. (This fix has
already been applied upstream, but we do not have the latest version of
tcpdump.)

MFC after: 1 week


228692 18-Dec-2011 des

Upgrade to OpenPAM Lycopsida.


228672 17-Dec-2011 dim

In contrib/pnpinfo/pnpinfo.c, remove an extraneous parameter from the
call to isolation_protocol().

MFC after: 1 week


228651 17-Dec-2011 dim

In contrib/telnet/telnet/utilities.c, fix a few warnings about format
strings not being literals.

MFC after: 1 week


228645 17-Dec-2011 dim

In contrib/less, cast away const a bunch of times, to make it build
without conversion warnings. This code desparately needs a good dose of
const poison, but fixing all the issues would be rather disruptive.

MFC after: 1 week


228627 17-Dec-2011 dim

In contrib/ee/ee.c, fix a few warnings about format strings not being
literals. Also, change the direction argument to move_rel() from char
to int; K&R function definions cause it to be promoted to an int anyway,
and this way we avoid clang warning about it.

MFC after: 1 week


228624 17-Dec-2011 dim

In contrib/bzip2/bzip2recover.c, use the correct printf length modifier
for unsigned long long.

MFC after: 1 week


228623 17-Dec-2011 bz

Adter r228571 unbreak architectures with strict alignment rules
by copying rather than casting.


228604 16-Dec-2011 dim

In contrib/gperf/src/output.cc, use the correct printf length modifier
for a ptrdiff_t.

MFC after: 1 week


228589 16-Dec-2011 dim

In contrib/telnet/telnetd/utility.c, fix a few warnings about format
strings not being literals.

MFC after: 1 week


228559 16-Dec-2011 dim

In contrib/telnet/libtelnet/sra.c, use the correct number of bytes to
zero the password buffer.

MFC after: 1 week


228553 15-Dec-2011 dim

In contrib/file/softmagic.c, fix a potential format string security
problem. (This fix has already been applied upstream, but we do not
have the latest version of file in the tree at the moment.)

MFC after: 1 week


228474 13-Dec-2011 ed

Add support for __COUNTER__.

__COUNTER__ allows one to obtain incrementing (read: unique) numbers
from the C preprocesor. This is useful when implementing things like a
robust implementation of CTASSERT(), which currently fails when using
it more than once on a single line of code. Probably not likely to cause
any breakage, but still.

__COUNTER__ was also added to GCC 4.3, but since that implementation is
GPLv3 licensed, I took the liberty of implementing it without looking at
any upstream sources. Therefore, this version is licensed under the same
license as the rest of the code; GPLv2.


228411 11-Dec-2011 trociny

Include sys/queue.h: snmpmod.h uses TAILQ.

PR: bin/153153
MFC after: 2 weeks


228384 10-Dec-2011 des

Add minimal validation of the service name to fend off at least one
attack vector against applications that allow the applicant to specify
which policy to apply.

Submitted by: Matthias Drochner <drochner@netbsd.org>
MFC after: 1 week


228379 09-Dec-2011 dim

Upgrade our copy of llvm/clang to 3.0 release. Release notes can be
found at: http://llvm.org/releases/3.0/docs/ReleaseNotes.html

MFC after: 1 week


228351 08-Dec-2011 ru

Pull up vendor changes to mdoc(7).


228342 08-Dec-2011 eadler

- set progname for use in usage()

PR: bin/162908
Submitted by: Oleg Ginzburg <olevole@olevole.ru>
Approved by: sbruno@
MFC after: 3 days


228328 07-Dec-2011 dim

Make it possible to use the debug versions of std::map and std::multimap
with clang, by removing two unneeded using declarations. Otherwise, you
would get errors similar to:

/usr/include/c++/4.2/debug/map.h:77:20: error: dependent using declaration resolved to type without 'typename'
using _Base::value_compare;
^

N.B.: Take care when you actually use the debug versions of any
libstdc++ header. They are more likely to contain problems, because
they are exercised far less often, and since the standard library
complexity guarantees don't always apply anymore, compile times can
drastically increase.

MFC after: 2 weeks


228068 28-Nov-2011 bapt

Reimport .texi and .texinfo necessary to build the info documentation.

Reported by: flo
Approved by: cognet


228060 28-Nov-2011 bapt

upgrade gperf to the last GPLv2 version (3.0.3)

Reviewed by: cognet
Approved by: cognet


228004 26-Nov-2011 theraven

Update libcxxrt to remove the pthread dependency.

Also add the license from upstream to contrib.

Approved by: dim (mentor)


227983 25-Nov-2011 theraven

Import libc++ / libcxxrt into base. Not build by default yet (use
MK_LIBCPLUSPLUS=yes to enable). This is a work-in-progress. It works for
me, but is not guaranteed to work for anyone else and may eat your dog.

To build C++ using libc++, add -stdlib=libc++ to your CXX and LD flags.

Bug reports welcome, bug fixes even more welcome...

Approved by: dim (mentor)


227753 20-Nov-2011 theraven

Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a
load of _l suffixed versions of various standard library functions that use
the global locale, making them take an explicit locale parameter. Also
adds support for per-thread locales. This work was funded by the FreeBSD
Foundation.

Please test any code you have that uses the C standard locale functions!

Reviewed by: das (gdtoa changes)
Approved by: dim (mentor)


227739 19-Nov-2011 andreast

Rename the linker emulation name for powerpc and powerc64. This is needed that
we can also use the upstream binutils linker where we have to have a unique
name for the FreeBSD emulation.


227737 19-Nov-2011 dim

Pull in r144505 from upstream clang trunk:

Fix the signature of the getcontext builtin, eliminating incorrect
warnings about its prototype.

This also adds a -W(no-)builtin-requires-header option, which can be
used to enable or disable warnings of this kind.

MFC after: 1 week


227736 19-Nov-2011 dim

Pull in r144237 from upstream clang trunk:

Fix the signature of __sigsetjmp and sigsetjmp. This eliminates
incorrect warnings about the prototypes of these functions.

MFC after: 1 week


227735 19-Nov-2011 dim

Pull in r144110 from upstream clang trunk:

Mark the overloaded atomic builtins as having custom type checking,
which they do. This avoids all of the default argument promotions that
we (1) don't want, and (2) undo during that custom type checking, and
makes sure that we don't run into trouble during template
instantiation. Fixes llvm/clang PR11320.

MFC after: 1 week


227596 17-Nov-2011 dougb

Upgrade to BIND 9.8.1-P1 to address the following DDOS bug:

Recursive name servers are failing with an assertion:
INSIST(! dns_rdataset_isassociated(sigrdataset))

At this time it is not thought that authoritative-only servers
are affected, but information about this bug is evolving rapidly.

Because it may be possible to trigger this bug even on networks
that do not allow untrusted users to access the recursive name
servers (perhaps via specially crafted e-mail messages, and/or
malicious web sites) it is recommended that ALL operators of
recursive name servers upgrade immediately.

For more information see:
https://www.isc.org/software/bind/advisories/cve-2011-tbd
which will be updated as more information becomes available.

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-4313


227586 16-Nov-2011 andreast

Copy over the ASM_DECLARE_FUNCTION_SIZE macro from linux64.h. This macro
declares the proper size of a function. Without this macro recent GNU as will
complain about with:
'Error: .size expression for main does not evaluate to a constant.'

Up to now we produce this:

.L.main:
....
.size main, .-main

With the macro defined the output is this:

.L.main:
....
.size main,.-.L.main

This affects only the 64-bit compiler.
Tested with world and kernel on both, 32 and 64-bit powerpc.


227391 09-Nov-2011 fabient

Import gcc fix for -fstack-protector that produces segfaulting
binaries on arm/armel.

Related gcc bug:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35965

PR: 161128
MFC after: 1 week


226976 01-Nov-2011 edwin

MFV of r226974, tzdata2011n

- Fiji will end DST on 22 January 2012.
- Moldova split into two timezones has been cancelled.
- Cuba will end DST on 13 November 2011

Obtained from: ftp://ftp.iana.org/tz/releases/


226951 30-Oct-2011 dim

Pull in r143305 and r143312 from upstream clang trunk, so using "clang
-march=native" on AMD K10 family processors no longer errors out with
"unknown target CPU 'amdfam10'". This also enables use of SSE4A.

Reported by: David Marec <david.marec@davenulle.org>
MFC after: 3 days


226828 27-Oct-2011 trociny

Fix a memory leak in tzload().

Reported by: valgrind
Reviewed by: kib
MFC after: 3 days


226771 26-Oct-2011 edwin

Fix breakage in tzsetup:
MD +4700+02850 Europe/Chisinau most locations


226752 25-Oct-2011 edwin

MFV of r226750, tzdata2011m

Europe:
- Pridnestrovian Moldavian Republic (PMR, also known as
"Pridnestrovie") has abolished seasonal clock change (no transition
to the Winter Time).
- The recent change to the Ukranian time zone (Europe/Kiev) to
introduce permanent daylight saving time (similar to Russia) was
reverted.

South America:
- Bahia: The President signed a decree that includes Bahia in summer
time.

zone.tab:
- Add Europe/Tiraspol Pridnestrovie

Obtained from: ftp://ftp.iana.org/tz/releases/


226702 24-Oct-2011 obrien

* Don't give the impression that this compiler is GPLv3.
(It is "well known" that GCC 4.2.2 is GPLv3.)
* Don't give the impression that this compiler isn't "trustable".
* Fix dependency nit.


226633 22-Oct-2011 dim

Upgrade our copy of llvm/clang to r142614, from upstream's release_30
branch. This brings us very close to the 3.0 release, which is expected
in a week or two.

MFC after: 1 week


226525 19-Oct-2011 dim

Fix breakage introduced by r226518.

Spotted by: tinderbox, yanefbsd at gmail.com
Pointy hat to: dim


226518 18-Oct-2011 dim

Fix the way clang retrieves the major FreeBSD release number from the
target triple, so that the __FreeBSD__ and __FreeBSD_cc_version builtin
macros return the expected results.

Spotted by: nalitoja at gmail.com


226430 16-Oct-2011 stefanf

Adjust posix_memalign() prototype to match what we define in stdlib.h for
C++ compilation.

PR: standards/147210


226289 12-Oct-2011 edwin

MFV of tzdata2011l, r226279

Changes in 2011i:

Africa
- Added South Sudan: Africa/Juba

Australasia:
- Samoa will go forward 24 hours at 30 December 2011 to better match
the day of the week with its neighbours.

Europe:
- Europe/Kaliningrad will have the timezone KALT.

North America:
- Updates to Metlakatla historical data
- Newfoundland, Labrador and Resolute will do something which I
can't figure out.

iso3166tab;
- Add SS for South Sudan.

Changes in 2011j:

- Samoa will go from 29 December 23:59:59 to 31 December 00:00:00.
- Samoa DST will end on 1 April 2012

Changes in 2011k:

- Gaza / West Bank goes back to standard time on 02 August 2011.
- West Bank went bac kto DST on 30 August 2011.
- Lots of changes in Minsk (GMT+3 without DST) and other Russian
regions. A new timezone has been created for them, FET: Further-eastern
European Time aka GMT+3.
- Add Asian/Hebron to the zone.tab file.

Changes in 2011l:

- West Bank came out of DST on 30 September 2011.
- Fiji will g oin DST on 23 October and out of it on 26 Februari
- State Bahia might go back to DST in 16 October 2011

Due to legal problems, ado and Paul Eggert have to temporary suspend
their work on the timezone database
(http://thread.gmane.org/gmane.comp.time.tz/4133). Their work has
been continued by volunteers on the tz community and the hosting
of the data files is done by Robert Elz at ftp://munnari.oz.au/pub/.

Obtained from: ftp://munnari.oz.au/pub, ftp://elsie.nci.nih.gov/pub/


226051 06-Oct-2011 stas

- Bootstrap merge history for contrib/com_err.


225906 01-Oct-2011 ume

Shut up warnings with Cyrus SASL 2.1.25.

Spotted by: ache
Tested by: ache


225880 29-Sep-2011 dim

Revive the LLVM and Clang license files, which were removed in my
too-thorough cleanup of unused files, in r213695. Also make sure these
get installed under /usr/share/doc.

Submitted by: rwatson, brooks
Pointy hat to: dim
MFC after: 3 days


225677 19-Sep-2011 kib

Do not overallocate on the stack. Threaded code might use custom stack
size.

Reported by: many
Tested by: Jeremie Le Hen <jeremie@le-hen.org> (previous version)
Reviewed by: jilles
Approved by: re (bz)
MFC after: 2 weeks


225644 17-Sep-2011 delphij

Bump .Dd date for previous revision.

Approved by: re (follow up commit fixing trivial issue)


225643 17-Sep-2011 delphij

Change the example of using smbfs in fstab to a password-less one,
which is less likely to block a remote system from boot.

Submitted by: Garrett Cooper <yanegomi@gmail.com>
PR: doc/160775
MFC after: 1 month
Approved by: re (kib)


225524 13-Sep-2011 hrs

Merge from openresolv 3.4.4 in the vendor branch.

Approved by: re (kib)


225361 03-Sep-2011 dougb

Upgrade to BIND version 9.8.1. Release notes at:

https://deepthought.isc.org/article/AA-00446/81/
or
/usr/src/contrib/bind9/

Approved by: re (kib)


224776 11-Aug-2011 ru

- Merged awk upstream that includes a fix for a bug exposed by kmod_syms.mk.
- Provide a build aid for those who already have a buggy awk(1) installed.

Approved by: re (kib)


224731 09-Aug-2011 ru

Update to a 7-Aug-2011 release.

Approved by: re (kib)


224686 06-Aug-2011 marius

Implement functions necessary for compiling fbsd-threads.c.

Reviewed by: marcel
Approved by: re (kib)
MFC after: 1 week


224584 01-Aug-2011 uqs

Fix broken mdoc.

Found by: manlint
Approved by: re (kib)


224524 30-Jul-2011 mm

Fix accidential dos-style endings to unix-style line endings
from last commit (r224523) to match the version approved by re@

Approved by: re (implicit)


224523 30-Jul-2011 mm

Fix invalid assertion of C++ external static data member declarations
as anonymous namespaces are local to the current translation.

GCC PR: c++/33094

Reviewed by: uqs
Approved by: re (kib)
Obtained from: gcc (branches/redhat/gcc-4_1-branch, rev. 129554, GPLv2)
MFC after: 1 week


224205 18-Jul-2011 jhb

Rework the dynamic per-CPU stats code a bit. Always set 'statics->ncpus'
to the maximum number of CPUs to ensure that lcpustates[] array is always
allocated to the maximum size. Previously, if top was started without
per-CPU stats it would allocate a smaller lcpustates[] array. When
per-CPU stats were then enabled, it would overflow the array and trash
the cpustates_columns[] array causing the CPU stats to be printed in the
wrong locations.

Approved by: re (kib)
MFC after: 1 week


224204 18-Jul-2011 jhb

Tweak the interactive description of CPU vs WCPU.

PR: bin/158819
Submitted by: arundel
Approved by: re (kib)


224145 17-Jul-2011 dim

Upgrade our copy of llvm/clang to r135360, from upstream's trunk.


224141 17-Jul-2011 bz

Correct the description of struct pfioc_state_kill.

PR: kern/158997
Submitted by: ohauer


224092 16-Jul-2011 dougb

Upgrade to version 9.8.0-P4

This version has many new features, see /usr/share/doc/bind9/README
for details.


224014 14-Jul-2011 nwhitehorn

Update dialog to 1.1-20110707.


223937 11-Jul-2011 jhb

Add a leading space to the status messages output after toggling the
'C' and 'H' flags at runtime. This matches messages output for other
toggles which leave the first column in the message blank to hold the
cursor.

PR: bin/158775
Submitted by: arundel
MFC after: 3 days


223936 11-Jul-2011 jhb

Allow per-CPU statistics to be toggled at runtime via the 'P' key.
While here, make -P a toggle similar to other options such as -I.

Reviewed by: arundel
MFC after: 1 week


223935 11-Jul-2011 mm

Update xz to git snapshot of v5.0 branch as of 20110711 (post-5.0.3)

For architectures with __NO_STRICT_ALIGNMENT
define TUKLIB_FAST_UNALIGNED_ACCESS

MFC after: 2 weeks


223870 08-Jul-2011 jhb

Note that -a, -C, -H, -j, and -z are also toggles.

PR: bin/158682
Reported by: arundel
MFC after: 3 days


223849 07-Jul-2011 obrien

Note the PF version.

Discussed with: bz


223812 06-Jul-2011 dougb

Update to version 9.6-ESV-R4-P3

ALL BIND USERS ARE ENCOURAGED TO UPGRADE IMMEDIATELY

This update addresses the following vulnerability:

CVE-2011-2464
=============
Severity: High
Exploitable: Remotely

Description:

A defect in the affected BIND 9 versions allows an attacker to remotely
cause the "named" process to exit using a specially crafted packet. This
defect affects both recursive and authoritative servers. The code location
of the defect makes it impossible to protect BIND using ACLs configured
within named.conf or by disabling any features at compile-time or run-time.

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-2464
https://www.isc.org/software/bind/advisories/cve-2011-2464


223811 06-Jul-2011 dougb

Apply bug fixes

Submitted by: marius


223758 04-Jul-2011 attilio

With retirement of cpumask_t and usage of cpuset_t for representing a
mask of CPUs, pc_other_cpus and pc_cpumask become highly inefficient.

Remove them and replace their usage with custom pc_cpuid magic (as,
atm, pc_cpumask can be easilly represented by (1 << pc_cpuid) and
pc_other_cpus by (all_cpus & ~(1 << pc_cpuid))).

This change is not targeted for MFC because of struct pcpu members
removal and dependency by cpumask_t retirement.

MD review by: marcel, marius, alc
Tested by: pluknet
MD testing by: marcel, marius, gonzo, andreast


223715 01-Jul-2011 uqs

- Fix typo in check_for_nested_with_variably_modified present
- Implement -Wvariable-decl.
- Port -Wtrampolines support from gcc3.
(all three also via OpenBSD)

PR: gnu/127136, gnu/157019
Submitted by: Henning Petersen, Pedro Giffuni
MFC after: 6 weeks


223702 30-Jun-2011 trasz

Make lukemftpd properly set login class and cpumask.


223701 30-Jun-2011 trasz

Make Sendmail properly set login class and cpumask.


223667 29-Jun-2011 bz

In case ntp cannot resolve a hostname on startup it will queue the entry
for resolving by a child process that, upon success, will add the entry
to the config of the running running parent process.

Unfortunately there are a couple of bugs with this, fixed in various
later versions of upstream in potentially different ways due to other
code changes:

1) Upon server [-46] <FQDN> the [-46] are used as FQDN for later resolving
which does not work. Make sure we always pass the name (or IP there).

2) The intermediate file to carry the information to the child process
does not know about -4/-6 restrictions, so that a dual-stacked host
could resolve to an IPv6 address but that might be unreachable (see
r223626) leading to no working synchronization ignoring a IPv4 record.
Thus alter the intermediate format to also pass the address family
(AF_UNSPEC (default), AF_INET or AF_INET6) to the child process
depending on -4 or -6.

3) Make the child process to parse the new intermediate file format and
save the address family for getaddrinfo() hints flags.

4) Change child to always reload resolv.conf calling res_init() before
trying to resolve names. This will pick up resolv.conf changes or
new resolv.confs should they have not existed or been empty or
unusable on ntp startup. This fix is more conditional in upstream
versions but given FreeBSD has res_init there is no need for the
configure logic as well.

Approved by: roberto
Sponsored by: Sandvine Incorporated
MFC after: 9 days


223637 28-Jun-2011 bz

Update packet filter (pf) code to OpenBSD 4.5.

You need to update userland (world and ports) tools
to be in sync with the kernel.

Submitted by: mlaier
Submitted by: eri


223629 28-Jun-2011 edwin

MFV of tzdata2011h, r223627

- Russia scraps DST in 2011
- Remove Netherlands Antilles, add Bonaire, Curacao, Sint Maarten


223626 28-Jun-2011 bz

Compare port numbers correctly. They are stored by SRCPORT()
in host byte order, so we need to compare them as such.
Properly compare IPv6 addresses as well.

This allows the, by default, 8 badaddrs slots per address
family to work correctly and only print sendto() errors once.

The change is no longer applicable to any latest upstream versions.

Approved by: roberto
Sponsored by: Sandvine Incorporated
MFC after: 1 week


223616 28-Jun-2011 delphij

Incorporate vendor commit ecdc5c0a7f7591a7cd4a:

In userland, sign extend the offset for JA instructions.

We currently use that to implement "ip6 protochain", and "pc" might be
wider than "pc->k", in which case we need to arrange that "pc->k" be
sign-extended, by casting it to bpf_int32.

PR: kern/157188
Submitted by: plosher
MFC after: 2 weeks


223579 26-Jun-2011 dim

For some reason, contrib/traceroute/traceroute.c ensures MAXHOSTNAMELEN
is defined, but then proceeds to use a hardcoded maximum hostname length
of 64 anyway. Fix this by checking against MAXHOSTNAMELEN instead.

PR: bin/157732
MFC after: 3 days


223484 23-Jun-2011 dim

Make GNU as recognize the ARM 'rrx' mnemonic, which can be generated by
clang for certain expressions. Code taken from Apple cctools (GPLv2).

Submitted by: damjan.marion@gmail.com


223342 20-Jun-2011 delphij

Revert r214857 pursudant to 9.0-RELEASE cycle.

Requested by: jh


223328 20-Jun-2011 gavin

Merge tnftp-20100108 from the vendor branch into head.

PR: bin/112288 bin/120256 bin/129014 bin/145528
MFC after: 1 month


223308 19-Jun-2011 gavin

Copy lukemftp to its new home, tnftp. I'm doing this in stages so as to
not confuse the CVS exporter.


223301 19-Jun-2011 gavin

Bootstrap mergeinfo


223289 19-Jun-2011 jh

Don't #undef curses ERR in dialog.h. Otherwise, the macro will be
unavailable if curses.h is included before dialog.h.

PR: bin/156601
Obtained from: Thomas E. Dickey (upstream maintainer)
Discussed with: nwhitehorn


223262 18-Jun-2011 benl

Fix clang warnings.

Approved by: philip (mentor)


223082 14-Jun-2011 andreast

- Check on target wordsize instead of compile time define if we build on
64-bit PowerPC or 32-bit PowerPC.
- Make gdb work on powerpc64, the code for this is obtained from
ppc-linux-tdep.c.
- Remove non-elf core read functionality. Implement core read functionality
similar like other FreeBSD targets.
- Set long double limitations.


223071 14-Jun-2011 gshapiro

Update notes regarding FreeBSD import


223067 14-Jun-2011 gshapiro

Merge sendmail 8.14.5 to HEAD

MFC after: 4 days


223057 13-Jun-2011 bz

Add a new option -P to suppress getservbyport(3) calls when printing rules.
This allows one to force consistent printing of numeric port numbers like
we do with -n for other tools like netstat (just that -n was already taken)
rather than the service names.

-P is currently unused in OpenBSD so the change is eligible for upstreaming.

PR: misc/151015
Submitted by: Matt Koivisto (mkoivisto sandvine.com)
Sponsored by: Sandvine Incorporated
MFC after: 1 week


223017 12-Jun-2011 dim

Upgrade our copy of llvm/clang to r132879, from upstream's trunk.


222906 09-Jun-2011 delphij

MFV: Update to less v444.

MFC after: 2 weeks


222852 08-Jun-2011 ru

Pull up all vendor changes to mdoc(7).

This also replaces the local fix in r219209 that made .Ac emit
ASCII angle quotes with an official fix. In the official fix,
ASCII quotes are output when using the .Aq, .Ao and .Ac calls,
but only when nested into the .An macro.

PR: gnu/154822


222813 07-Jun-2011 attilio

etire the cpumask_t type and replace it with cpuset_t usage.

This is intended to fix the bug where cpu mask objects are
capped to 32. MAXCPU, then, can now arbitrarely bumped to whatever
value. Anyway, as long as several structures in the kernel are
statically allocated and sized as MAXCPU, it is suggested to keep it
as low as possible for the time being.

Technical notes on this commit itself:
- More functions to handle with cpuset_t objects are introduced.
The most notable are cpusetobj_ffs() (which calculates a ffs(3)
for a cpuset_t object), cpusetobj_strprint() (which prepares a string
representing a cpuset_t object) and cpusetobj_strscan() (which
creates a valid cpuset_t starting from a string representation).
- pc_cpumask and pc_other_cpus are target to be removed soon.
With the moving from cpumask_t to cpuset_t they are now inefficient
and not really useful. Anyway, for the time being, please note that
access to pcpu datas is protected by sched_pin() in order to avoid
migrating the CPU while reading more than one (possible) word
- Please note that size of cpuset_t objects may differ between kernel
and userland. While this is not directly related to the patch itself,
it is good to understand that concept and possibly use the patch
as a reference on how to deal with cpuset_t objects in userland, when
accessing kernland members.
- KTR_CPUMASK is changed and now is represented through a string, to be
set as the example reported in NOTES.

Please additively note that no MAXCPU is bumped in this patch, but
private testing has been done until to MAXCPU=128 on a real 8x8x2(htt)
machine (amd64).

Please note that the FreeBSD version is not yet bumped because of
the upcoming pcpu changes. However, note that this patch is not
targeted for MFC.

People to thank for the time spent on this patch:
- sbruno, pluknet and Nicholas Esborn (nick AT desert DOT net) tested
several revision of the patches and really helped in improving
stability of this work.
- marius fixed several bugs in the sparc64 implementation and reviewed
patches related to ktr.
- jeff and jhb discussed the basic approach followed.
- kib and marcel made targeted review on some specific part of the
patch.
- marius, art, nwhitehorn and andreast reviewed MD specific part of
the patch.
- marius, andreast, gonzo, nwhitehorn and jceel tested MD specific
implementations of the patch.
- Other people have made contributions on other patches that have been
already committed and have been listed separately.

Companies that should be mentioned for having participated at several
degrees:
- Yahoo! for having offered the machines used for testing on big
count of CPUs.
- The FreeBSD Foundation for having sponsored my devsummit attendance,
which has been instrumental.
- Sandvine for having offered offices and infrastructure during
development.

(I really hope I didn't forget anyone, if it happened I apologize in
advance).


222656 03-Jun-2011 ed

Upgrade libcompiler_rt from revision 117047 to 132478.

It seems there have only been a small amount to the compiler-rt source
code in the mean time. I'd rather have the code in sync as much as
possible by the time we release 9.0. Changes:

- The libcompiler_rt library is now dual licensed under both the
University of Illinois "BSD-Like" license and the MIT license.

- Our local modifications for using .hidden instead of .private_extern
have been upstreamed, meaning our changes to lib/assembly.h can now be
reverted.

- A possible endless recursion in __modsi3() has been fixed.

- Support for ARM EABI has been added, but it has no effect on FreeBSD
(yet).

- The functions __udivmodsi4 and __divmodsi4 have been added.

Requested by: many, including bf@ and Pedro Giffuni


222654 03-Jun-2011 csjp

Explicitly initialize the packet buffer to NULL after we unmap the zero copy
buffers. This fixes a segfault on exit due to calling free on a bogus pointer.
This should be considered a temporary stop gap fix to avoid the crash. The
complete fix re-shuffles the initializations of some of the clean-up pointers.

The details of the fix can be found in the libpcap git repository:
commit bc8209b71e928870b0f172d43b174ab27ba24394

Proded by: kevlo, rpaulo
MFC after: 2 weeks
Submitted by: Anton Yuzhaninov


222648 03-Jun-2011 ru

Re-enable SGR support (ANSI color escapes) in grotty(1) by default.
Our man(1) and bsd.doc.mk still disable it for POLA reasons via the
-c option to grotty(1).

PR: gnu/82353


222558 01-Jun-2011 jchandra

Add .interp back into INITIAL_READONLY_SECTIONS in MIPS n64 ABI.

The binutils update in r218822 caused the MIPS n64 dynamic binaries to
fail because the ".interp" section is not in the initial sections.
This happens because elf64bmip-defs.sh overrides INITIAL_READONLY_SECTIONS
to add ".MIPS.options" sections instead of the ".reginfo" section used
by n32.
This used to work fine, but after r218822, INITIAL_READONLY_SECTIONS also
contains the .interp section, so the override has to be done differently.

Reported by : aduane at juniper

Obtained from: gonzo (Initial version)


222532 31-May-2011 jhb

- Document the -H option and 'H' key alongside other options and keys
rather than at the bottom of the manpage.
- Remove an obsolete comment about SWAIT being a stale state. It was
resurrected for a different purpose in FreeBSD 5 to mark idle ithreads.
- Add a comment documenting that the SLEEP and LOCK states typically
display the name of the event being waited on with lock names being
prefixed with an asterisk and sleep event names not having a prefix.

MFC after: 1 week


222530 31-May-2011 jhb

Add a new option to toggle the display of the system idle process (per-CPU
idle threads). The process is displayed by default (subject to whether or
not system processes are displayed) to preserve existing behavior. The
system idle process can be hidden via the '-z' command line argument or the
'z' key while top is running. When it is hidden, top more closely matches
the behavior of FreeBSD <= 4.x where idle time was not accounted to any
process.

MFC after: 2 weeks


222444 29-May-2011 bz

The argument to setsockopt for IP_MULTICAST_LOOP depends on operating
system and is decided upon by configure and could be an u_int or a
u_char. For FreeBSD it is a u_char.

For IPv6 however RFC 3493, 5.2 defines the argument to
IPV6_MULTICAST_LOOP to be an unsigned integer so make sure we always
use that using a second variable for the IPV6 case.
This is to get rid of these error messages every 5 minutes on some
systems:
ntpd[1530]: setsockopt IPV6_MULTICAST_LOOP failure: Invalid argument
on socket 22, addr fe80::... for multicast address ff02::101

While here also fix the copy&paste error in the log message for
IPV6_MULTICAST_LOOP.

Reviewed by: roberto
Sponsored by: The FreeBSD Foundation
Sponsored by: iXsystems
MFC after: 10 days
Filed as: Bug 1936 on ntp.org


222395 28-May-2011 dougb

Upgrade to 9.6-ESV-R4-P1, which address the following issues:

1. Very large RRSIG RRsets included in a negative cache can trigger
an assertion failure that will crash named (BIND 9 DNS) due to an
off-by-one error in a buffer size check.

This bug affects all resolving name servers, whether DNSSEC validation
is enabled or not, on all BIND versions prior to today. There is a
possibility of malicious exploitation of this bug by remote users.

2. Named could fail to validate zones listed in a DLV that validated
insecure without using DLV and had DS records in the parent zone.

Add a patch provided by ru@ and confirmed by ISC to fix a crash at
shutdown time when a SIG(0) key is being used.


222286 25-May-2011 ru

[mdoc] Fixed .Dt call.


222207 22-May-2011 benl

Fix clang warnings.

Approved by: philip (mentor)


222206 22-May-2011 benl

Fix clang warnings.

Approved by: philip (mentor)


222205 22-May-2011 benl

Fix clang warnings.

Approved by: philip (mentor)


222204 22-May-2011 benl

Fix clang warnings.

Approved by: philip (mentor)


222203 22-May-2011 benl

Fix clang compile warnings.

Approved by: philip (mentor)


222097 19-May-2011 benl

Fix clang warnings.

Approved by: philip (mentor)


222084 18-May-2011 benl

Fix clang warnings.

Approved by: philip (mentor)


222083 18-May-2011 benl

Fix clang warnings.

Note: possible minor security issues fixed (untrusted string used as
printf format string).

Approved by: philip (mentor)


222082 18-May-2011 benl

Fix clang warnings.

Approved by: philip (mentor)


221793 11-May-2011 delphij

MFV: nc(1) from OpenBSD 4.9.

MFC after: 1 month
Obtained from: OpenBSD


221715 09-May-2011 delphij

MFV: Update to less v443.

MFC after: 1 month


221533 06-May-2011 ru

Update to a 6-May-2011 release (upstreamed some of our changes).


221503 05-May-2011 dim

Make cross-compiling using clang work better, by respecting the
LLVM_HOSTTRIPLE that is defined during the cross-tools stage.

Using clang, you can now build amd64 world and kernel on i386, and vice
versa. Other arches still need work.


221386 03-May-2011 dim

Fix stack smash problem in makeinfo, by increasing buffer sizes in
current_chapter_number().


221381 03-May-2011 ru

Update to a 1-May-2011 release (except for the isblank change).


221373 03-May-2011 ru

Properly detect interface's state in the LINK_STATE_UNKNOWN case.

MFC after: 1 week


221345 02-May-2011 dim

Upgrade our copy of llvm/clang to r130700, from upstream's trunk.


221297 01-May-2011 ume

Fix typo in manpage resolvconf.conf(5).

PR: docs/156494
Submitted by: bcr
Requested by: bcr
Obtained from: http://roy.marples.name/projects/openresolv/ticket/12


221282 30-Apr-2011 mm

Add ChangeLog.gcc43 for backported changes from gcc 4.3

MFC after: 3 days


221170 28-Apr-2011 obrien

Remove unused GPL files from tcsh.


221115 27-Apr-2011 obrien

Be clear of what licensing terms we are using.


221092 26-Apr-2011 edwin

MFV of tzdata2011g, 221089.

- Egypt has cancelled the move to DST for now.


220968 23-Apr-2011 simon

Check return code of setuid() in traceroute.

While it will not fail in normal circumstances, better safe than sorry.

Reported by: LLVM's clang static analyzer
MFC after: 3 days


220882 20-Apr-2011 ru

Don't spam syslog with "inet_ntop(): Address family not supported
by protocol family" when processing requests received from the
UNIX domain socket.

MFC after: 3 days


220755 17-Apr-2011 dim

Remove libobjc and other Objective-C related components, as these are
extremely outdated, and not used by anything in the base system.

Silence from: current@


220754 17-Apr-2011 dim

For clang, make -mno-mmx imply -mno-3dnow. This is what gcc does.

Submitted by: arundel
Obtained from: http://llvm.org/viewvc/llvm-project?view=rev&revision=129665


220750 17-Apr-2011 nwhitehorn

Make dialog's --prgbox option actually work.


220749 17-Apr-2011 nwhitehorn

Update dialog to version 1.1-20110302.


220741 17-Apr-2011 dim

Cleanup some left-over empty directories in contrib/llvm.


220549 11-Apr-2011 edwin

MFV of r220547, tzdata2011f:

- During 2011 the Falkland Islands will remain on Summer time.

Obtained from: ftp://elsie.nci.nih.gov/pub/


220286 03-Apr-2011 edwin

MFV of tzdata2011e:

Change for Africa/Casablanca:
- The 3rd april 2011 at 00:00:00, [it] will be 3rd april 1:00:00
- The 31th july 2011 at 00:59:59, [it] will be 31th July 00:00:00

Update for SouthAmerica/Chili:
- Chile's clocks will go back an hour this year on the 7th of May instead
of this Saturday. They will go forward again the 3rd Saturday in
August, not in October as they have since 1968. This is a pilot plan
which will be reevaluated in 2012.


220150 29-Mar-2011 mm

Upgrade of base gcc and libstdc++ to the last GPLv2-licensed revision
(rev. 127959 of gcc-4_2-branch).

Resolved GCC bugs:
c++: 17763, 29365, 30535, 30917, 31337, 31941, 32108, 32112, 32346,
32898, 32992
debug: 32610, 32914
libstdc++: 33084, 33128
middle-end: 32563
rtl-optimization: 33148
tree-optimization: 25413, 32723
target: 32218

Tested by: pointyhat (miwi)
Obtained from: gcc (gcc-4_2-branch up to rev. 127959)
PR: gnu/153298, gnu/153959, gnu/154385
MFC after: 1 month


219820 21-Mar-2011 jeff

- Merge in OFED 1.5.3 from projects/ofed/head


219736 18-Mar-2011 ume

Import openresolv from vendor branch, actually.

Helped by: jhb


219735 18-Mar-2011 ume

Remove contrib/openresolv.

Helped by: jhb


219734 18-Mar-2011 ume

Import openresolv from vendor branch.


219711 17-Mar-2011 mm

Backport missing tunings for -march=core2:
- enable extra 80387 mathematical constants (ext_80387_constants) [1]
- enable compare and exchange 16 bytes (cmpxchg16b) [2]

Verified against llvm-gcc (and apple gcc)

Obtained from: gcc-4.3 (ref. svn revs. 119260 [1], 121140 [2]; GPLv2)
MFC after: 2 weeks


219697 16-Mar-2011 mm

Fix -march/-mtune=native autodetection for Intel Core 2 CPUs

Obtained from: gcc 4.3 (partial rev. 119454; GPLv2)
MFC after: 2 weeks


219687 16-Mar-2011 edwin

MFV of r219685, tzdata2011d

- Pacific/Apia will have DST on 2 April instead of 3 April in 2011.
- Turkye will go to DST on 28 April instead of 27 April in 2011.
- Cuba will go to DST on 20 April in 2011.

Obtained from: ftp://elsie.nci.nih.gov/pub/


219639 14-Mar-2011 mm

Backport SSSE3 instruction set support to base gcc.
Enabled by default for -march=core2

Obtained from: gcc 4.3 (rev. 117958, 121687, 121726, 123639; GPLv2)
MFC after: 2 weeks


219557 12-Mar-2011 das

Merge gdtoa-20110304.


219534 11-Mar-2011 marius

Now that TLS is supported for sparc64 by both binutils 2.17.50 committed
in r218822 and rtld(1) committed in r219533 turn on TLS support in GCC.


219530 11-Mar-2011 marius

In the upstream rev. 1.61 of elf64-sparc.c the following bug was fixed:

* elf64-sparc.c (sparc64_elf_relocate_section): Adjust addend of
dynamic relocs against section symbols for the output section vma.

However, with the addition of TLS support in the upstream rev. 1.104
this fix was essentially reverted. After factoring out the common parts
of elf32-sparc.c and elf64-sparc.c a comment was added to elfxx-sparc.c
in the upstream rev. 1.27 as part of unrelated changes, saying that the
fix from elf64-sparc.c rev. 1.61 indeed should be implemented, but given
that some unspecified OS has a broken ld.so expecting broken relocations
deliberately is omitted.
As the current behavior actually violates the SPARC ABI, FreeBSD never
had such a broken ld.so and this is actually causing problems with at
least kernel modules linked with binutils 2.17.50 committed in r218822
without the workaround committed in r219340 in place, re-implement the
above fix in a way so that is only applied if the output format is
ELFOSABI_FREEBSD. In the upstream version it probably would make sense
to invert this check and only skip adjusting the addend for the OS with
the broken ld.so, once it's determine which one that is.

Approved by: dim


219472 11-Mar-2011 delphij

Merge my change against libpcap trunk revision
c65292b04b98d6a76d58c5a54ca8f81463bf24de to support new SIOCGIFDESCR
ioctl interface which was too late for libpcap 1.1.1.

Reported by: brucec
Noticed by: wxs


219418 09-Mar-2011 emaste

Remove stray semicolon. This fix appears in later upstream gdb versions.

Submitted by: eadler


219411 08-Mar-2011 edwin

MFV of tzdata2011c, r219409

- No leapsecond in June 2011
- Add and update timezones for America/Juneau, America/Sitka,
America/Metlakatla
- Change of Summer time to Winter time in Chili happens in April
2011, not in March 2011.


219374 07-Mar-2011 mm

Backport Intel Core 2 and AMD Geode CPU types from gcc-4.3 (GPLv2)
These options are supported in this shape in all newer GCC versions.

PR: gnu/155308
Obtained from: gcc 4.3 (rev. 118090, 118973, 120846; GPLv2)
MFC after: 2 weeks


219209 02-Mar-2011 uqs

Unbreak .Aq for non-ASCII output like -Tps or -Tutf8.

groff will try to produce fancy angle brackets like
Foo ⟨foo@FreeBSD.org⟩
This is nice and well, but no email client will understand them. For
ease of copy&paste keep the one-true pair of brackets 0x3c/0x3e.

See: RFC 822, RFC 2822
PR: gnu/154822
Submitted by: Dominic Fandrey <kamikaze@bsdforen.de>
MFC after: 2 weeks


219149 01-Mar-2011 edwin

MFV of tzdata2011b, r219147

- USA/Mercer County, North Dakota - Moved from Mountain time to Central time.


219081 27-Feb-2011 brucec

Merge fix from r1.108 of NetBSD's usr.bin/ftp/main.c:

Only attempt to el_parse() a command unknown by the default parser
if editing is enabled.

PR: bin/100089
MFC after: 3 days


219077 27-Feb-2011 dim

Update llvm/clang to trunk r126547.

There are several bugfixes in this update, but the most important one is
to ensure __start_ and __stop_ symbols for linker sets and kernel module
metadata are always emitted in object files:

http://llvm.org/bugs/show_bug.cgi?id=9292

Before this fix, if you compiled kernel modules with clang, they would
not be properly processed by kldxref, and if they had any dependencies,
the kernel would fail to load those. Another problem occurred when
attempting to mount a tmpfs filesystem, which would result in 'operation
not supported by device'.


219076 27-Feb-2011 dim

Instead of defining LLVM_MULTITHREADED as 0 or 1, define or undefine it,
and test appropriately. Otherwise it might erroneously pick up some
pthread primitives, and fail to link.


219073 26-Feb-2011 dim

Remove getDriver().Dir + /../libexec and /usr/libexec from clang's
program paths. Unlike gcc, clang has no executables in libexec.


219072 26-Feb-2011 dim

Remove misapplied space.


219011 24-Feb-2011 dim

Recently, in upstream clang, a fix was done to add -L/usr/lib to the
arguments passed to ld, when linking. This was to appease configure
scripts in several ports, that grep for such a -L option in "${CC} -v"
output, to determine the startup objects passed to ld. Note ld itself
does not need to be told about /usr/lib, since it has this path builtin
anyway.

However, if clang is built as a bootstrap tool during buildworld, it
should not use *anything* outside ${WORLDTMP} to include or link with.
The upstream fix to add -L/usr/lib breaks this assumption, and can thus
cause libraries from /usr/lib to be linked in during buildworld.

This can result in buildworld dying during linking of zinject, where it
picks up the wrong copy of libzpool.so, eventually leading to:

/usr/obj/usr/src/tmp/lib/libthr.so.3: undefined reference to `_rtld_get_stack_prot'

Fix this issue by not adding any hardcoded paths, but by looping through
the run-time library path list, which is already correctly set for the
bootstrap phase.

Reported by: datastream.freecity@gmail.com
Pointy hat to: dim


219001 24-Feb-2011 mm

Update xz to release 5.0.1

MFC after: 1 week


218895 20-Feb-2011 mm

Backport svn r124339 from gcc 4.3 and add opteron-sse3, athlon64-sse3
and k8-sse3 cpu-types for -march=/-mtune= gcc options.
These new cpu-types include the SSE3 instruction set that is supported
by all newer AMD Athlon 64 and Opteron processors.
All three cpu-types are supported by clang and all gcc versions
starting with 4.3 SVN rev 124339 (at that time GPLv2 licensed).

PR: gnu/154906
Discussed with: kib, kan, dim
Obtained from: gcc 4.3 (r124339, GPLv2 licensed)
MFC after: 2 weeks


218893 20-Feb-2011 dim

Upgrade our copy of llvm/clang to r126079, from upstream's trunk.

This contains many improvements, primarily better C++ support, an
integrated assembler for x86 and support for -pg.


218824 18-Feb-2011 nwhitehorn

Turn off default generation of userland dot symbols on powerpc64 now that
we have a binutils that supports it. Kernel dot symbols remain on to assist
DDB.


218822 18-Feb-2011 dim

Merge binutils 2.17.50 to head. This brings a number of improvements to
x86 CPU support, better support for powerpc64, some new directives, and
many other things. Bump __FreeBSD_version, and add a note to UPDATING.

Thanks to the many people that have helped to test this.

Obtained from: projects/binutils-2.17


218384 06-Feb-2011 dougb

Update to BIND 9.6.3, the latest from ISC on the 9.6 branch.

All 9.6 users with DNSSEC validation enabled should upgrade to this
version, or the latest version in the 9.7 branch, prior to 2011-03-31
in order to avoid validation failures for names in .COM as described
here:

https://www.isc.org/announcement/bind-9-dnssec-validation-fails-new-ds-record

In addition the fixes for this and other bugs, there are also the
following:

* Various fixes to kerberos support, including GSS-TSIG
* Various fixes to avoid leaking memory, and to problems that could
prevent a clean shutdown of named


218225 03-Feb-2011 harti

Bring the list of OIDs up-to-date to prevent conflicts.


218171 01-Feb-2011 jhb

Output an appropriate amount of padding to line up per-CPU state columns
rather than using a terminal sequence to move the cursor when drawing the
initial screen.

Requested by: arundel
MFC after: 3 days


218122 31-Jan-2011 edwin

MFV of tzdata2011a, r218120

- Cleanup rules for Australia/South_Australia (nothing changed)
- Add historical information for Honolulu.


217595 19-Jan-2011 uqs

Update groff manpage and symbols with what has been submitted upstream.
Also remove local overrides that are now in the contrib tree.

This is a direct commit to contrib/ as we will no longer import any
newer groff snapshots, due to licensing issues.

MFC after: 3 weeks


217396 14-Jan-2011 kib

Configure gcc to emit .note.GNU-stack for both 32 and 64 bits PowerPC.
Mark gcc-provided asm files as not requiring executable stack.

It seems that non-FreeBSD ABIs for powerpc64 claim stack non-executable.
Due to this, rs6000_elf_end_indicate_exec_stack() only emit the note for
32 bit target. I decided not to change FreeBSD ABI and patch
emit the notes for both variants.

Reviewed and tested by: nwhitehorn


217395 14-Jan-2011 kib

On PowerPC64, linker emits a fake object into each linked object,
'linker stubs'. Add .note.GNU-stack for the stubs objects. Without this,
final binary will have RWE mode for PT_GNU_STACK regardless of the
actual requirements.

Tested by: nwhitehorn
Reviewed by: dim, nwhitehorn


217394 14-Jan-2011 kib

Add a workaround for the warnings and sometimes errors due to missed
forward-declaration.

Reviewed by: dim


217340 13-Jan-2011 nwhitehorn

Bootstrap merge info for dialog.


217309 12-Jan-2011 nwhitehorn

Update dialog to version 20100428. This changes the license under which
dialog is distributed from GPLv2 to LGPLv2 and introduces a number of new
features and a new and better libdialog API. The existing libdialog will
be kept temporarily as libodialog for compatibility purposes until sade,
sysinstall and tzsetup have been either updated or replaced.

__FreeBSD_version is now 900030.

Discussed on: -current
Approved by: core
Obtained from: http://invisible-island.net/dialog


217098 07-Jan-2011 kib

Make gcc emit the .note.GNU-stack section into the assembler files.

Reviewed by: kan


216605 20-Dec-2010 syrinx

Unbreak the build by temprorarily not using include directives in
bsnmpd(1)' def files, until bsd.snmpmod.mk & Makefiles are fixed to
pass proper include path flags to gensnmptree.


216594 20-Dec-2010 syrinx

Bring in a SNMP module that allows configuration of SNMPv3 Notification targets.

Sponsored by: The FreeBSD Foundation
Reviewed by: philip
Approved by: philip


216482 16-Dec-2010 syrinx

Silence the compiler warnings in libbsnmp by removing several (now)
unsed parameters.

Sponsored by: The FreeBSD Foundation
Reviewed by: philip@


216299 08-Dec-2010 syrinx

Add a forgotten file from r216294 and unbreak the build.

Sponsored by: The FreeBSD Foundation
Reviewed by: philip@ (mostly)
Approved by: philip@


216294 08-Dec-2010 syrinx

In bsnmpd(1) add support for SNMPv3 message processing model, including message authentication, packet encryption & view-based access control (RFC 3412, 3414, 3415).

Sponsored by: The FreeBSD Foundation
Reviewed by: philip@ (mostly)
Approved by: philip@


216184 04-Dec-2010 uqs

traceroute(8): make WARNS=3 clean

Also fixes an operator precedence bug for TCP tracerouting


216175 04-Dec-2010 dougb

Update to version 9.6-ESV-R3, the latest from ISC, which addresses
the following security vulnerabilities.

For more information regarding these issues please see:
http://www.isc.org/announcement/guidance-regarding-dec-1st-2010-security-advisories

1. Cache incorrectly allows ncache and rrsig for the same type

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-3613

Affects resolver operators whose servers are open to potential
attackers. Triggering the bug will cause the server to crash.

This bug applies even if you do not have DNSSEC enabled.

2. Key algorithm rollover

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-3614

Affects resolver operators who are validating with DNSSEC, and
querying zones which are in a key rollover period. The bug will
cause answers to incorrectly be marked as insecure.


215937 27-Nov-2010 uqs

Remove unused traceroute(8) contrib code from head

It still lives on under vendor/traceroute.


215880 26-Nov-2010 uqs

Remove clause 3 and 4 from TNF licenses.

Obtained from: NetBSD
Approved by: core


215841 25-Nov-2010 dim

Now that the fix for gcc PR 20218 is applied, and hidden attributes
actually work, linking of libgcc_s.so.1 on ia64 will fail with:

unwind-ia64.So(.text+0x1762): In function `_Unwind_FindEnclosingFunction':
: undefined reference to `_Unwind_FindTableEntry'
unwind-ia64.So(.text+0x1d82): In function `uw_frame_state_for':
: undefined reference to `_Unwind_FindTableEntry'
/usr/bin/ld: libgcc_s.so.1: hidden symbol `_Unwind_FindTableEntry' isn't defined

Repair this by not hiding the _Unwind_FindTableEntry symbol; on FreeBSD,
it is in libc, not in libgcc.

Silence from: current@


215840 25-Nov-2010 dim

Apply backported fix for gcc PR 20218. This makes __attribute__
((visibility ("hidden"))) work properly, and fixes building devel/glib20
with newer binutils.

Silence from: current@


215679 22-Nov-2010 attilio

Add the ability for GDB to printout the thread name along with other
thread specific informations.

In order to do that, and in order to avoid KBI breakage with existing
infrastructure the following semantic is implemented:
- For live programs, a new member to the PT_LWPINFO is added (pl_tdname)
- For cores, a new ELF note is added (NT_THRMISC) that can be used for
storing thread specific, miscellaneous, informations. Right now it is
just popluated with a thread name.

GDB, then, retrieves the correct informations from the corefile via the
BFD interface, as it groks the ELF notes and create appropriate
pseudo-sections.

Sponsored by: Sandvine Incorporated
Tested by: gianni
Discussed with: dim, kan, kib
MFC after: 2 weeks


215463 18-Nov-2010 markm

Fix paths for example files.


215256 13-Nov-2010 imp

Default to little endian output when building for little endian. This
got lost as a result of a mismerge a few months back and I didn't
notice until I collapsed tbemd into -head.

Submitted by: similar patch by kan@


215187 12-Nov-2010 mm

Update xz to release 5.0.0

Approved by: delphij (mentor)
MFC after: 1 week


215186 12-Nov-2010 pluknet

Add 'jid' as a possible sort order to the help screen.

PR: bin/150992
Submitted by: Frederic Culot <frederic at culot dot org>
Approved by: avg (mentor)
MFC after: 5 days


215129 11-Nov-2010 ed

Set symbol visibility to hidden.

Not doing so may cause all sorts of random libraries to expose
libcompiler_rt's functions, which should of course not be done.

Discussed with: kan, kib


215125 11-Nov-2010 ed

Import libcompiler_rt into HEAD and add Makefiles.

Obtained from: user/ed/compiler-rt


215105 11-Nov-2010 cperciva

Zero the buffer containing the .gnu_debuglink section before writing
into it. Prior to this commit the .gnu_debuglink section can have up
to 3 bytes of uninitialized garbage; as a result, .ko files could
change vary between builds.

Approved by: dim
MFC after: 7 days


215041 09-Nov-2010 obrien

Upgrade to Bzip2 version 1.0.6.

Reviewed by: SO (cperciva)


214950 07-Nov-2010 gonzo

Prevent endless loop by detecting broken MIPS.options


214949 07-Nov-2010 gonzo

Change register numbers according to current struct reg and
struct fpreg in src/sys/mips/include/reg.h


214947 07-Nov-2010 gonzo

Calculate offset from frame top for registers saved on a stack frame.


214857 06-Nov-2010 delphij

Inverse display of top(1)'s table header when running in inactive mode.

MFC after: 2 weeks


214736 03-Nov-2010 rpaulo

Remove unused files.


214734 03-Nov-2010 rpaulo

Merge wpa_supplicant and hostapd 0.7.3.


214722 03-Nov-2010 edwin

MFV of tzdata2010o, r214716

- Fiji moves to DST three weeks earlier in 2010.


214652 02-Nov-2010 gonzo

- Add ELF core for FreeBSD/mips
- Register all known cores in init function


214651 02-Nov-2010 gonzo

Fix reading of .debug_line on MIPS64, big-endian:
read_initial_length detects pointer size by checking first
4 bytes of .debug_line and stores it in struct comp_unit_head *
passed to it as second argument. By passing NULL to a
read_initial_length we ignore actual pointer size (8 bytes) and
use default (4 bytes) which results in wrong offsets of header fields.


214586 31-Oct-2010 dougb

Update to 9.6-ESV-R2, the latest from ISC.

This version contains bug fixes that are relevant to any
caching/resolving name server; as well as DNSSEC-related
fixes.


214535 29-Oct-2010 rpaulo

Use pcap's bpf header, not our own copy of it.


214521 29-Oct-2010 rpaulo

Remove more unused files.


214520 29-Oct-2010 rpaulo

Remove unused files.


214518 29-Oct-2010 rpaulo

Merge libpcap-1.1.1.


214482 28-Oct-2010 rpaulo

Remove useless stuff.


214478 28-Oct-2010 rpaulo

Merge tcpdump-4.1.1.


214411 27-Oct-2010 edwin

Sync code with tzcode2010m

asctime.c:
* Set errno to EINVAL and return "??? ??? ?? ??:??:?? ????\n" if
asctime_r is called with a NULL struct tm pointer. (Note that
asctime_r is called by ctime_r and asctime; asctime is called by
ctime.)

localtime.c:
* Set errno to EINVAL and return WRONG if time1 is called with a
NULL struct tm pointer; avoid dereference if a NULL struct tm
pointer is passed to timelocal, timegm, or timeoff. (Note that
time1 is called by mktime, timegm, and timeoff; mktime is called
by timelocal.)
* more core-avoidance work
* Change to set timezone and altzone based on time types with
greatest transition times (for the benefit of Asia/Seoul).

zic.8:
* Warning about case-sensitivity of names, but not of abbrevations

zic.c:
* Conditionally output extra types with most-recently-use offsets
last (for use by systems with pre-2011 versions of localtime.c,
helping to ensure that globals "altzone and "timezone" get set
correctly).

The code has been running for nearly four weeks on my laptop running
FreeBSD 8.1 without a problem.

MFC after: 1 month


214237 23-Oct-2010 uqs

Remove mention of non-existant -o flag for debugging options.

MFC after: 3 days


214054 19-Oct-2010 uqs

mdoc: drop even more redundant .Pp calls

No change in rendered output, less mandoc lint warnings.

Tool provided by: Nobuyuki Koganemaru n-kogane at syd.odn.ne.jp


214047 19-Oct-2010 delphij

MFV: nc(1) from OpenBSD 4.8.

While I'm there, bump WARNS level to 2 as the vendor
have the right printf format string now.

MFC after: 1 month
Obtained from: OpenBSD


214022 18-Oct-2010 brucec

Remove extra word, which looks like a left-over from a deleted sentence.


213989 17-Oct-2010 dim

Bootstrap merge history for binutils.


213786 13-Oct-2010 rdivacky

Actually, check for any kind of "C string type".

Approved by: rpaulo (mentor)


213777 13-Oct-2010 rdivacky

Extend this check for const unsigned char *.

Approved by: rpaulo (mentor)


213700 11-Oct-2010 mm

Upgrade xz to git snapshot as of 20101010

Approved by: delphij (mentor)
MFC after: 1 month


213695 11-Oct-2010 dim

Remove more unneeded files and directories from contrib/llvm. This
still allows us to build tblgen and clang, and further reduces the
footprint in the tree.

Approved by: rpaulo (mentor)


213694 11-Oct-2010 rpaulo

Rework the analysis of the 'r' specifier. It turns out that we can't
make it like xArg because they are different ('x' doesn't accept sign,
but 'r' does).
This fixes some warnings when building DDB with clang.

With help from: rdivacky


213681 11-Oct-2010 rpaulo

Restore the support for the 'r' and the 'y' conversion specifiers, first
added on r208987.
These are undocumented but are part of printf(9).


213567 08-Oct-2010 ed

Import ee 1.5.2 into HEAD.

PR: bin/145921
MFC after: 2 weeks


213534 07-Oct-2010 dim

Upgrade Clang and LLVM to the 2.8 release. See here for release notes:
http://llvm.org/releases/2.8/docs/ReleaseNotes.html

Approved by: rpaulo (mentor)


213492 06-Oct-2010 dim

Apply r207674 from the clangbsd project branch:

Make "clang -print-multi-os-directory" return "." on amd64, matching
gcc's behaviour. This is needed because some ports use the option to
determine the installation directory for their libraries.

Requested by: kwm
Approved by: rpaulo (mentor)


213358 02-Oct-2010 dim

Cleanup some example and empty directories that were left around after
the last import of contrib/llvm.

Suggested by: obrien
Approved by: rpaulo (mentor)


213355 02-Oct-2010 obrien

Note that ^/vendor/bzip2/dist has been merged into HEAD upto r213348.


213312 30-Sep-2010 edwin

MFV of 213310, tzdata2010m

- Fix historical data for Hongkong
- Fix location description for Antarctica/Vostok


213274 29-Sep-2010 rpaulo

Add support for the BFD target efi-app-x86_64.

This uses only GPL2 source code and is a requirement for a 64 bit EFI
boot loader.


213185 26-Sep-2010 nwhitehorn

Check for NULL link registers as found in initial stack frames when doing
stack unwinding, instead of naively trying to check the instruction at
that location. This fixes signal handling in threaded applications after
recent changes regarding unwinding in libthr. While here, clean up our
MD_FROB_UPDATE_CONTEXT() implementation a little.


212904 20-Sep-2010 dim

Upgrade our Clang in base to r114020, from upstream's release_28 branch.

Approved-by: rpaulo (mentor)


212901 20-Sep-2010 cperciva

Fix an integer overflow in RLE length parsing when decompressing
corrupt bzip2 data.

Approved by: so (cperciva)
Security: FreeBSD-SA-10:08.bzip2


212592 14-Sep-2010 emaste

Remove libf2c. It hasn't been used for more than 11 years, since revision
1.90 (CVS; SVN r45770) of lib/Makefile.


211844 26-Aug-2010 rpaulo

Mark __DTOR_LIST__, __EH_FRAME_BEGIN__ and __CTOR_END__ as used to avoid
segfaults when building with clang.

This comes (partly) from the LLVM svn r41105.


211843 26-Aug-2010 rpaulo

Mark __JCR_LIST__, __DTOR_END__, __JCR_END__, __FRAME_END__ as used to
avoid segfaults when building with clang.

Permission to backport given by Jan hubicka <jh at suse.cz>.


211755 24-Aug-2010 rpaulo

Some fixes so we can build libstdc++ with clang:
o Make the value_type, vector_type, iterator, __mutex_type types of
free_list class so we can access them
o In some cases template keywords must be inserted to treat classes as
dependent template names
o Remove two 'inline' keywords where they do not make sense

Submitted by: Dimitry Andric <dimitry at andric.com>
Reviewed by: trema


211729 24-Aug-2010 rpaulo

Mark the following static variables as __used__ instead of __unused__:
o force_to_data
o __CTOR_LIST__
o __do_global_dtors_aux_fini_array_entry
o __frame_dummy_init_array_entry

This is necessary because Clang is smart enough to optimize out these
variables was they were marked as __unused__ (and they are also static).
The end result was programs segfaulting because these symbols weren't
present.

This follows the upstream revision 159228 and the author of that
revision (Jan Hubicka <jh at suse.de>) allowed us to backport this to our
GPLv2 GCC.

Discussed with: core


211573 21-Aug-2010 rpaulo

Modify clang so that when TOOLS_PREFIX is defined we register the
CLANG_PREFIX macro. This changes the default header search path when we
are building clang as part of cross-tools.

Submitted by: Dimitry Andric <dimitry at andric.com>
Reviewed by: freebsd-current


211537 21-Aug-2010 rpaulo

Revert part of r211505. Some of the removed casts are actually safe so
put them back in again. Also, clang only complained about the lvalue
cast.

Submitted by: Dimitry Andric <dimitry at andric.com>
Pointed out: bde


211505 19-Aug-2010 rpaulo

Remove unneeded casts in inline assembly in contrib/gcc/longlong.h,
which are apparently "heinous" GNU extensions, so clang can
compile this without using the -fheinous-gnu-extensions option.

Results in *no* binary change, neither with clang, nor with gcc.

Submitted by: Dimitry Andric <dimitry at andric.com>


211422 17-Aug-2010 edwin

MFV of r211420, tzdata2010l

- Fix start times of DST for Egypt.
- clocks were set back one hour at 2010-08-11 00:00:00 local time
in Gaza and the West Bank.

Obtained from: ftp://elsie.nci.nih.gov/pub/


211419 17-Aug-2010 brucec

Since top displays the uptime including seconds, there is no need to add 30
onto it, which may have been used for rounding purposes in other utilities.

PR: bin/147934
Submitted by: Janne Snabb <snabb at epipe.com>
Approved by: rrs (mentor)
MFC after: 2 weeks


211404 16-Aug-2010 joel

Fix two minor typos.


211402 16-Aug-2010 uqs

Bump document date after content changes.

Pointy hat to: uqs


211401 16-Aug-2010 uqs

Wordsmithing of bsnmpd.1

PR: docs/149157
Submitted by: Warren Block <wblock@wonkity.com>
MFC after: 1 week


211062 08-Aug-2010 ed

Remove unneeded struct timezone passed to gettimeofday().


210946 06-Aug-2010 yongari

Fix a typo introduced in r210936 which broke build.


210936 06-Aug-2010 jhb

Ethernet vlan(4) interfaces have valid Ethernet link layer addresses but
use a different interface type (IFT_L2VLAN vs IFT_ETHER). Treat IFT_L2VLAN
interfaces like IFT_ETHER interfaces when handling link layer addresses.

Reviewed by: syrinx (bsnmpd)
MFC after: 1 week


210878 05-Aug-2010 csjp

Enable closefrom(2) here, as we have supported it for some time now.

Discussed with: mlaier
MFC after: 2 weeks


210761 02-Aug-2010 rpaulo

Properly warp around more code under COMPILE_ONLY to recover from build
errors.


210718 01-Aug-2010 edwin

MFV of r210716, tzdata2010k

- Daylight Saving Time will not be used in Egypt during Ramadan.
- Proper names for Pacific/Pohnpei and Pacific/Chuuk
- Fix historical information for Finland for 1981 and 1982
- No leap-second for December 2010.
- Fix historical information for Ontario (Canada)


210511 26-Jul-2010 bcr

Use "printf" instead of "echo -n" in an example because it
should be more compatible for most shells that are out there.

I contacted Philip Guenther at OpenBSD about this PR and he
corrected the issue in their tree pretty fast.

PR: docs/142243
Submitted by: Yasir (yasir27 at mail dot ru)
Obtained from: OpenBSD
Discussed with: delphij
MFC after: 7 days


210465 25-Jul-2010 rafan

Merge r210464 from vendor/ncurses/dist:

- Fix wrong manpage title for keybound.3X

PR: docs/148864
Obtained from: ncurses-5.7-20081213 snapshot


210386 22-Jul-2010 rpaulo

Make these files compile with clang.

Submitted by: Dimitry Andric <dimitry at andric.com>


210299 20-Jul-2010 ed

Upgrade our Clang in base to r108428.

This commit merges the latest LLVM sources from the vendor space. It
also updates the build glue to match the new sources. Clang's version
number is changed to match LLVM's, which means /usr/include/clang/2.0
has been renamed to /usr/include/clang/2.8.

Obtained from: projects/clangbsd


210245 19-Jul-2010 avg

binutils/ld: fix incorrect placement of __start_SECNAME in some cases

__start_SECNAME and __stop_SECNAME symbols are automatically generated
by ld for orphan sections, i.e. those not explicitely referenced by a
linker script. The symbols are supposed to be placed correspondingly
at the start and the end of the section in output file. In some cases
__start_SECNAME may be placed at the address after the end of the
previous section (if any) and before the start the section. This
happens when following conditions are met:
1. the orphan section is found in more than one input file
2. the orphan section has different alignment requirements across input
files
3. the first instance of the section encountered doesn't have the
greatest alignment requirement
In these conditions resulting output section will be placed at address
after the end of the previous section aligned to the greatest alignment
requirement in the inputs, but __start_SECNAME will be placed at address
after the end of the previous section aligned to the alignment
requirement of the first input in which the section is encountered.

See commit message of r196118 for a concrete example of problems caused
by this bug.

The fix is to place __start_SECNAME inside the section and use ABSOLUTE
directive, rather than placing __start_SECNAME outside the section and
trying to guess address alignment.

This fix is in line with upstream binutils change/fix made between
versions 2.19 and 2.20 in revision of 1.307 ldlang.c.

MFC after: 3 weeks


209867 10-Jul-2010 nwhitehorn

Teach our toolchain how to generate 64-bit PowerPC binaries. This fixes
a variety of bugs in binutils related to handling of 64-bit PPC ELF,
provides a GCC configuration for 64-bit PowerPC on FreeBSD, and
associated build systems tweaks.

Obtained from: projects/ppc64


209413 22-Jun-2010 avg

readelf.1: remove duplicate -u/--unwind option description

MFC after: 2 weeks


209201 15-Jun-2010 edwin

Make mandoc/mdocml happy.

Submitted by: Uli(?) via gmane.comp.time.tz


209160 14-Jun-2010 rpaulo

Remove unused files.


209158 14-Jun-2010 rpaulo

MFV hostapd & wpa_supplicant 0.6.10.


209137 13-Jun-2010 rpaulo

Bootstrap mergeinfo in preparation for import.


209107 12-Jun-2010 ed

Do the branding right this time.

I've looked at other places in the source tree where CLANG_VENDOR is
used and I suspect it might not be safe to use newlines here.
CLANG_VENDOR should just be defined to "FreeBSD ", just like the latest
Clang preview in OS X uses "Apple ". Properly use SVN_REVISION to define
it to the imported revision of Clang. I do want to have a date in there,
so slightly modify the code to support CLANG_VENDOR_SUFFIX.


208999 10-Jun-2010 rdivacky

Remove Xcode cmake win32 projects unittests from LLVM and
clang.xcodeproj INPUTS win32 from clang.

Requested by: jkim
Approved by: ed (mentor)


208987 10-Jun-2010 rdivacky

Introduce -fformat-extensions. A local FreeBSD extension used
for additional printf modifiers in kernel.

Approved by: ed (mentor)


208962 09-Jun-2010 rdivacky

Remove the commented out piece that slipped as a mismerge.

Approved by: ed (mentor)


208961 09-Jun-2010 rdivacky

Adjust include paths to FreeBSD. Remove /usr/local/include and
add /usr/include/clang/$VERSION (currently VERSION is 2.0).

Approved by: ed (mentor)


208959 09-Jun-2010 rdivacky

Change the default CPU to i486 on i386 (architecture).

Approved by: ed (mentor)


208958 09-Jun-2010 rdivacky

Comment out piece of code using __clear_cache() which FreeBSD
does not have. This is only used for JIT on ARM so it's harmless.

Approved by: ed (mentor)


208955 09-Jun-2010 ed

Remove unneeded directories.

Even though Roman removed these directories in his working copy, they
weren't removed from the actual repository, also causing his working
copy to be corrupted.


208954 09-Jun-2010 rdivacky

Import LLVM/clang from vendor stripped of docs/ test/ website/ www/ examples/
in llvm/ and/or llvm/contrib/clang/ respectively.

Approved by: ed (mentor)
Approved by: core


208938 09-Jun-2010 uqs

Remove -mdoc macros from -man page

Neither groff nor mandoc render these when in -man mode.
This was introduced in r38083 as a local change, therefore no commit to
the vendor branch.


208753 02-Jun-2010 uqs

Add required header for isalnum(3) to quench compiler warnings

Forgotten in: r174678
Submitted by: Alexander Best alexbestms at wwu.de
Approved by: das


208737 02-Jun-2010 jmallett

Add/improve mips64r2, Octeon, n32 and n64 support in the toolchain.

o) Add TARGET_ABI to the MIPS toolchain build process. This sets the default
ABI to one of o32, n32 or n64. If it is not set, o32 is assumed as that is
the current default.
o) Set the default GCC cpu type to any specified TARGET_CPUTYPE. This is
necessary to have a working "cc" if e.g. mips64 is specified, as binutils
will refuse to link objects using different ISAs in some cases.
o) Add support for n32 and n64 ABIs to binutils and GCC.
o) Add additional required libgcc2 stubs for n32 and n64.
o) Add support for the "mips64r2" architecture to GCC. Add the "octeon"
o) When static linking, wrap default libraries in --start-group and
--end-group. This is required for static linking to work on n64 with the
interdependencies between libraries there. This is what other OSes that
support n64 seem to do, as well.
o) Fix our GCC spec to define __mips64 for 64-bit targets, not __mips64__, the
former being what libgcc, etc., check and the latter seemingly being a
misspelling of a hand merge from a Linux spec.
o) When no TARGET_CPUTYPE is specified at build time, make GCC take the default
ISA from the ABI. Our old defaults were too liberal and assumed that 64-bit
ABIs should default to the MIPS64 ISA and that 32-bit ABIs should default to
the MIPS32 ISA, when we are supporting or will support some systems based on
earlier 32-bit and 64-bit ISAs, most notably MIPS-III.
o) Merge a new opcode file (and support code) from a later version of binutils
and add flags and code necessary to support Octeon-specific instructions.
This should also make merging opcodes for other modern architectures easier.

Reviewed by: imp


208612 28-May-2010 jh

Fixes from NetBSD for nvi visual mode:

- Fix handling of ^@ when reading an ex command. Don't try to replay
the previous input.
- Fix handling of ^C in insert mode and when reading an ex command.
Repeating an interrupted input could cause a crash and interrupting
ex command input could cause a file corruption.
- Fix a bug which causes crashes in file name completion when a file
name is longer than the screen width.
- When an error occurs in v_txt(), leave the input mode.

PR: bin/21089, bin/136393
Obtained from: NetBSD


208611 28-May-2010 jh

Fix misspelling of "substitution".

PR: bin/130874
Submitted by: Yoshihiro Ota


208586 27-May-2010 cperciva

Change the current working directory to be inside the jail created by
the jail(8) command. [10:04]

Fix a one-NUL-byte buffer overflow in libopie. [10:05]

Correctly sanity-check a buffer length in nfs mount. [10:06]

Approved by: so (cperciva)
Approved by: re (kensmith)
Security: FreeBSD-SA-10:04.jail
Security: FreeBSD-SA-10:05.opie
Security: FreeBSD-SA-10:06.nfsclient


208483 24-May-2010 uqs

mdoc: consistently spell our email addresses <foo@FreeBSD.org>

Reviewed by: ru
Approved by: harti


208337 20-May-2010 dougb

Upgrade to 9.6.2-P2, which addresses the following;

Named could return SERVFAIL for negative responses
from unsigned zones.


207945 12-May-2010 brueffer

Comment in the BUGS section header. Matches what's in ipfilter 5.10.

PR: 144880
Submitted by: Glen Barber <glen.j.barber@gmail.com>
MFC after: 1 week


207898 10-May-2010 edwin

MFV of tzdata2010j, r207896

- Bahia de Banderas (Mexican state of Nayarit) changed time zone
UTC-7 to new time zone UTC-6 on April 4, 2010 (to share the same
time zone as nearby city Puerto Vallarta, Jalisco).

Obtained from: ftp://elsie.nci.nih.gov/pub/


207842 10-May-2010 mm

Import of liblzma, xz, xzdec, lzmainfo from vendor branch
Add support for xz and lzma to lesspipe.sh (xzless, lzless)
Bump __FreeBSD_version

Approved by: delphij (mentor)
MFC after: 2 weeks


207736 07-May-2010 mckusick

Merger of the quota64 project into head.

This joint work of Dag-Erling Smørgrav and myself updates the
FFS quota system to support both traditional 32-bit and new 64-bit
quotas (for those of you who want to put 2+Tb quotas on your users).

By default quotas are not compiled into the kernel. To include them
in your kernel configuration you need to specify:

options QUOTA # Enable FFS quotas

If you are already running with the current 32-bit quotas, they
should continue to work just as they have in the past. If you
wish to convert to using 64-bit quotas, use `quotacheck -c 64';
if you wish to revert from 64-bit quotas back to 32-bit quotas,
use `quotacheck -c 32'.

There is a new library of functions to simplify the use of the
quota system, do `man quotafile' for details. If your application
is currently using the quotactl(2), it is highly recommended that
you convert your application to use the quotafile interface.
Note that existing binaries will continue to work.

Special thanks to John Kozubik of rsync.net for getting me
interested in pursuing 64-bit quota support and for funding
part of my development time on this project.


207590 03-May-2010 emaste

Update GRANDPARENTED text to match the contents of tzdata/factory r19879.
This eliminates "warning: time zone abbreviation differs from POSIX" on
installworld to an empty filesystem.

Reviewed by: edwin
MFC after: 1 week


207449 30-Apr-2010 jilles

telnet: Fix infinite loop if local output generates SIGPIPE.

Instead of catching SIGPIPE and jumping out of the signal handler with
longjmp, ignore it and handle write errors to the local output by exiting
from there. I have changed the error message to mention the local output
instead of NetBSD's wrong "Connection closed by foreign host". Write errors
to the network were already handled by exiting immediately and this now
applies to EPIPE too.

The code assumed that SIGPIPE could only be generated by the network
connection; if it was generated by the local output, it would longjmp out of
the signal handler and write an error message which caused another SIGPIPE.

PR: 19773
Obtained from: NetBSD
MFC after: 1 week


207003 21-Apr-2010 delphij

Bootstrap merge history.


206868 19-Apr-2010 edwin

MFV of tzdata2010i, r206865

- Marocco does have DST this year between May and August.
- Historical data for Taiwan
- Argentina / San Luis does not do DST this year.


206842 19-Apr-2010 nwhitehorn

Fix brokenness in top on big-endian 32-bit systems introduced when
changing format_k2 to take a long long. Because itoa is defined as a K&R
C function, without prototyping its arguments, format_k2 passed a 64-bit
value, but itoa() received only the first word, showing '0' in all memory
fields.


206689 15-Apr-2010 delphij

Utilize IP_BINDANY which provided the same semantics of OpenBSD's
SO_BINDANY.


206675 15-Apr-2010 delphij

Diff reduction with OpenBSD:

- Remove unused locally added variable;
- Deprecate -o: it's the default behavior on OpenBSD.

X-MFC: along with nc 4.7.


206622 14-Apr-2010 uqs

mdoc: order prologue macros consistently by Dd/Dt/Os

Although groff_mdoc(7) gives another impression, this is the ordering
most widely used and also required by mdocml/mandoc.

Reviewed by: ru
Approved by: philip, ed (mentors)


206619 14-Apr-2010 imp

Add armeb-*-freebsd* to the list of known architectures. This is like
arm-*-freebsd*, except it defaults to big endian builds instead of
little endian builds.


206219 05-Apr-2010 edwin

MFV of tzdata2010h:

From tzdata2010h:

- Tunis will not go into DST this year.
- Pakistan will not go into DST this year.

From tzdata2010g:

- Bangladesh cancels DST.
- Palestine goes into DST one day later than expected.

- Russian timezones update:
Europe/Samara goes to Moscow time.
Asia/Kamchatka goes to Moscow+8 time.
Asia/Anadyr goes to Moscow+8 time.


206056 01-Apr-2010 brucec

Specify the parameter in the format_k2 prototype.
This fixes top on ARM, which assumes that format_k2 takes an int.

Approved by: rrs (mentor)


205729 27-Mar-2010 antoine

(S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.
Fix some wrong usages.
Note: this does not affect generated binaries as this argument is not used.

Approved by: harti@


205702 26-Mar-2010 delphij

Remove GNU cpio after fix of CVE-2010-0624.

Note that this is actually a no-op for most users, as this GNU
cpio was broken on -HEAD and 8-STABLE since last March until
the recent fix.

FreeBSD 8.0+ uses BSD cpio by default and the code is being
actively maintained.

Blessed by: kientzle
With hat: secteam
MFC after: 3 days


205654 25-Mar-2010 delphij

The rmt client in GNU cpio could have a heap overflow when a malicious
remote tape service returns deliberately crafted packets containing
more data than requested.

Fix this by checking the returned amount of data and bail out when it
is more than what we requested.

PR: gnu/145010
Submitted by: naddy
Reviewed by: imp
MFC after: immediately
Security: CVE-2010-0624


205570 24-Mar-2010 delphij

Update metadata information as well as upgrade instructions.


205561 23-Mar-2010 delphij

MFV: Update nc to the version from OpenBSD 4.7.

MFC after: 1 month


205475 22-Mar-2010 edwin

MFV of tzdata2010f:

The Australian Antartic Division:
- Macquarie Island will stay on UTC+11 for winter and not switch back from DST.
- Casey station reverted to its normal time of UTC+8 on 5 March 2010.
- Davis station will revert to its normal time of UTC+7 at 10 March 2010
- Mawson station stays on UTC+5.

Syria will start DST on Thursday 1 April 2010 at midnight.

Correct Samao DST start date (26 Sep vs 24 Oct)


205441 22-Mar-2010 des

Merge upstream r432:

pam_end() already contains a NULL check, and it is not unreasonable to
call it with a NULL pamh in a cleanup / error-handling situation. Remove
OPENPAM_NONNULL, which may cause gcc to optimize away the NULL check.

This fixes a potential NULL pointer dereference in error-handling code
in passwd(1).


205292 18-Mar-2010 dougb

Update to 9.6.2-P1, the latest patchfix release which deals with
the problems related to the handling of broken DNSSEC trust chains.

This fix is only relevant for those who have DNSSEC validation
enabled and configure trust anchors from third parties, either
manually, or through a system like DLV.


205119 13-Mar-2010 brucec

Change the 'amt' parameter in format_k2 from int to unsigned long long
to match the values passed in and prevent the SIZE field being corrupted
when more than 2TB is allocated.

PR: bin/129706
Approved by: rrs (mentor)
MFC after: 1 week


205078 12-Mar-2010 uqs

Fix typo in macro name and macro usage.

Found by: make manlint
Reviewed by: ru
Approved by: harti, philip (mentor)


204925 09-Mar-2010 ed

Remove unneeded include of <sys/timeb.h>.

This header file should not be included by anything.


204887 08-Mar-2010 edwin

MFV of tzdata2010e:

- Adjust beginning / end of DST in Bangladesh (minimal impact)
- Fiji ends DST one month earlier to last Sunday of March
- Samoa changes
- Chile extends DST until 3 April this year.


204772 05-Mar-2010 imp

Tweak the linker spec a smidge.
Correct a typo.


204762 05-Mar-2010 imp

Add support for o32 (when it isn't the default), n32, n64, and o64 to
the linker spec. Provide the ability to have a default ABI that's
different than o32 (again, for all 4).

Submitted by: C. Jayachandran (JC) with tweaks for o64/o32 by me


204619 03-Mar-2010 dougb

Upgrade to version 9.6.2. This version includes all previously released
security patches to the 9.6.1 version, as well as many other bug fixes.

This version also incorporates a different fix for the problem we had
patched in contrib/bind9/bin/dig/dighost.c, so that file is now back
to being the same as the vendor version.

Due to the fact that the DNSSEC algorithm that will be used to sign the
root zone is only included in this version and in 9.7.x those who wish
to do validation MUST upgrade to one of these prior to July 2010.


204616 03-Mar-2010 imp

Also define _MIPS_ISA here.

Submitted by: jmallet@


204566 02-Mar-2010 edwin

MFV of r204563, tzdata2010c:

Paraguay changes its DST schedule, postponing the March rule to
April and modifying the October date.


204556 02-Mar-2010 lulf

- Move csup away from contrib/ and into usr.bin/. Software is no longer
contributed, and main development is happening in the FreeBSD repo.

Suggested by: joel


204549 02-Mar-2010 imp

Bring in more built-in defines from NetBSD
a few #defines from JC.

# tested only with o32 at the moment

Submitted by: C. Jayachandran (CJ)
Obtained from: NetBSD


204489 28-Feb-2010 raj

Let dtc build with FreeBSD yacc/lex.

Sponsored by: The FreeBSD Foundation


204488 28-Feb-2010 raj

Merge DTC-d75b33af.

This is a split merge because of non-uniform licensing of the DTC package
contents and the way these components will be used in the FreeBSD environment.

The original DTC package is composed of the following two major pieces:

1. sys/contrib/libfdt (BSD [dual] license)
2. contrib/dtc (GPLv2)

The libfdt component is going to be shared in all aspects of the environment:
- /boot/loader
- kernel
- dtc (the device tree compiler proper, userspace tool)


204336 25-Feb-2010 edwin

Remove non-contributed code.


204333 25-Feb-2010 edwin

Copy lib/libc/stdtime to contrib/tzcode/stdtime for the proper split
of contributed code and FreeBSD specific code.


204332 25-Feb-2010 edwin

From contrib/tzcode:
The Makefiles are leftovers from the copies and should live in usr.sbin/zic/*

From usr.sbin/zic:
The sources are from a vendor contributed source, therefore should
live in contrib/tzcode/zic.


204302 25-Feb-2010 edwin

Copy usr.sbin/zic to contrib/tzcode/zic for the proper split of
contributed code and FreeBSD specific code.


204301 25-Feb-2010 edwin

Provide an anchor below which the history of tzcode/zic and
tzcode/stdtime will be preserved.


204299 25-Feb-2010 edwin

Remove Makefile, it is not part of the contributed data.


204298 25-Feb-2010 edwin

Copy share/zoneinfo to contrib/zoneinfo for the proper split of
contributed data and FreeBSD specific data.


204174 21-Feb-2010 rrs

Adds the missing mips gdb files that I
foobar'd on my last commit.. Sorry about
that JC.. my fault.

Obtained from: JC


204171 21-Feb-2010 gabor

- Remove GNU bc/dc bits. There has not been any regressions seen after
BSD bc/dc import. It has been tested with make universe that this code
is not used by anything any more.

Approved by: delphij (mentor)


204138 20-Feb-2010 rrs

These contain JC's patch to get gdb sort of working
on mips. Its not fully done yet but its a start.

Obtained from: JC - c.jayachandran@gmail.com

M gnu/usr.bin/gdb/kgdb/trgt_mips.c
M gnu/usr.bin/gdb/arch/mips/init.c
M gnu/usr.bin/gdb/arch/mips/Makefile
M gnu/usr.bin/Makefile
M contrib/gdb/gdb/mips-tdep.h


203368 02-Feb-2010 lulf

- Add support for CVSup authentication mechanisms to csup.
- Include a cpasswd script performing the same mechanisms as the cvpasswd
utility from CVSup.

PR: bin/114129
Submitted by: Petar Zhivkov Petrov <pesho.petrov -at- gmail.com>
MFC after: 1 month


203365 02-Feb-2010 delphij

Update the version number.


203052 27-Jan-2010 delphij

Revised revision 199201 (add interface description capability as inspired
by OpenBSD), based on comments from many, including rwatson, jhb, brooks
and others.

Sponsored by: iXsystems, Inc.
MFC after: 1 month


203006 26-Jan-2010 gshapiro

Update FreeBSD information

MFC after: 4 days


203004 26-Jan-2010 gshapiro

Merge sendmail 8.14.4 to HEAD

MFC after: 4 days


202980 25-Jan-2010 yongari

shi1_remark is in little endian format, convert it to host ordering.
Also remove upper 16bits which always seem to be 0xFFFF. We don't
allocate more than 64KB buffer anyway.
This change make smbutil work on sparc64.

Reviewed by: marius, bp
Approved by: bp


202961 25-Jan-2010 dougb

Upgrade to BIND 9.6.1-P3.

This version address the following vulnerabilities:

BIND 9 Cache Update from Additional Section
https://www.isc.org/advisories/CVE-2009-4022v6
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-4022
A nameserver with DNSSEC validation enabled may incorrectly add
unauthenticated records to its cache that are received during the
resolution of a recursive client query

BIND 9 DNSSEC validation code could cause bogus NXDOMAIN responses
https://www.isc.org/advisories/CVE-2010-0097
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-0097
There was an error in the DNSSEC NSEC/NSEC3 validation code that could
cause bogus NXDOMAIN responses (that is, NXDOMAIN responses for records
proven by NSEC or NSEC3 to exist) to be cached as if they had validated
correctly

These issues only affect systems with DNSSEC validation enabled.


202640 19-Jan-2010 delphij

Update to 4.6.

Note: the -V option from OpenBSD is implemented using setfib(2) on FreeBSD.

MFC after: 2 weeks


202366 15-Jan-2010 ru

Pull up vendor changes.


202359 15-Jan-2010 ru

Moved the doc-str-Lb-libulog string definition to where it belongs.


202358 15-Jan-2010 ru

Pull up vendor changes. The following local changes made obsolete:

- Addition of several FreeBSD versions.
- r192561 that attempted to fix UTF-8 issues.


202354 15-Jan-2010 ru

Bootstrap merge history.


202214 13-Jan-2010 ed

Forgot a part that was missing in the previous commit.

There is no need to call trimdomain() anymore now that ut_host is big
enough to fit decent hostnames.


202212 13-Jan-2010 ed

Let telnetd build without utmp and logwtmp(3).

Just like rlogind, there is no need to change the ownership of the
terminal during shutdown anymore. Also don't call logwtmp, because the
login(1)/PAM is responsible for doing this. Also use SHUT_RDWR instead
of 2.


202086 11-Jan-2010 ed

Don't include <utmp.h> when using <utmpx.h>.

libopie includes both <utmp.h> and <utmpx.h> in this case and uses some
#defines to let the code use struct utmpx and its utility functions.
We'd better not include <utmp.h> here, because maybe it will not be
present in the future.


201989 10-Jan-2010 ru

Apply patches directly to sources. Their effect is as follows:

- Make one-true-awk respect locale's collating order in [a-z]
bracket expressions, until a more complete fix (like handing
BREs) is ready.

- Don't require a space between -[fv] and its argument.


201951 09-Jan-2010 ru

Update to a 26-Nov-2009 release.


201940 09-Jan-2010 ru

Clean up import.


201939 09-Jan-2010 ru

Bootstrap merge history.


201855 08-Jan-2010 imp

Merge r194519 from projects/mips to head by hand:

r194519 | gonzo | 2009-06-19 17:28:26 -0600 (Fri, 19 Jun 2009) | 3 lines
- set -mabicalls and -msoft-float as a default in order to
simplify building ports


201782 08-Jan-2010 sobomax

Allow comment (#) to be placed anywhere in the line, not only at the
beginning, so it's consistent with other configuration files.

MFC after: 3 weeks


201047 27-Dec-2009 ed

Remove unneeded inclusion of <utmp.h> and dead variables.


200979 25-Dec-2009 ed

Let top(1) use MAXLOGNAME instead of UT_NAMESIZE.

The maximum user login length should have nothing to do with <utmp.h>.


200930 24-Dec-2009 delphij

Adapt OpenBSD pf's "sloopy" TCP state machine which is useful for Direct
Server Return mode, where not all packets would be visible to the load
balancer or gateway.

This commit should be reverted when we merge future pf versions. The
benefit it would provide is that this version does not break any existing
public interface and thus won't be a problem if we want to MFC it to
earlier FreeBSD releases.

Discussed with: mlaier
Obtained from: OpenBSD
Sponsored by: iXsystems, Inc.
MFC after: 1 month


200576 15-Dec-2009 roberto

Merge 4.2.4p8 into contrib (r200452 & r200454).

Subversion is being difficult here so take a hammer and get it in.

MFC after: 2 weeks
Security: CVE-2009-3563


200575 15-Dec-2009 roberto

Bootstrap mergeinfo (thanks des@).


200392 11-Dec-2009 delphij

Apply two vendor fixes for CVE-2009-3720.

Security: CVE-2009-3720
MFC after: 3 days


200367 10-Dec-2009 delphij

Bootstrap merge history.


200270 08-Dec-2009 delphij

What we have in base system is actually OpenBSD 4.5's netcat,
update this file to reflect the fact.


200202 07-Dec-2009 marcel

Fix Read-After-Write (RAW) dependency violation for ar.ccv in
isc_atomic_xadd() and isc_atomic_cmpxchg().

Approved by: dougb@
MFC after: 1 week


200063 03-Dec-2009 syrinx

Fix a problem with high CPU consumption (up to 30%) by bsnmpd on a loaded system.
Instead of constantly calling the mibII_idle function when the server is not busy
call the function only once every 10 seconds to avoid bsnmpd constantly doing
gettimeofday syscalls. Make the idle polling interval confugurable via
begemotIfDataPoll.

Reported and tested by: misho (at) aitbg (dot) com
Oked by: harti
MFC after: 1 week


200062 03-Dec-2009 ed

Add a new library: libulog.

One of the things I really want to do, is to get rid of the limitations
of our current utmp(5) mechanism:

- It only allows 8 byte TTY device names.
- The hostname only allows 16 bytes of storage.

I'm not a big fan of <utmpx.h>, but I think we should at least try to
add parts of it. Unfortunately we cannot implement <utmpx.h>, because we
miss various fields, such as ut_id, ut_pid, etc. The API provided by
libulog shares some similarities with <utmpx.h>, so it shouldn't be too
hard to port these applications eventually. In most simple cases, it
should just be a matter of removing the ulog_ prefix everywhere.

As a bonus, it also implements a function called ulog_login_pseudo(),
which allows unprivileged applications to write log entries, provided
they have a valid file descriptor to a pseudo-terminal master device.

libulog will allow a smoother transition to a new file format by adding
a library interface to deal with utmp/wtmp/lastlog files. I initially
thought about adding the functionality to libutil, but because I'm not
planning on keeping this library around forever, we'd better keep it
separated.

Next items on the todo list:

1. Port applications in the base system (and ports) to libulog, instead
of letting them use <utmp.h>.
2. Remove <utmp.h>, implement <utmpx.h> and reimplement this library on
top.
3. Port as many applications as possible back to <utmpx.h>.


200038 02-Dec-2009 kib

Properly support -fPIE by linking PIE binaries with specially-built
Scrt1.o instead of crt1.o, since the later is built as non-PIC.

Separate i386-elf crt1.c into the pure assembler part and C code,
supplying all data extracted by assembler stub as explicit parameters [1].
Hide and localize _start1 symbol used as an interface between asm and
C code.

In collaboration with: kan
Inspired by: PR i386/127387 [1]
Prodded and tested by: rdivacky [1]
MFC after: 3 weeks


199995 01-Dec-2009 ume

Don't try to bind to an anycast addeess. The KAME IPv6 stack doesn't
allow bind to an anycast addeess. It does away with an annoying
message.

Reviewed by: bz, roberto
MFC after: 2 weeks


199958 30-Nov-2009 dougb

Update to BIND 9.6.1-P2. The vulnerability this is designed to fix is
related to DNSSEC validation on a resolving name server that allows
access to untrusted users. If your system does not fall into all 3 of
these categories you do not need to update immediately.


199874 28-Nov-2009 ed

Use <termios.h> instead of <sys/termios.h>.

<sys/termios.h> only works on FreeBSD by accident.


199510 19-Nov-2009 darrenr

fix spelling mistake


199231 12-Nov-2009 delphij

Revert revision 199201 for now as it has introduced a kernel vulnerability
and requires more polishing.


199201 11-Nov-2009 delphij

Add interface description capability as inspired by OpenBSD.

MFC after: 3 months


199123 10-Nov-2009 delphij

Add a minimal change to prevent NULL deference in ee(1).

To repeat the problem, one can press "Ctrl+C" and then enter "0".

Submitted by: Alexander Best <alexbestms wwu de>


199019 07-Nov-2009 dougb

Wrap some socket handling code in a !NULL bow

This patch or something similar will likely be included in a future
BIND release.

PR: bin/138061
Submitted by: Michael Baker <michael.baker@diversit.com.au>
Original patch submitted by: Volker <volker@vwsoft.com>
Patch reviewed and tweaked by: ISC


198490 26-Oct-2009 rafan

Merge r198489 from vendor/ncurses/dist:

Pull upstream patch to fix ee(1) crash when received SIGWINCH:

modify _nc_wgetch() to check for a -1 in the fifo, e.g., after a
SIGWINCH, and discard that value, to avoid confusing application
(patch by Eygene Ryabinkin, FreeBSD bin/136223).

PR: 136223
Submitted by: Eygene Ryabinkin
Obtained from: ncurses-5.7-20091024 snapshot
MFC after: 3 days


198344 21-Oct-2009 jhb

Change gcc to assume a default machine architecture of 486 instead of 386
on "i386". Doing it in the compiler is deemed to be less fragile then
attempting to provide a default -march setting via bsd.cpu.mk. FreeBSD
itself has not supported plain 386 CPUs since 5.x.

Suggested by: kan
Requested by: rdivacky
MFC after: 1 month


197899 09-Oct-2009 des

Merge upstream r421: grammar nit in pam.conf(5).


197829 07-Oct-2009 rpaulo

Add parsing code for TCP UTO (User Timeout Option).

Submitted by: fangwang@
Obtained from: //depot/projects/soc2009/tcputo/


197812 06-Oct-2009 rdivacky

Fix tcsh losing history when tcsh terminates because the pty beneath it
is closed.

Diagnosed by Ted Anderson:

New signal queuing logic was introduced in 6.15 and allows the signal handlers
to be run explicitly by calling handle_pending_signals, instead of
immediately when the signal is delivered. This function is called at
various places, typically when receiving a EINTR from a slow system call
such as read or write. In the pty exit case, it was called from xwrite,
called from flush, while printing the "exit" message after receiving EOF
when reading from the pty (note that the read did not return EINTR but
zero bytes, indicating EOF). The SIGHUP handler, phup(), called
rechist, which opened the history file and began writing the merged
history to it. This process invoked flush recursively to actually write
the data. In this case, however, the flush noticed it was being called
recursively and decided fail by calling stderror.

My conclusion was that the signal was being handled at a bad time. But
whether to fix flush not to care about the recursive call, or to handle
the signal some other time and when to handle it, was unclear to me.
However, by adding an extra call to handle_pending_signals, just after
process() returns to main(), I was able to avoid the truncated history
after network outages and similar failures. I verified this fix in
version 6.17.

Approved by: ed (mentor)
MFC after: 1 week


196916 07-Sep-2009 attilio

Import a vendor fix for a list overrun.
This has been considered as a security hole on some specialized ml,
but currently the secteam@ doesn't consider that way.

Reviewed by: emaste, des
Sponsored by: Sandvine Incorporated
MFC after: 3 days


196818 04-Sep-2009 ache

1) Remove single occurance of HAS_CTYPE ifdef, ctype functions
used here for a long time and needs their header in anycase.
2) Add (unsigned char) casts to more ctype macros.
3) Simplify menu input handling using ctype instead of range unguarded
hardcoded tricks.


196751 02-Sep-2009 ache

Move <locale.h> out of NO_CATGETS define too (as setlocale() in prev.
commit)


196750 02-Sep-2009 ache

1) Use isprint() instead of hardcoded values to detect non-printable.
2) Use (unsigned char) cast in waddch() calls.
It fix highlighting bug: sign extension of 8bit to the attributes area.
3) Use setlocale() in any case.


196475 23-Aug-2009 ume

- Add AS lookup functionality to traceroute6(8) as well.
- Support for IPv6 transport for AS lookup.
- Introduce $RA_SERVER to set whois server.
- Support for 4 byte ASN.
- ANSIfy function declaration in as.c.

Tested by: IHANet folks.


196382 19-Aug-2009 jhb

Explicitly line up the CPU state labels with the calculated starting column
that takes into account the width of the largest CPU ID. On systems with
> 10 CPUs the labels for the first 10 CPUs were not lined up properly
otherwise.

Approved by: re (kib)
MFC after: 1 week


196164 13-Aug-2009 des

Update and remove CVS-specific items

Approved by: re (kib)


196031 02-Aug-2009 rwatson

Import OpenBSM 1.1p2 from vendor branch to 8-CURRENT. This patch release
addresses several minor issues:

- Fix audit_event definitions of AUE_OPENAT_RWT and AUE_OPENAT_RWTC.
- Fix build on Linux.
- Fix printing of class masks in the audump tool.

MFC after: 3 weeks
Obtained from: TrustedBSD Project
Approved by: re (kib)


195941 29-Jul-2009 delphij

Update less to v436. This is considered as a bugfix release from vendor.

Major changes from v429:
* Don't pass "-" to non-pipe LESSOPEN unless it starts with "-".
* Allow a fraction as the argument to the -# (--shift) option.
* Fix highlight bug when underlined/overstruck text matches at end of line.
* Fix non-regex searches with ctrl-R.

Approved by: re (kensmith, kib)


195936 29-Jul-2009 dougb

Update to version 9.6.1-P1 which addresses a remote DoS vulnerability:

Receipt of a specially-crafted dynamic update message may
cause BIND 9 servers to exit. This vulnerability affects all
servers -- it is not limited to those that are configured to
allow dynamic updates. Access controls will not provide an
effective workaround.

More details can be found here: https://www.isc.org/node/474

All BIND users are encouraged to update to a patched version ASAP.

Approved by: re (re -> SO -> dougb)


195815 22-Jul-2009 bms

Output DWARF debug information for global 'using' declarations, instead
of just blowing up. A very similar change to this exists which is
GPLv3 licensed, this is my own change.

This problem was triggered by running the Boost regression tests.

See also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31899
Reviewed by: luigi
Approved by: re (kib)


195740 17-Jul-2009 rwatson

Import OpenBSM 1.1p1 from vendor branch to 8-CURRENT, populating
contrib/openbsm and a subset also imported into sys/security/audit.
This patch release addresses several minor issues:

- Fixes to AUT_SOCKUNIX token parsing.
- IPv6 support for au_to_me(3).
- Improved robustness in the parsing of audit_control, especially long
flags/naflags strings and whitespace in all fields.
- Add missing conversion of a number of FreeBSD/Mac OS X errnos to/from BSM
error number space.

MFC after: 3 weeks
Obtained from: TrustedBSD Project
Sponsored by: Apple, Inc.
Approved by: re (kib)


195709 15-Jul-2009 sam

correct IEEE80211_RADIOTAP_XCHANNEL to match system

Submitted by: Guy Harris
Approved by: re (kib)


195697 14-Jul-2009 kan

Second attempt at eliminating .text relocations in shared libraries
compiled with stack protector.

Use libssp_nonshared library to pull __stack_chk_fail_local symbol into
each library that needs it instead of pulling it from libc. GCC
generates local calls to this function which result in absolute
relocations put into position-independent code segment, making dynamic
loader do extra work every time given shared library is being relocated
and making affected text pages non-shareable.

Reviewed by: kib
Approved by: re (kib)


195684 14-Jul-2009 sam

Updates, mostly to add 802.11s support:
o add missing Status and Reason codes
o parse/display Action frames
o parse/display Mesh data frames
o parse/display BA frames

Reviewed by: rpaulo
Approved by: re (kib)


195626 11-Jul-2009 cperciva

Remove build timestamps from the following files:
/boot/kernel/hptrr.ko
/etc/mail/*.cf
/lib/libcrypto.so.5
/usr/bin/ntpq
/usr/sbin/amd
/usr/sbin/iasl
/usr/sbin/ntpd
/usr/sbin/ntpdate
/usr/sbin/ntpdc

There does not appear to be any purpose to having these timestamps, and
they have the irritating consequence that the aforementioned files will
be different every time they are rebuilt.

After this commit, the only remaining build timestamps are in the kernel,
the boot loaders, /usr/include/osreldate.h (the year in the copyright
notice), and lib*.a (the timestamps on all of the included .o files).

Reviewed by: scottl (hptrr), gshapiro (sendmail), simon (openssl),
roberto (ntp), jkim (acpica)
Approved by: re (kib)


195621 11-Jul-2009 cperciva

Fix .Dd value -- our mdoc macros don't know how to parse the $Mdocdate$
tag, so the file was being treated as having no date (i.e., the current
date was being inserted).

Approved by: re (kib)


195609 11-Jul-2009 mp

Update to tcsh 6.17.00.

Approved by: re (kensmith)


195588 10-Jul-2009 mp

Bootstrap merge history.

Approved by: re


195000 25-Jun-2009 dougb

This is the solution that ISC committed after 9.6.1-release for
the gcc warning issue. It should be included in the next upstream
release.


194995 25-Jun-2009 dougb

Update to the final release version of BIND 9.6.1. It has the following
changes from the 9.6.1rc1 version. The first 2 only affect DNSSEC.

named could incorrectly delete NSEC3 records for
empty nodes when processing a update request.

Accept DS responses from delegation only zones.

"delegation-only" was not being accepted in
delegation-only type zones.


194767 23-Jun-2009 kib

Usermode portion of the support for swap allocation accounting:
- update for getrlimit(2) manpage;
- support for setting RLIMIT_SWAP in login class;
- addition to the limits(1) and sh and csh limit-setting builtins;
- tuning(7) documentation on the sysctls controlling overcommit.

In collaboration with: pho
Reviewed by: alc
Approved by: re (kensmith)


194290 16-Jun-2009 rdivacky

Fix a typo that causes the for loop to exit immediately. There's
identical loop a few lines above.

Reviewed by: sam
Approved by: ed (mentor)
Silence from: darrenr (maintainer)


194070 12-Jun-2009 lulf

- Remove semicolon that should not have been there.

Submitted by: rdivacky
MFC after: 1 week


194061 12-Jun-2009 avg

gdb: make 'thread apply all bt' always work on all threads

even if some appear to have (partially) corrupted stack traces.
E.g. kernel crashdumps typically have stack weirdness at
userland-kernel boundary.

Obtained from: vendor/upstream (CVS rev 1.118 of stack.c)
Reviewed by: emaste
Approved by: jhb


193893 10-Jun-2009 cperciva

Prevent integer overflow in direct pipe write code from circumventing
virtual-to-physical page lookups. [09:09]

Add missing permissions check for SIOCSIFINFO_IN6 ioctl. [09:10]

Fix buffer overflow in "autokey" negotiation in ntpd(8). [09:11]

Approved by: so (cperciva)
Approved by: re (not really, but SVN wants this...)
Security: FreeBSD-SA-09:09.pipe
Security: FreeBSD-SA-09:10.ipv6
Security: FreeBSD-SA-09:11.ntpd


193213 01-Jun-2009 lulf

- Add missing data argument to printf.

Submitted by: Pawel Worach <pawel.worach -AT- gmail.com>
MFC after: 1 week


193202 01-Jun-2009 dougb

Local hack to get the build going again while ISC works on a more
permanent solution for 9.6.1-release.

"My suggestion is to remove the whole attribute construct.
It only suppresses a warning when a function is unused. In this case
the function is defined as inline, so it's not causing a warning when
not used."

Submitted by: marcel


193150 31-May-2009 dougb

Update BIND to version 9.6.1rc1. This version has better performance and
lots of new features compared to 9.4.x, including:

Full NSEC3 support
Automatic zone re-signing
New update-policy methods tcp-self and 6to4-self
DHCID support.
More detailed statistics counters including those supported in BIND 8.
Faster ACL processing.
Efficient LRU cache-cleaning mechanism.
NSID support.


193149 31-May-2009 dougb

Update BIND to version 9.6.1rc1. This version has better performance and
lots of new features compared to 9.4.x, including:

Full NSEC3 support
Automatic zone re-signing
New update-policy methods tcp-self and 6to4-self
DHCID support.
More detailed statistics counters including those supported in BIND 8.
Faster ACL processing.
Efficient LRU cache-cleaning mechanism.
NSID support.


193043 29-May-2009 stas

- Prevent buffer overflow in IPFilter's load_http function used to load
ipfilter tables via http by the user-level ippool utility. Previously
the 1024-byte buffer used to store a http request coudld easily overflow
if the length of the hostname part of the url passes exceeded 496 bytes. [1]
- Use snprintf to prevent possieble buffer overflows in future. [2]
- Do not try to close the descriptor twice on failure. [2]

Reported by: Maksymilian Arciemowicz <cxib@securityreason.com> [1]
Obtained from: NetBSD CVS [2]
MFC after: 2 weeks


193021 29-May-2009 delphij

Add an EXIT STATUS section to the manual page. Currently, nc(1)
does not follow sysexits(3), and returns 1 for all error cases.

PR: docs/126451


193008 28-May-2009 delphij

Update netcat to the version carried with OpenBSD 4.5.


192954 28-May-2009 marcel

char can be unsigned, like on ARM and PowerPC. Unbreak the
build for those by propagating the type of character from
char to int.


192914 27-May-2009 ed

Update ee(1) in the base system to version 1.5.0.

This version is now licensed under a 2-clause BSD license, instead of
the Artistic license. I've reverted a lot of local modifications we made
to ee, because they have been integrated upstream as well.

Only local modifications include:

- $FreeBSD$ ID.
- Pathname to init.ee.
- catopen() call, to honor LC_MESSAGES instead of LANG.

To keep SVN happy, I'm putting an application/octet-stream mime type on
the KOI8 translations.

Reviewed by: current@


192856 26-May-2009 ed

Merge local changes to ee(1) into contrib space.

The source file, manual page and English translation are now directly
obtained from the contrib/ directory. This makes it a lot easier to
merge a newer version of ee(1) into the tree.

Thanks to: des and jhb


192850 26-May-2009 ed

Copy ee 1.4.2 into the contrib directory.

This allows me to merge our custom changes to ee(1) back on top of
original sources, with correct mergeinfo.


192599 22-May-2009 des

Expand $FreeBSD$


192561 21-May-2009 des

When man pages are formatted in UTF-8, .Fl is encoded as U+2212 "MINUS
SIGN" instead of U+002D "HYPHEN-MINUS". This is unfortunate for two
reasons: 1) this is not the character which is actually used on the
command line, and 2) it makes it impossible to search a man page for a
specific command-line option.

This patch fixes this, but there are other unresolved issues, such as
confusion between -, \- and hy: while the latter is always (and only)
used for hyphenation, both - and \- are used for negation and
subtraction, and \- is used for command-line options and sometimes
also for parenthesis. IMHO, the correct Unicode characters are:

- hyphenation: either U+2010 or U+00AD, most likely the former (the
latter is the so-called soft hyphen, used to indicate a point at
which a text processor is allowed to hyphenate a word)

- negation and subtraction: U+2212

- parenthesis: in English, U+2214, with spaces suppressed before and
after; in some others (such as Norwegian), U+2213 with spaces
retained.

- command-line options: U+002D, because that is what is actually used
on the command line.

However, fixing this would require extensive modifications to (at least)
the doc and man macro sets...

MFC after: 1 week


192350 18-May-2009 delphij

Merge vendor/file/dist@192348, bringing FILE 5.03 to 8-CURRENT.

Security: CVE-2009-1515


191930 09-May-2009 delphij

Update to less v429.


191926 08-May-2009 delphij

Bootstrap merge history for less.


191774 04-May-2009 obrien

This belongs in //svn.freebsd.org/base/vendor/file/dist now.


191771 04-May-2009 obrien

Merge vendor/file/dist@191739, bringing FILE 5.00 to 8-CURRENT.


191518 26-Apr-2009 ed

Remove even more empty directories.

I just used `hidesvn find . -type d -empty' to figure out which
directories are empty. This means I couldn't easily figure out which
directories only contained empty subdirectories.


191517 26-Apr-2009 ed

Remove empty directories from the HEAD.

Discussed with: developers, imp


191490 25-Apr-2009 bz

Remove udp and tcp includes not needed here.

Tripped over by: a compile of an upcoming change
MFC after: 1 month


191302 20-Apr-2009 roberto

Merge r191298 into HEAD.

Prevent a buffer overflow in ntpq. Patch taken from the PR database
after being committed to the official ntp tree and present in 4.2.4p7-rc2.

It will be MFH to the upcoming 7.2 pending re approval.

Obtained from: https://support.ntp.org/bugs/show_bug.cgi?id=1144
MFC after: 3 days
Security: http://www.securityfocus.com/bid/34481
CVE-2009-0159


191273 19-Apr-2009 rwatson

Merge OpenBSM 1.1 from OpenBSM vendor branch to head.

OpenBSM history for imported revision below for reference.

MFC after: 2 weeks
Sponsored by: Apple, Inc.
Obtained from: TrustedBSD Project

OpenBSM 1.1

- Change auditon(2) parameters and data structures to be 32/64-bit architecture
independent. Add more information to man page about auditon(2) parameters.
- Add wrapper functions for auditon(2) to use legacy commands when the new
commands are not supported.
- Add default for 'expire-after' in audit_control to expire trail files when
the audit directory is more than 10 megabytes ('10M').
- Interface to convert between local and BSM fcntl(2) command values has been
added: au_bsm_to_fcntl_cmd(3) and au_fcntl_cmd_to_bsm(3), along with
definitions of constants in audit_fcntl.h.
- A bug, introduced in OpenBSM 1.1 alpha 4, in which AUT_RETURN32 tokens
generated by audit_submit(3) were improperly encoded has been fixed.
- Fix example in audit_submit(3) man page. Also, make it clear that we want
the audit ID as the argument.
- A new audit event class 'aa', for post-login authentication and
authorization events, has been added.


190944 11-Apr-2009 rpaulo

Revert previous commit that commented out some bpf functions.
Unconstify arguments of bpf_image(), bpf_filter() and bpf_dump(). This
is needed because some ports rely heavely on these arguments (some of
them even roll out their own implemenentations of bpf_dump).


190827 07-Apr-2009 emaste

- Use gdb-* glob instead of gdb-6.1.1, to simplify future imports.
- Add a few entries for additional files from later gdb releases that
should also be ignored.


190812 07-Apr-2009 emaste

Bootstrap merge history for gdb.


190640 02-Apr-2009 rpaulo

Restore local change to include <sys/bpf.h> inside pcap.h. This fixes
remaining ports build problems.


190591 31-Mar-2009 rpaulo

Remove a dangling extern "C" declaration that was missed during the
merge. Fixes C++ ports using libpcap (nmap, for example).

Submitted by: Daniel Roethlisberger <daniel at roe.ch>


190422 25-Mar-2009 lulf

- Add proper error checking and printing to the CVSMode code when reading and
writing from/to streams, as leaving them out stops csup from cleaning up on
SIGINT and friends properly.

MFC after: 1 week


190406 25-Mar-2009 lulf

- Remember to set umask before setting attributes of RCS file.

Tested by: dougb
MFC after: 2 days


190404 25-Mar-2009 das

Merge an important change that I mistakenly left out when merging C99
inline function support. This should fix instances where gcc
spuriously reports the following error:

error: nested function 'foo' declared but never defined


190377 24-Mar-2009 vanhu

Fixed indentation for LINKTYPE_ENC

Approved by: gnn(mentor)


190234 22-Mar-2009 rpaulo

bpf_filter() and bpf_validate() can't live here if they already live in
bpf.h


190230 21-Mar-2009 rpaulo

Remove remaining references to BIOCSETBUFMODE ifdefs. We now have
another ifdef for zerocopy bpf.


190229 21-Mar-2009 rpaulo

Finish merge of zerocopy bpf.


190227 21-Mar-2009 dougb

Merge from vendor/bind9/dist as of the 9.4.3-P2 import


190225 21-Mar-2009 rpaulo

Merge libpcap 1.0.0.


190221 21-Mar-2009 rpaulo

Fix WITHOUT_IPV6=yes build.

Reported by: Andrzej Tobola ato at iem.pw.edu.pl


190213 21-Mar-2009 rpaulo

Add Mac OS X stuff.


190212 21-Mar-2009 rpaulo

Add a couple more paths.


190211 21-Mar-2009 rpaulo

Add svn:keywords.


190210 21-Mar-2009 rpaulo

Add exclude list for libpcap.


190207 21-Mar-2009 rpaulo

Merge tcpdump 4.0.0 from the vendor branch.


190205 21-Mar-2009 rpaulo

Fix incorrect path of the svn:mergeinfo property.


190202 21-Mar-2009 rpaulo

Fix a path.


190201 21-Mar-2009 rpaulo

Exclude list for tcpdump imports.


190156 20-Mar-2009 rpaulo

Bootstrap mergeinfo.


190155 20-Mar-2009 rpaulo

Bootstrap mergeinfo.


189902 17-Mar-2009 dougb

Add some notes and clarify a few sections:
1. Add a note to double-check the man page
2. Remove windows-specific items in the ctrl_interface section
3. Add a note that ap_scan must be set to 1 for use with wlan
4. Clarify the wording for scan_ssid related to APs that hide ssid
5. Clarify the wording for the priority option


189877 16-Mar-2009 vanhu

Added DLT_ENC to map list, so it is now possible
to save dumps on enc0

Reviewed by: gnn(mentor)
Obtained from: NETASQ
MFC after: 1 week


189841 15-Mar-2009 sam

remove gcc-ism; tsinfo isn't used anyway


189824 14-Mar-2009 das

Make gcc use C99 inline semantics in c99 and gnu99 mode. This was the
original intent, but the functionality wasn't implemented until after
gcc 4.2 was released. However, if you compiled a program that would
behave differently before and after this change, gcc 4.2 would have
warned you; hence, everything currently in the base system is
unaffected by this change. This patch also adds additional warnings
about certain inline function-related bogosity, e.g., using a
static non-const local variable in an inline function.

These changes were merged from a snapshot of gcc mainline from March
2007, prior to the GPLv3 switch. I then ran the regression test suite
from a more recent gcc snapshot and fixed the important bugs it found.
I also squelched the following warning unless -pedantic is specified:

foo is static but used in inline function bar which is not static

This is consistent with LLVM's behavior, but not consistent with gcc 4.3.

Reviewed by: arch@


189775 13-Mar-2009 sam

fix portability; linux does not have sa_len/sun_len


189618 10-Mar-2009 rwatson

Merge r183430 from vendor/top/dist to head/contrib/top, although with
record-only mergeinfo because an automated merge is confused by the
flattening that took place:

Move install to install-sh to prevent name-clashes.

MFC after: 3 days


189455 06-Mar-2009 lulf

- Try to handle rcsfile write failures in the same way as cvsup, as they are not
necessarily fatal. If the file was incorrectly written, the checksum will
detect it and the file will be retransferred.


189358 04-Mar-2009 das

Remove some unused vendor files.


189301 03-Mar-2009 rwatson

Update config.h for OpenBSM 1.1 beta1.

MFC after: 1 month


189279 02-Mar-2009 rwatson

Merge OpenBSM 1.1 beta 1 from OpenBSM vendor branch to head, both
contrib/openbsm (svn merge) and src/sys/{bsm,security/audit} (manual
merge).

OpenBSM history for imported revision below for reference.

MFC after: 1 month
Sponsored by: Apple, Inc.
Obtained from: TrustedBSD Project

OpenBSM 1.1 beta 1

- The filesz parameter in audit_control(5) now accepts suffixes: 'B' for
Bytes, 'K' for Kilobytes, 'M' for Megabytes, and 'G' for Gigabytes.
For legacy support no suffix defaults to bytes.
- Audit trail log expiration support added. It is configured in
audit_control(5) with the expire-after parameter. If there is no
expire-after parameter in audit_control(5), the default, then the audit
trail files are not expired and removed. See audit_control(5) for
more information.
- Change defaults in audit_control: warn at 5% rather than 20% free for audit
partitions, rotate automatically at 2mb, and set the default policy to
cnt,argv rather than cnt so that execve(2) arguments are captured if
AUE_EXECVE events are audited. These may provide more usable defaults for
many users.
- Use au_domain_to_bsm(3) and au_socket_type_to_bsm(3) to convert
au_to_socket_ex(3) arguments to BSM format.
- Fix error encoding AUT_IPC_PERM tokens.


189266 02-Mar-2009 sam

bring along mergeinfo

Submitted by: mlaier


189264 02-Mar-2009 sam

don't need these any more; we are now using a combined tree


189262 02-Mar-2009 sam

bring in local changes for:
CONFIG_DEBUG_SYSLOG
CONFIG_TERMINATE_ONLASTIF
EAP_SERVER


189261 02-Mar-2009 sam

connect vendor wpa area to contrib


189260 02-Mar-2009 sam

remove


189257 01-Mar-2009 sam

add new combined wpa_supplicant+hostapd tree


189139 28-Feb-2009 das

Make `less -R' not crash all the time.


189092 26-Feb-2009 ed

Rename all symbols in libmp(3) to mp_*, just like Solaris.

The function pow() in libmp(3) clashes with pow(3) in libm. We could
rename this single function, but we can just take the same approach as
the Solaris folks did, which is to prefix all function names with mp_.

libmp(3) isn't really popular nowadays. I suspect not a single
application in ports depends on it. There's still a chance, so I've
increased the SHLIB_MAJOR and __FreeBSD_version.

Reviewed by: deischen, rdivacky


188760 18-Feb-2009 imp

Add an extra (void *) cast. The struct if_msghdr has an 8 byte
alignment requirement, while rt_msghdr has a 4 byte alignment
requirement. The root cause is that if_msghdr has an struct if_data
which has an 8-byte alignment requirement due to a time_t that's
embedded in it. On MIPS, time_t is a 64-bit number, so must be 64-bit
aligned.

Since we don't access ifm_data.ifi_epoch, a simple cast is all that's
necessary here. It is likely the case that ifi_epoch should *NOT* be
a time_t because it is an uptime (time delta) an not an absolute time
since 1970. u_long is likely sufficient there since that gives an
uptime of 136 years will suffice for the foreseeable future.


188720 17-Feb-2009 des

Don't try to auto-detect dynamic linking; it fails on mips. The Makefile
part of the patch is an ugly (and hopefully temporary) hack.

Discussed with: imp@


188699 16-Feb-2009 cperciva

Correctly scrub telnetd's environment.

Approved by: so (cperciva)
Security: FreeBSD-SA-09:05.telnetd


188644 15-Feb-2009 lulf

- Do not free the pattern lists immediately after use, as they might be needed
again in case the connection is interrupted and csup have to reconnect. The
lists will be freed after the collection has been completely processed.

PR: bin/131477
Tested by: dchagin


188405 09-Feb-2009 lulf

- Fix an issue where file attributes were not installed correctly during a Touch
and SetAttrs operation.
- SetAttrs and Touch were incorrectly switched.


187920 30-Jan-2009 gabor

- Remove non-existing reference
- Fix trailing comma

PR: docs/85118
Submitted by: vs
MFC after: 3 days


187808 28-Jan-2009 das

Vendor import of gdtoa 20081205.


187791 27-Jan-2009 sam

update to 0.5.11: some useful bug fixes (check ChangeLog)

Submitted by: scf
MFC after: 3 weeks


187583 22-Jan-2009 trhodes

Document the "-U" option. While it is not part of the
getopt(), it is accepted through smb_ctx_init() in
lib/smb/ctx.c.

PR: 117013
Submitted by: Tom Evans <tevans.uk@googlemail.com> (original version)


187268 15-Jan-2009 sam

re-merge after tag


187266 15-Jan-2009 sam

bootstrap merge history


187214 14-Jan-2009 rwatson

Merge OpenBSM alpha 5 from OpenBSM vendor branch to head, both
contrib/openbsm (svn merge) and src/sys/{bsm,security/audit} (manual
merge). Hook up bsm_domain.c and bsm_socket_type.c to the libbsm
build along with man pages, add audit_bsm_domain.c and
audit_bsm_socket_type.c to the kernel environment.

OpenBSM history for imported revisions below for reference.

MFC after: 1 month
Sponsored by: Apple Inc.
Obtained from: TrustedBSD Project

OpenBSM 1.1 alpha 5

- Stub libauditd(3) man page added.
- All BSM error number constants with BSM_ERRNO_.
- Interfaces to convert between local and BSM socket types and protocol
families have been added: au_bsm_to_domain(3), au_bsm_to_socket_type(3),
au_domain_to_bsm(3), and au_socket_type_to_bsm(3), along with definitions
of constants in audit_domain.h and audit_socket_type.h. This improves
interoperability by converting local constant spaces, which vary by OS, to
and from Solaris constants (where available) or OpenBSM constants for
protocol domains not present in Solaris (a fair number). These routines
should be used when generating and interpreting extended socket tokens.
- Fix build warnings with full gcc warnings enabled on most supported
platforms.
- Don't compile error strings into bsm_errno.c when building it in the kernel
environment.
- When started by launchd, use the label com.apple.auditd rather than
org.trustedbsd.auditd.


187194 13-Jan-2009 simon

Correct ntpd(8) cryptographic signature bypass [SA-09:04].

Correct BIND DNSSEC incorrect checks for malformed signatures
[SA-09:04].

Security: FreeBSD-SA-09:03.ntpd
Security: FreeBSD-SA-09:04.bind
Obtained from: ISC [SA-09:04]
Approved by: so (simon)


186942 09-Jan-2009 dougb

Merge from vendor/bind9/dist as of the 9.4.3-P1 import


186872 07-Jan-2009 simon

Prevent cross-site forgery attacks on lukemftpd(8) due to splitting
long commands into multiple requests. [09:01]

Fix incorrect OpenSSL checks for malformed signatures due to invalid
check of return value from EVP_VerifyFinal(), DSA_verify, and
DSA_do_verify. [09:02]

Security: FreeBSD-SA-09:01.lukemftpd
Security: FreeBSD-SA-09:02.openssl
Obtained from: NetBSD [SA-09:01]
Obtained from: OpenSSL Project [SA-09:02]
Approved by: so (simon)


186871 07-Jan-2009 lulf

- Update manpage now that cvs mode is supported.


186781 05-Jan-2009 lulf

Merge support for CVSMode (aka. mirror mode) into csup. This means csup can now
fetch a complete CVS repository. Support for rsync update of regular files are
also included, but are not yet enabled. The change should not have an impact on
existing csup usage, as little of the existing code has changed.


186692 02-Jan-2009 obrien

Add an additional COMPILE_ONLY check.


186691 02-Jan-2009 obrien

Record that base/vendor/file/dist@186675 was merged.
Merge base/vendor/file/dist@186675@186690, bringing FILE 4.26 to 8-CURRENT.


186648 31-Dec-2008 rwatson

Update config.h for OpenBSM 1.1 alpha 4.


186647 31-Dec-2008 rwatson

Merge OpenBSM alpha 4 from OpenBSM vendor branch to head, both
contrib/openbsm (svn merge) and src/sys/{bsm,security/audit} (manual
merge). Add libauditd build parts and add to auditd's linkage;
force libbsm to build before libauditd.

OpenBSM history for imported revisions below for reference.

MFC after: 1 month
Sponsored by: Apple Inc.
Obtained from: TrustedBSD Project

OpenBSM 1.1 alpha 4

- With the addition of BSM error number mapping, we also need to map the
local error number passed to audit_submit(3) to a BSM error number,
rather than have the caller perform that conversion.
- Reallocate user audit events to avoid collisions with Solaris; adopt a
more formal allocation scheme, and add some events allocated in Solaris
that will be of immediate use on other platforms.
- Add an event for Calife.
- Add au_strerror(3), which allows generating strings for BSM errors
directly, rather than requiring applications to map to the local error
space, which might not be able to entirely represent the BSM error
number space.
- Major auditd rewrite for launchd(8) support. Add libauditd library
that is shared between launchd and auditd.
- Add AUDIT_TRIGGER_INITIALIZE trigger (sent via 'audit -i') for
(re)starting auditing under launchd(8) on Mac OS X.
- Add 'current' symlink to active audit trail.
- Add crash recovery of previous audit trail file when detected on audit
startup that it has not been properly terminated.
- Add the event AUE_audit_recovery to indicated when an audit trail file
has been recovered from not being properly terminated. This event is
stored in the new audit trail file and includes the path of recovered
audit trail file.
- Mac OS X and FreeBSD dependent code in auditd.c is separated into
auditd_darwin.c and auditd_fbsd.c files.
- Add an event for the posix_spawn(2) and fsgetpath(2) Mac OS X system
calls.
- For Mac OS X, we use ASL(3) instead of syslog(3) for logging.
- Add support for NOTICE level logging.

OpenBSM 1.1 alpha 3

- Add two new functions, au_bsm_to_errno() and au_errno_to_bsm(), to map
between BSM error numbers (largely the Solaris definitions) and local
errno(2) values for 32-bit and 64-bit return tokens. This is required
as operating systems don't agree on some of the values of more recent
error numbers.
- Fix a bug how au_to_exec_args(3) and au_to_exec_env(3) calculates the
total size for the token. This buge.
- Deprecated Darwin constants, such as TRAILER_PAD_MAGIC, removed.


186462 23-Dec-2008 dougb

Merge from vendor/bind9/dist as of the 9.4.3 import


186343 19-Dec-2008 delphij

Merge nc(1) from OpenBSD 4.4. While there, rename our '-O' (no
tcp options) to '--no-tcpopt' in order to resolve a comflicit
with OpenBSD's -O semantics.


186119 15-Dec-2008 qingli

This main goals of this project are:
1. separating L2 tables (ARP, NDP) from the L3 routing tables
2. removing as much locking dependencies among these layers as
possible to allow for some parallelism in the search operations
3. simplify the logic in the routing code,

The most notable end result is the obsolescent of the route
cloning (RTF_CLONING) concept, which translated into code reduction
in both IPv4 ARP and IPv6 NDP related modules, and size reduction in
struct rtentry{}. The change in design obsoletes the semantics of
RTF_CLONING, RTF_WASCLONE and RTF_LLINFO routing flags. The userland
applications such as "arp" and "ndp" have been modified to reflect
those changes. The output from "netstat -r" shows only the routing
entries.

Quite a few developers have contributed to this project in the
past: Glebius Smirnoff, Luigi Rizzo, Alessandro Cerri, and
Andre Oppermann. And most recently:

- Kip Macy revised the locking code completely, thus completing
the last piece of the puzzle, Kip has also been conducting
active functional testing
- Sam Leffler has helped me improving/refactoring the code, and
provided valuable reviews
- Julian Elischer setup the perforce tree for me and has helped
me maintaining that branch before the svn conversion


186066 13-Dec-2008 des

Bootstrap mergeinfo


185925 11-Dec-2008 imp

Push mips support into the tree.


185875 10-Dec-2008 mlaier

Bootstrap mergeinfo on pf userland


185573 02-Dec-2008 rwatson

Merge OpenBSM 1.1 alpha 2 from the OpenBSM vendor branch to head, both
contrib/openbsm (svn merge) and sys/{bsm,security/audit} (manual merge).

- Add OpenBSM contrib tree to include paths for audit(8) and auditd(8).
- Merge support for new tokens, fixes to existing token generation to
audit_bsm_token.c.
- Synchronize bsm includes and definitions.

OpenBSM history for imported revisions below for reference.

MFC after: 1 month
Sponsored by: Apple Inc.
Obtained from: TrustedBSD Project

--

OpenBSM 1.1 alpha 2

- Include files in OpenBSM are now broken out into two parts: library builds
required solely for user space, and system includes, which may also be
required for use in the kernels of systems integrating OpenBSM. Submitted
by Stacey Son.
- Configure option --with-native-includes allows forcing the use of native
include for system includes, rather than the versions bundled with OpenBSM.
This is intended specifically for platforms that ship OpenBSM, have adapted
versions of the system includes in a kernel source tree, and will use the
OpenBSM build infrastructure with an unmodified OpenBSM distribution,
allowing the customized system includes to be used with the OpenBSM build.
Submitted by Stacey Son.
- Various strcpy()'s/strcat()'s have been changed to strlcpy()'s/strlcat()'s
or asprintf(). Added compat/strlcpy.h for Linux.
- Remove compatibility defines for old Darwin token constant names; now only
BSM token names are provided and used.
- Add support for extended header tokens, which contain space for information
on the host generating the record.
- Add support for setting extended host information in the kernel, which is
used for setting host information in extended header tokens. The
audit_control file now supports a "host" parameter which can be used by
auditd to set the information; if not present, the kernel parameters won't
be set and auditd uses unextended headers for records that it generates.

OpenBSM 1.1 alpha 1

- Add option to auditreduce(1) which allows users to invert sense of
matching, such that BSM records that do not match, are selected.
- Fix bug in audit_write() where we commit an incomplete record in the
event there is an error writing the subject token. This was submitted
by Diego Giagio.
- Build support for Mac OS X 10.5.1 submitted by Eric Hall.
- Fix a bug which resulted in host XML attributes not being arguments so
that const strings can be passed as arguments to tokens. This patch was
submitted by Xin LI.
- Modify the -m option so users can select more then one audit event.
- For Mac OS X, added Mach IPC support for audit trigger messages.
- Fixed a bug in getacna() which resulted in a locking problem on Mac OS X.
- Added LOG_PERROR flag to openlog when -d option is used with auditd.
- AUE events added for Mac OS X Leopard system calls.


185024 17-Nov-2008 raj

gdb: Remove arm_pc_is_thumb_dummy() and related code.

This is basically an import of the following gdb change:
http://sourceware.org/ml/gdb-cvs/2005-03/msg00143.html (which in effect fixes
problems with gracefully closing down the non-Thumb program being debugged).


184990 15-Nov-2008 rafan

- Update instructions for Subversion import
- Remove FREEBSD-vendor as edwin@ is working on a automatically contrib
software status page generation


184989 15-Nov-2008 rafan

- Update ncurses to 5.7-20081102 (5.7 release) and build glue
- This also removes $FreeBSD$ from two now unmodifed source files
ncurses/tinfo/lib_raw.c and ncurses/tinfo/lib_baudrate.c

MFC after: 2 months (after 7.1 and 6.4 are released)


184980 15-Nov-2008 gshapiro

Merge from vendor dist: Bring in a change already in the sendmail
repository that will allow sendmail to be built with the c99 compiler.

Submitted by: rdivacky


184938 13-Nov-2008 ed

Use strlcpy() instead of strcpy().

Requested by: mlaier


184935 13-Nov-2008 ed

Convert telnetd(8) to use posix_openpt(2).

Some time ago I got some reports MPSAFE TTY broke telnetd(8). Even
though it turned out to be a different problem within the TTY code, I
spotted a small issue with telnetd(8). Instead of allocating PTY's using
openpty(3) or posix_openpt(2), it used its own PTY allocation routine.
This means that telnetd(8) still uses /dev/ptyXX-style devices.

I've also increased the size of line[]. Even though 16 should be enough,
we already use 13 bytes ("/dev/pts/999", including '\0'). 32 bytes gives
us a little more freedom.

Also enable -DSTREAMSPTY. Otherwise telnetd(8) strips the PTY's pathname
to the latest slash instead of just removing "/dev/" (e.g. /dev/pts/0 ->
0, instead of pts/0).

Reviewed by: rink


184901 13-Nov-2008 rwatson

Bootstrap merge history for OpenBSM.


184788 09-Nov-2008 rafan

- Bootstrap mergeinfo


184567 02-Nov-2008 rwatson

When encoding an smb name, truncate one byte earlier in order than we did
previously in order to ensure it fit properly in the bufer when encoded.
This prevents a debugging printf from firing if a source or destination
host name for an smb mount exceeds 15 characters.

MFC after: 3 days
Obtained from: Apple, Inc.


184072 20-Oct-2008 ru

Actually fix pty detection for autologout setting.
(The fix has been submitted upstream.)


183701 08-Oct-2008 des

These directories have been empty since 2001, and are not present in the
vendor tree.

MFC after: 1 week


183434 28-Sep-2008 edwin

Bootstrap the merge history for vendor/top and contrib/top.


183395 27-Sep-2008 delphij

Bootstrap mergeinfo.


183102 16-Sep-2008 csjp

Implement zero-copy bpf(4) buffer or "zbuf" support for libpcap. A slightly
different version has been committed upstream in the libpcap vendor branch.
This will allow people to experiment with zero-copy bpf(4) without requiring
external patches.

Note to enable this functionality:

sysctl net.bpf.zerocopy_enable=1

By default, libpcap will use the legacy buffering method unless this sysctl
variable is set to 1.

For the details about zero-copy bpf(4) implementation see svn change r177548.

Requested by: many
Discussed with: sam
In collaboration with: rwatson


183004 13-Sep-2008 antoine

Fix TELOPT(opt) when opt > TELOPT_TN3270E.

PR: 127194
Submitted by: Joost Bekkers
MFC after: 1 month


182907 10-Sep-2008 obrien

If arm.h is going to define WCHAR_TYPE, don't assume WCHAR_TYPE_SIZE
doesn't already have a definition.

Reported by: imp


182857 07-Sep-2008 roberto

Merge from vendor/ntp/dist: r182856:

Apply updated patch from bin/92839 to avoid two possible buffer overflows.

PR: bin/92839
Submitted by: Helge Oldach <freebsdntpd@oldach.net>


182710 03-Sep-2008 das

Make strtof() respect the current rounding mode.


182709 03-Sep-2008 das

Merge gdtoa 20080831. This fixes several bugs, including an infinite
loop pointed out by cognet@ that occurs when calling strtod() with a
string representing a number between DBL_MAX and 2*DBL_MAX, when the
rounding mode is anything other than the default.


182705 03-Sep-2008 das

Fixup mergeinfo to point to the right revision.


182701 03-Sep-2008 das

Initialize the merge history for contrib/gdtoa.


182675 02-Sep-2008 gshapiro

Fix an ABI breakage found after the import that will be part of the
next version of sendmail. Putting it in now for the upcoming 7-BETA
and 6-BETA test releases.

Submitted by: Mike Tancsa


182654 01-Sep-2008 obrien

We're not quite ready for the full %(endian_spec).


182645 01-Sep-2008 dougb

Merge from vendor/bind9/dist as of the 9.4.2-P2 import


182644 01-Sep-2008 obrien

Add __unix__. Tweak __KPRINTF_ATTRIBUTE__ while I'm here.


182627 01-Sep-2008 obrien

Add FreeBSD/MIPS support to GCC.


182579 31-Aug-2008 obrien

Turn cc_tools/Makefile and Makefile.tgt into a "linear" read. Shared
parts of the configuration aren't duplicated, and arch-specific exceptions
are made "in-place". Also clean up the FreeBSD/amd64 config a little.


182419 29-Aug-2008 trhodes

List authentication types supported with "-X" taken from the libtelnet
code.

PR: 121721


182356 28-Aug-2008 gshapiro

Update import/merge instructions for the svn repo


182352 28-Aug-2008 gshapiro

Merge sendmail 8.14.3 into HEAD.

Note: As the first merge since the conversion to svn, it includes many
propset changes to get the proper svn:eol-style and svn:mime-type on the
files (as merged from the fixed up vendor/dist area).

MFC after: 3 days


182328 28-Aug-2008 peter

Initialize merge records


182007 22-Aug-2008 roberto

Merge ntpd & friends 4.2.4p5 from vendor/ntp/dist into head. Next commit
will update usr.sbin/ntp to match this.

MFC after: 2 weeks


181837 18-Aug-2008 roberto

Move FREEBSD-upgrade as well.


181836 18-Aug-2008 roberto

Move FREEBSD-Xlist in a more proper location.


181829 18-Aug-2008 roberto

Reset mergeinfo for contrib/ntp (per the wiki page).


181540 10-Aug-2008 das

Doc updates for changes in the default values of
-ffancy-math-387 and -mmath-errno.


181538 10-Aug-2008 das

Make -fno-math-errno the default. Our libm doesn't support the SysV
mistake of setting errno, and never has. This will need to be fixed
upstream in a more generic way, but the changes are somewhat more
involved.


181534 10-Aug-2008 das

Make -mfancy-math-387 the default on FreeBSD, as it is on most other
operating systems. Previously, gcc would inhibit the generation of
fsqrt, fsin, and several other floating point instructions, for the
benefit of the old in-kernel math emulator, which was removed over 5
years ago.


181313 04-Aug-2008 mlaier

Fix build when WITHOUT_DYNAMICROOT is specified in src.conf(5).


180931 28-Jul-2008 jhb

Don't attempt authentication at all if it has been disabled via '-a off'.
This works around a bug in HP-UX's telnet client and also gives a much
saner user experience when using FreeBSD's telnet client.

PR: bin/19405
Submitted by: Joel Ray Holveck joelh of gnu.org
MFC after: 1 month


180778 24-Jul-2008 darrenr

2020447 IPFilter's NAT can undo name server random port selection

Approved by: darrenr
MFC after: 1 week
Security: CERT VU#521769


180761 23-Jul-2008 des

For unfathomable reasons, ipfilter abuses kernel data structures for its
own purposes. To pull this off, it defines _KERNEL before including the
headers where these structures are defined. This leads to no end of
trouble when some of these headers, or other headers that they include,
change, as demonstrated by r180755.

The quick fix in this particular case is to define _WANT_FILE instead of
_KERNEL, conditional on __FreeBSD__. A better long-term fix is left as
an exercise to the reader.


180637 20-Jul-2008 keramida

tcsh: fix abort in cleanup_until(), caused by internal xgetpass()

The xgetpass() function pushes a cleanup entry for &osa, but then
attempts to flush the stack until an entry matching &sa. The two
object pointers do not match, so the stack is popped too much,
and then cleanup_until calls abort() when it unexpectedly hits
the bottom of the cleanup stack.

Reported by: Paul B. Mahol, onemda at gmail.com,
Pietro Cerutti, gahr at gahr.ch
PR: bin/124191
Reviewed by: mp, kris
MFC after: 2 days


180477 12-Jul-2008 dougb

Merge from vendor/bind9/dist as of the 9.4.2-P1 import, including
the patch from ISC for lib/bind9/check.c and deletion of unused
files in lib/bind.

This version will by default randomize the UDP query source port
(and sequence number of course) for every query.

In order to take advantage of this randomization users MUST have an
appropriate firewall configuration to allow UDP queries to be sent and
answers to be received on random ports; and users MUST NOT specify a
port number using the query-source[-v6] options.

The avoid-v[46]-udp-ports options exist for users who wish to eliminate
certain port numbers from being chosen by named for this purpose. See
the ARM Chatper 6 for more information.

Also please note, this issue applies only to UDP query ports. A random
ephemeral port is always chosen for TCP queries.

This issue applies primarily to name servers whose main purpose is to
resolve random queries (sometimes referred to as "caching" servers, or
more properly as "resolving" servers), although even an "authoritative"
name server will make some queries, primarily at startup time.

All users of BIND are strongly encouraged to upgrade to the latest
version, and to utilize the source port randomization feature.

This update addresses issues raised in:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1447
http://www.kb.cert.org/vuls/id/800113
http://tools.ietf.org/html/draft-ietf-dnsext-forgery-resilience


180475 12-Jul-2008 dougb

The vendor area is the proper home for these files now.


180457 12-Jul-2008 peter

Record baseline merge state.

svn merge --record-only svn+ssh://svn.freebsd.org/base/vendor/bind9/dist .


180407 10-Jul-2008 peter

Merge gnu cpio 2.6 -> 2.8 changes. Unfortunately, we have massive
conflicts due to radically different approaches to security and bug fixes.
In some cases I re-started from the vendor version and reimplemented our
patches. Fortunately, this is not enabled by default in -current.


180402 10-Jul-2008 peter

Initialize mergeinfo. Record all previous vendor branch activity as merged.


180079 28-Jun-2008 obrien

White space fixes.


180078 28-Jun-2008 obrien

Reduce diff to vendor.


179918 21-Jun-2008 das

Bring in the vendor's fix for a bug in strtod() whereby
strtod("0xyz", &endp) resulted in endp pointing to "0xyz"
instead of "xyz".

Reported by: Tony Finch <dot@dotat.at>
MFC after: 1 week


179911 21-Jun-2008 ru

Removed the no-op -p; documented -P.

MFC after: 3 days


179826 16-Jun-2008 obrien

Add $FreeBSD$ since we now have local changes.


179619 06-Jun-2008 obrien

Optimize the CVS bug #17168 fix by relaxing the conditions for update
with respect to sticky options. (r179561 was WRT sticky and branch tags)

Consulted with: Mark Baushke <mdb@gnu.org>


179561 05-Jun-2008 obrien

Optimize the CVS bug #17168 fix by relaxing the conditions for update.


179537 04-Jun-2008 rafan

- update maintainer's info per src/MAINTAINERS


179494 02-Jun-2008 dougb

Add proper mime-types for files that they are relevant for.
This is useful for things like *.pdf files that svn needs
to know about, and will probably be useful down the road
for other things.


179407 29-May-2008 obrien

Bring these back to HEAD.
(I thought ncvs@ had rm'ed these MIPS files a long time ago... SVN had
better work out - else 7 more files off the vendor branch.)


179405 29-May-2008 obrien

This commit was generated by cvs2svn to compensate for changes in r179404,
which included commits to RCS files with non-trunk default branches.


178927 10-May-2008 antoine

Document freebsd extensions to netcat a bit better:
- sort the options
- document -o and -O everywhere

Reviewed by: delphij
Approved by: rwatson (mentor)


178894 09-May-2008 julian

Max's changes got left out of the MRT commit.


178870 09-May-2008 rafan

- Update for 5.6-20080503


178867 09-May-2008 rafan

This commit was generated by cvs2svn to compensate for changes in r178866,
which included commits to RCS files with non-trunk default branches.


178851 08-May-2008 cokane

Update the FREEBSD-upgrade for expat 2.0.1

Approved by: sam, phk


178849 08-May-2008 cokane

This commit was generated by cvs2svn to compensate for changes in r178848,
which included commits to RCS files with non-trunk default branches.


178846 08-May-2008 dfr

Merge from the vendor branch and resolve conflicts.


178844 08-May-2008 dfr

This commit was generated by cvs2svn to compensate for changes in r178843,
which included commits to RCS files with non-trunk default branches.


178464 24-Apr-2008 obrien

List of files that are off the vendor branch, but we use the stock vendor
files.


178463 24-Apr-2008 obrien

Remove FreeBSD ID's so these are exact copies of the vendor sources.


178389 21-Apr-2008 marius

This commit was generated by cvs2svn to compensate for changes in r178388,
which included commits to RCS files with non-trunk default branches.


178387 21-Apr-2008 delphij

Update instructions to match recent practices


178386 21-Apr-2008 delphij

Add vendor metadata


178385 21-Apr-2008 delphij

Resolve conflicts.


178383 21-Apr-2008 delphij

This commit was generated by cvs2svn to compensate for changes in r178382,
which included commits to RCS files with non-trunk default branches.


178364 20-Apr-2008 sam

This commit was generated by cvs2svn to compensate for changes in r178363,
which included commits to RCS files with non-trunk default branches.


178116 11-Apr-2008 ru

system_info.cpustates isn't sparse, so a bitmask of available CPU states
is redundant (I think it's a leftover from an older implementation).


177837 01-Apr-2008 bms

Add an -O option to disable TCP options, for protocol testing purposes.
Do this for active and passive (-l switch) TCP sessions.

MFC after: 1 week


177700 29-Mar-2008 mlaier

Make ALTQ cope with disappearing interfaces (particularly common with mpd
and netgraph in gernal). This also allows to add queues for an interface
that is not yet existing (you have to provide the bandwidth for the
interface, however).

PR: kern/106400, kern/117827
MFC after: 2 weeks


177675 28-Mar-2008 jb

Remove files that have been repo copied to their new location
in cddl-specific parts of the source tree.


177620 25-Mar-2008 sam

fix botched merge of syslog support to the vendor branch; these files
were off the branch so we need to pull the changes back up


177581 24-Mar-2008 sam

This commit was generated by cvs2svn to compensate for changes in r177580,
which included commits to RCS files with non-trunk default branches.


177578 24-Mar-2008 sam

resolve merge conflicts

MFC after: 3 weeks


177577 24-Mar-2008 sam

This commit was generated by cvs2svn to compensate for changes in r177576,
which included commits to RCS files with non-trunk default branches.


177573 24-Mar-2008 sam

This commit was generated by cvs2svn to compensate for changes in r177572,
which included commits to RCS files with non-trunk default branches.


177571 24-Mar-2008 sam

update for 0.5.10


177570 24-Mar-2008 sam

resolve merge conflicts

MFC after: 3 weeks


177569 24-Mar-2008 sam

This commit was generated by cvs2svn to compensate for changes in r177568,
which included commits to RCS files with non-trunk default branches.


177424 20-Mar-2008 delphij

Resolve conflicts.


177423 20-Mar-2008 delphij

Update upgrade instructions to reflect 1.0.5 import; add FREEBSD-vendor
metadata file.


177421 20-Mar-2008 delphij

This commit was generated by cvs2svn to compensate for changes in r177420,
which included commits to RCS files with non-trunk default branches.


177405 19-Mar-2008 obrien

Remove FreeBSD ID's so these are exact copies of the vendor sources.


177404 19-Mar-2008 obrien

We use the stock versions of these files.


177402 19-Mar-2008 obrien

Merge rev 1.9 (new long flag to ignore the CVSROOT/passwd file)
rev 1.2 (local tag/$Id$ keyword support) into version 1.11-20080310.


177401 19-Mar-2008 obrien

Merge rev 1.9 (update "-T" Template support) and rev 1.2 (-D'date'
option with -r'branch' on update) into version 1.11-20080310.


177400 19-Mar-2008 obrien

Merge rev 1.28 (CAN-2005-0753 / FreeBSD-SA-05:05.cvs fixes),
rev 1.27 ("iso8601" option keyword) revs 1.12/1.10/1.5/1.4 ($CVSHeader$
support) rev 1.2 ($CVS_LOCAL_BRANCH_NUM support for local commit
feature of cvsup) into version 1.11-20080310.


177399 19-Mar-2008 obrien

Merge rev 1.2 (extensions to the $CVSROOT/config syntax) and
rev 1.4 (1.12 CVSROOT/config keyword expansion forward compatability)
into version 1.11-20080310.
Note the vendor has also added some forward compatability support.
We should determine if we can live with just the vendor's method.


177398 19-Mar-2008 obrien

Merge rev 1.25 ("iso8601" option keyword), rev 1.17 (environtmental var
"CVS_OPTIONS"), rev 1.14 ('-g' option to support shared-group access),
rev 1.7 ('-R' read-only repository mode), rev 1.6 (support for checking
out from a read-only repository), revs 1.4 & 1.5 ("tagexpand=")
into version 1.11-20080310. Note the vendor accepted my "blame" alias.


177397 19-Mar-2008 obrien

Merge rev. 1.2 ("iso8601" option keyword) into version 1.11-20080310.
Note the vendor added our '-n' feature to the offical code base.


177396 19-Mar-2008 obrien

Merge rev 1.3 (catch write-lock attempts immediately if running in
read-only mode) & rev 1.2 (check out from read-only repository support)
into version 1.11-20080310.


177395 19-Mar-2008 obrien

Merge rev 1.21: change default from "rsh" to "ssh", rev 1.14: comprehensive
-T CVS/Template support, rev 1.9: new long flag that causes cvs to ignore
the CVSROOT/passwd file, rev 1.3: support for checking out from a read-only
repository, rev. 1.2: support for local $Id$ keyword into cvs 1.11-20080310.


177394 19-Mar-2008 obrien

Merge rev 1.7: always upload new files, even if the timestamps match,
rev 1.2: fix a problem sometimes seen when doing checkouts from a local repo
and committing via remote cvs (a cvs -d override of the mismatched CVS/Root
files was missing) into cvs 1.11-20080310.

Note that rev 1.4 (default CVS_RSH to "ssh") will not be handled thru the
vendor's config.h.


177392 19-Mar-2008 obrien

This commit was generated by cvs2svn to compensate for changes in r177391,
which included commits to RCS files with non-trunk default branches.


177291 17-Mar-2008 obrien

egad! The cvs 1.11.22 distribution had a Linux binary in it. Yuck.


177129 12-Mar-2008 delphij

This commit was generated by cvs2svn to compensate for changes in r177128,
which included commits to RCS files with non-trunk default branches.


176893 07-Mar-2008 syrinx

This commit was generated by cvs2svn to compensate for changes in r176892,
which included commits to RCS files with non-trunk default branches.


176535 25-Feb-2008 sam

unbreak printing 802.11 tx/rx rates

MFC after: 3 days


176428 20-Feb-2008 rpaulo

Add AS lookup functionality. On each hop we query a whois server to
find the corresponding AS for that IP (-a switch).
We can also choose a different whois server with the -A switch. The
default is whois.radb.net.

Obtained from: NetBSD
Reviewed by: bms, njl (mentor)
Approved by: njl (mentor)


176196 11-Feb-2008 remko

MFOpenBSD rev 1.393 pf.conf.5

do not describe `/' as solidus; from Allen (freebsd pr120484);

PR: 120484
Submitted by: Allen <alandsidel at 1001islington dot com>
MFC After: 3 days


176192 11-Feb-2008 rafan

- Update instructions for snapshot import


176191 11-Feb-2008 rafan

Per discussion on developers@, add vendor information for ncurses.


176188 11-Feb-2008 rafan

This commit was generated by cvs2svn to compensate for changes in r176187,
which included commits to RCS files with non-trunk default branches.


176069 06-Feb-2008 des

As per discussion, commit experimental metadata for my contrib packages.
The idea is to have a FREEBSD-vendor file for every third-party package
in the tree.


175899 02-Feb-2008 obrien

This commit was generated by cvs2svn to compensate for changes in r175898,
which included commits to RCS files with non-trunk default branches.


175883 02-Feb-2008 obrien

This commit was generated by cvs2svn to compensate for changes in r175882,
which included commits to RCS files with non-trunk default branches.


175812 30-Jan-2008 obrien

Update for the 4.23 import.


175802 29-Jan-2008 des

This commit was generated by cvs2svn to compensate for changes in r175801,
which included commits to RCS files with non-trunk default branches.


175793 29-Jan-2008 obrien

\jedi-mind-trick{this is not the file you were looking for}


175791 29-Jan-2008 obrien

This commit was generated by cvs2svn to compensate for changes in r175790,
which included commits to RCS files with non-trunk default branches.


175420 18-Jan-2008 peter

Add a -P flag to display per-cpu cpu usage stats.


175297 13-Jan-2008 obrien

This commit was generated by cvs2svn to compensate for changes in r175296,
which included commits to RCS files with non-trunk default branches.


175285 13-Jan-2008 obrien

Update for the 1.11.22 import.

Reviewed/begged-for by: peter


175284 13-Jan-2008 obrien

This commit was generated by cvs2svn to compensate for changes in r175283,
which included commits to RCS files with non-trunk default branches.


175282 13-Jan-2008 obrien

We use the stock versions of these files.

Reviewed/begged-for by: peter


175281 13-Jan-2008 obrien

Merge what 1.11.17 -> 1.11.22 ../doc/cvs.1 changes I could.
We never merged in the 1.11.15 -> 1.11.17 changes - due to the moving
of cvs.1 from man/ to doc/ and being auto generated.


175280 13-Jan-2008 obrien

Merge rev 1.9 (update "-T" Template support) and rev 1.2 (-D'date'
option with -r'branch' on update) into version 1.11.22.


175279 13-Jan-2008 obrien

Merge rev 1.9 (new long flag to ignore the CVSROOT/passwd file)
rev 1.2 (local tag/$Id$ keyword support) into version 1.11.22.


175278 13-Jan-2008 obrien

Merge rev 1.28 (CAN-2005-0753 / FreeBSD-SA-05:05.cvs fixes),
rev 1.27 ("iso8601" option keyword) revs 1.12/1.10/1.5/1.4 ($CVSHeader$
support) rev 1.2 ($CVS_LOCAL_BRANCH_NUM support for local commit
feature of cvsup) into version 1.11.22.

Note rev 1.21 ("-D date" checkout bug relating to 1.1.1.1 vs 1.1
revisions), rev 1.13 (allow -D'date' with -r'branch' on a checkout),
rev 1.6 (use xstrdup rather than strdup) are fixed in the vendor sources


175277 13-Jan-2008 obrien

Merge rev 1.11 ("iso8601" option keyword) into version 1.11.22.
(all our other local changes are OBE)


175276 13-Jan-2008 obrien

Merge rev 1.2 (extensions to the $CVSROOT/config syntax) and
rev 1.4 (1.12 CVSROOT/config keyword expansion forward compatability)
into version 1.11.22.


175275 13-Jan-2008 obrien

Merge rev 1.25 ("iso8601" option keyword), rev 1.23 (blame),
rev 1.17 (environtmental var "CVS_OPTIONS"), rev 1.14 ('-g' option to
support shared-group access), rev 1.7 ('-R' read-only repository mode),
rev 1.6 (support for checking out from a read-only repository),
revs 1.4 & 1.5 ("tagexpand=") into version 1.11.22.


175274 13-Jan-2008 obrien

Merge rev 1.9 (put the blank line back in the beginning of constructed
log messages being passed to $EDITOR) into version 1.11.22.


175273 13-Jan-2008 obrien

Merge rev 1.3 ('-n' option) & rev. 1.2 ("iso8601" option keyword)
into version 1.11.22.


175272 13-Jan-2008 obrien

Merge rev 1.3 (catch write-lock attempts immediately if running in
read-only mode) & rev 1.2 (check out from read-only repository support)
into version 1.11.22.


175271 13-Jan-2008 obrien

Merge revs 1.2 (comprehensive CVS/Template support) into version 1.11.22.


175270 13-Jan-2008 obrien

Merge rev 1.2 (do not check val-tags if the repository is read-only)
into version 1.11.22.


175269 13-Jan-2008 obrien

Toss all of our local changes - they are OBE.
However, stay with version 1.9.26's buflen of BUFSIZ as we have in the
past vs. going with the 1.10+ limited length of 128.


175268 13-Jan-2008 obrien

Merge rev 1.16: implement -j for cvs diff, allowing tag:date based diffs
into version 1.11.22.


175267 13-Jan-2008 obrien

Change default from rsh to ssh. (moved from client.c).
Merge rev 1.14: comprehensive -T CVS/Template support, rev 1.9: new long
flag that causes cvs to ignore the CVSROOT/passwd file, rev 1.3: support
for checking out from a read-only repository, rev. 1.2: support for local
$Id$ keyword into cvs 1.11.22.
Note that rev 1.4 (make verifymsg extra useful) is OBE.


175266 13-Jan-2008 obrien

Merge rev 1.7: always upload new files, even if the timestamps match,
rev 1.4: flip the default for CVS_RSH to "ssh", rev 1.2: fix a problem
sometimes seen when doing checkouts from a local repo and committing
via remote cvs (a cvs -d override of the mismatched CVS/Root files was
missing) into cvs 1.11.22.


175265 13-Jan-2008 obrien

Merge our -T comprehensive CVS/Template support into cvs 1.11.22.


175264 13-Jan-2008 obrien

Update for the 1.11.22 import.


175262 13-Jan-2008 obrien

This commit was generated by cvs2svn to compensate for changes in r175261,
which included commits to RCS files with non-trunk default branches.


175195 09-Jan-2008 obrien

Improve -u (limit uid lookups) behavior.

Submitted by: David Frascone <dave@frascone.com>
PR: 119490


175190 09-Jan-2008 obrien

This commit was generated by cvs2svn to compensate for changes in r175189,
which included commits to RCS files with non-trunk default branches.


175123 07-Jan-2008 peter

Add a forward compatability hook so that current cvs can recognize future
CVSROOT/config file options that control keyword expansion. cvs-1.12 has
its own $Id$ expansion controls and they're configured in CVSROOT/config
rather than CVSROOT/options. The problem is that current cvs-1.11.x
doesn't understand the future keywords.....

Add trivial forward support for the new keywords for when cvs-1.12
hits the tree down the road. CVSROOT/options won't be going away - cvsup
uses it.


175008 31-Dec-2007 obrien

Reduce diffs to vendor's 1.11.17.


175000 30-Dec-2007 rafan

- Update notes


174998 30-Dec-2007 rafan

- Resolve conflicts
- Our changes in lib_termcap.c is now merged in upstream


174997 30-Dec-2007 rafan

This commit was generated by cvs2svn to compensate for changes in r174996,
which included commits to RCS files with non-trunk default branches.


174994 30-Dec-2007 rafan

This commit was generated by cvs2svn to compensate for changes in r174993,
which included commits to RCS files with non-trunk default branches.


174836 21-Dec-2007 des

This commit was generated by cvs2svn to compensate for changes in r174835,
which included commits to RCS files with non-trunk default branches.


174833 21-Dec-2007 des

This commit was generated by cvs2svn to compensate for changes in r174832,
which included commits to RCS files with non-trunk default branches.


174693 17-Dec-2007 das

On platforms where long is 64 bits, make sure gdtoa doesn't use a
long when it really wants an int.


174690 16-Dec-2007 das

Fix previous commit: We should only mask the top bit in the STRTOG_NaNBits
case, not the STRTOG_Normal case.


174679 16-Dec-2007 das

Fix strto{f,d,ld}() so they don't return signaling NaNs. C99
says they are never supposed to, and the fact that they did could
cause apps that run with unmasked FP exceptions to SIGFPE after a
scanf() or strtod(). The vendor stated that he will not be fixing
this, citing portability concerns.


174678 16-Dec-2007 das

Some changes the vendor didn't want:

- Accept the '0x' prefix so strtod("nan(0x...)", NULL) returns the same
thing as gcc's builtin nan("0x...") for such strings.
- Don't return uninitialized memory.
- Finish processing the string up to the closing ')' (provided it's
lexically valid) for compatibility with C99 and *scanf().


174537 11-Dec-2007 obrien

Update for the 6.1.5 import.


174532 11-Dec-2007 obrien

This commit was generated by cvs2svn to compensate for changes in r174531,
which included commits to RCS files with non-trunk default branches.


174482 09-Dec-2007 marius

Allow the targeted CPU type to be set via -mcpu instead of
limiting to the hardcoded equivalent of -mcpu=ultrasparc.

PR: 109510
MFC after: 3 months


174416 07-Dec-2007 ru

More fixes.


174415 07-Dec-2007 ru

Revise the man->mdoc conversion of the amd manpages.


174313 05-Dec-2007 obrien

Put stock 6.1.5 file into HEAD.


174312 05-Dec-2007 obrien

Not sure why mbr deleted this file - its useful.


174302 05-Dec-2007 obrien

2005-05-28 Erez Zadok <ezk@cs.sunysb.edu>
* libamu/alloca.c: remove file from distro.


174301 05-Dec-2007 obrien

2005-10-02 Erez Zadok <ezk@cs.sunysb.edu>
* libamu/strutil.c: rename from util.c to explain better purpose
of file.


174300 05-Dec-2007 obrien

2005-03-05 Ion Badulescu <ionut@moisil.badula.org>
* amd/amfs_inherit.c: removed, dead code


174299 05-Dec-2007 obrien

Include support for FreeBSD's <fs/msdosfs/msdosfsmount.h>.
Also <ufs/ufs/ufsmount.h> is safe to use.


174298 05-Dec-2007 obrien

Merge rev. 1.7 (change mounting directory to match traditional FreeBSD
/etc/defaults/rc.conf) into 6.1.5.


174297 05-Dec-2007 obrien

Merge the 6.0.10p1 -> 6.1.5 changes into our manpages.


174295 05-Dec-2007 obrien

This commit was generated by cvs2svn to compensate for changes in r174294,
which included commits to RCS files with non-trunk default branches.


174290 05-Dec-2007 obrien

This commit was generated by cvs2svn to compensate for changes in r174289,
which included commits to RCS files with non-trunk default branches.


174207 03-Dec-2007 dougb

This commit was generated by cvs2svn to compensate for changes in r174206,
which included commits to RCS files with non-trunk default branches.


174191 02-Dec-2007 dougb

This commit was generated by cvs2svn to compensate for changes in r174190,
which included commits to RCS files with non-trunk default branches.


174188 02-Dec-2007 dougb

This commit was generated by cvs2svn to compensate for changes in r174187,
which included commits to RCS files with non-trunk default branches.


174045 28-Nov-2007 jb

Remove a couple of definitions which now exist in compatibility headers.


173935 26-Nov-2007 delphij

Resolve conflicts.


173933 26-Nov-2007 delphij

This commit was generated by cvs2svn to compensate for changes in r173932,
which included commits to RCS files with non-trunk default branches.


173874 23-Nov-2007 jb

Fix strict alias warnings.


173819 21-Nov-2007 mlaier

Avoid excessive error message printout.

PR: bin/118150
Reported by: keramida
MFC after: 3 days


173715 18-Nov-2007 jb

Fix a compiler warning.


173687 16-Nov-2007 delphij

This commit was generated by cvs2svn to compensate for changes in r173686,
which included commits to RCS files with non-trunk default branches.


173685 16-Nov-2007 delphij

Resolve conflicts; Update defines.h to reflect latest change.


173683 16-Nov-2007 delphij

This commit was generated by cvs2svn to compensate for changes in r173682,
which included commits to RCS files with non-trunk default branches.


173620 14-Nov-2007 obrien

This commit was generated by cvs2svn to compensate for changes in r173619,
which included commits to RCS files with non-trunk default branches.


173589 13-Nov-2007 delphij

Add instructions about how to upgrade less in base system


173407 07-Nov-2007 ache

Update after import


173406 07-Nov-2007 ache

Merge after importing official patches 3-7


173404 07-Nov-2007 ache

This commit was generated by cvs2svn to compensate for changes in r173403,
which included commits to RCS files with non-trunk default branches.


173345 05-Nov-2007 gshapiro

Update for sendmail 8.14.2

MFC after: 1 week


173343 05-Nov-2007 gshapiro

Resolve conflicts from sendmail 8.14.2 import


173341 05-Nov-2007 gshapiro

This commit was generated by cvs2svn to compensate for changes in r173340,
which included commits to RCS files with non-trunk default branches.


173147 29-Oct-2007 rwatson

Regenerate config.h after import of OpenBSM 1.0.

Obtained from: TrustedBSD Project


173146 29-Oct-2007 rwatson

Resolve conflicts from import of OpenBSM 1.0: maintain $FreeBSD$ tags in
/etc/security audit configuration files.


173144 29-Oct-2007 rwatson

This commit was generated by cvs2svn to compensate for changes in r173143,
which included commits to RCS files with non-trunk default branches.


172961 25-Oct-2007 obrien

Document the bwk_20071023 import.


172959 25-Oct-2007 obrien

This commit was generated by cvs2svn to compensate for changes in r172958,
which included commits to RCS files with non-trunk default branches.


172833 20-Oct-2007 mlaier

Revert back to including the whole net/bpf.h again.

Requested by: sam, nork
X-MFC after: now


172776 18-Oct-2007 darrenr

Pullup IPFilter 4.1.28 from the vendor branch into HEAD.

MFC after: 7 days


172772 18-Oct-2007 darrenr

This commit was generated by cvs2svn to compensate for changes in r172771,
which included commits to RCS files with non-trunk default branches.


172686 16-Oct-2007 mlaier

Resolve merge conflicts

Approved by: re (kensmith)
Obtained from: tcpdump.org


172684 16-Oct-2007 mlaier

This commit was generated by cvs2svn to compensate for changes in r172683,
which included commits to RCS files with non-trunk default branches.


172682 16-Oct-2007 mlaier

Update for libpcap 0.9.8


172680 16-Oct-2007 mlaier

Resolve merge conflicts

Approved by: re (kensmith)
Obtained from: tcpdump.org


172678 16-Oct-2007 mlaier

This commit was generated by cvs2svn to compensate for changes in r172677,
which included commits to RCS files with non-trunk default branches.


172669 15-Oct-2007 mp

This commit was generated by cvs2svn to compensate for changes in r172668,
which included commits to RCS files with non-trunk default branches.


172666 15-Oct-2007 mp

This commit was generated by cvs2svn to compensate for changes in r172665,
which included commits to RCS files with non-trunk default branches.


172598 12-Oct-2007 delphij

This commit was generated by cvs2svn to compensate for changes in r172597,
which included commits to RCS files with non-trunk default branches.


172471 08-Oct-2007 delphij

Resolve conflicts to complete less v408 import.

Approved by: re (kensmith)


172469 08-Oct-2007 delphij

This commit was generated by cvs2svn to compensate for changes in r172468,
which included commits to RCS files with non-trunk default branches.


172433 04-Oct-2007 ru

MFV: recent mdoc(7) changes.

Approved by: re (kensmith)


172424 03-Oct-2007 ru

This commit was generated by cvs2svn to compensate for changes in r172423,
which included commits to RCS files with non-trunk default branches.


172419 02-Oct-2007 obrien

Do not imply -ftree-vrp with -O2 and above. One must implicitly specify
'-ftree-vrp' if one wants it.
Some bad code generation has been tracked to -ftree-vrp. jdk1{5,6} are
notable examples.

Approved by: re(kensmith)


172417 02-Oct-2007 kevlo

Fix usage example since we don't have wext driver.

Reviewed by: sam
Approved by: re (kensmith)


172301 23-Sep-2007 pjd

Now that we have CDDLed code in the tree, add CDDL license.

Discussed with: core
Approved by: re (kensmith)


172045 04-Sep-2007 delphij

Restore historical behavior where more(1) does not check for dumb terminals.

Reported by: rwatson on -current
Tested by: keramida, rwatson
Approved by: re (rwatson)


171836 14-Aug-2007 kan

Update locally changed files to GCC 4.2.1.

Approved by: re (kensmith)


171835 14-Aug-2007 kan

Merge files that are no longer carry FreeBSD local changes.

Approved by: re (kensmith)


171832 14-Aug-2007 kan

This commit was generated by cvs2svn to compensate for changes in r171831,
which included commits to RCS files with non-trunk default branches.


171830 14-Aug-2007 kan

This commit was generated by cvs2svn to compensate for changes in r171829,
which included commits to RCS files with non-trunk default branches.


171828 14-Aug-2007 kan

This commit was generated by cvs2svn to compensate for changes in r171827,
which included commits to RCS files with non-trunk default branches.


171826 14-Aug-2007 kan

This commit was generated by cvs2svn to compensate for changes in r171825,
which included commits to RCS files with non-trunk default branches.


171817 13-Aug-2007 delphij

Be more careful handling no_init flag. It should be enforced
in *all* less_is_more cases, On the other hand, quit_if_one_screen
should apply iff less_is_more *and* -e.

This change revises the previous change further, which tried
to make less(1) not to send @ti:@te before and after view of
one file in more(1) mode, but affected less -e behavior by
accident.

This is essentially the same patch desichen@ has posted on
-current@. I have adjusted it a bit in order to minimize
difference between our version and the vendor branch.

Approved by: re (bmah, earlier logically equivalent version)


171776 07-Aug-2007 simokawa

Use ioctl() to get correct media size so that we can locate
ZFS labels in the tail of the media.

Approved by: re (kensmith), pjd


171716 04-Aug-2007 deischen

Restore historical more(1) behavior (inhibit ti/te processing) which
accidently got broke during the last less(1) import.

Approved by: re(hrs), delphij


171683 01-Aug-2007 simon

This commit was generated by cvs2svn to compensate for changes in r171682,
which included commits to RCS files with non-trunk default branches.


171578 25-Jul-2007 dougb

This commit was generated by cvs2svn to compensate for changes in r171577,
which included commits to RCS files with non-trunk default branches.


171541 22-Jul-2007 rwatson

Update generated OpenBSM config.h for OpenBSM 1.0 alpha15 update.

Approved by: re (hrs)


171540 22-Jul-2007 rwatson

Resolve conflicts from import of OpenBSM 1.0 alpha15 ($FreeBSD$/$P4$
conflict).

Approved by: re (hrs)


171538 22-Jul-2007 rwatson

This commit was generated by cvs2svn to compensate for changes in r171537,
which included commits to RCS files with non-trunk default branches.


171491 19-Jul-2007 delphij

This commit was generated by cvs2svn to compensate for changes in r171490,
which included commits to RCS files with non-trunk default branches.


171490 19-Jul-2007 delphij

Remove unused FSF source files.

Approved by: re (hrs)


171370 11-Jul-2007 sam

update for 0.5.8 import

Approved by: re (hrs)


171369 11-Jul-2007 sam

resolve merge conflicts

Reviewed by: thompsa, sephe
Approved by: re (hrs)


171367 11-Jul-2007 sam

This commit was generated by cvs2svn to compensate for changes in r171366,
which included commits to RCS files with non-trunk default branches.


171326 09-Jul-2007 sam

update for 0.5.8 import

Approved by: re (hrs)


171325 09-Jul-2007 sam

resolve conflicts

Approved by: re (hrs)


171323 09-Jul-2007 sam

This commit was generated by cvs2svn to compensate for changes in r171322,
which included commits to RCS files with non-trunk default branches.


171176 03-Jul-2007 mlaier

Lost these during the import. Hand me the pointy hat.

Approved by: re (implicit)


171172 03-Jul-2007 mlaier

Commit resolved import of OpenBSD 4.1 pf userland from perforce.

Approved by: re (kensmith)


171170 03-Jul-2007 mlaier

This commit was generated by cvs2svn to compensate for changes in r171169,
which included commits to RCS files with non-trunk default branches.


171135 01-Jul-2007 gnn

Commit IPv6 support for FAST_IPSEC to the tree.
This commit includes all remaining changes for the time being including
user space updates.

Submitted by: bz
Approved by: re


171017 24-Jun-2007 darrenr

ipfstat should parse "any" when used with -D/-S command line options

PR: bin/113879
Submitted by: kabe@sra-tohoku.co.jp
Reviewed by: darrenr
Approved by: re


171009 23-Jun-2007 delphij

In more(1) mode, restore the historical behavior where curses init
and deinit characters are not delivered.

Instead of hacking screen.c, we set no_init to implement the behavior.

Reported by: mnag
Approved by: re (hrs)


170967 21-Jun-2007 delphij

Resolve conflicts after less(1) v406 import.

Approved by: re (hrs)


170965 21-Jun-2007 delphij

This commit was generated by cvs2svn to compensate for changes in r170964,
which included commits to RCS files with non-trunk default branches.


170963 21-Jun-2007 delphij

Restore a historical behavior that +foo is considered as a
filename by more(1). The less(1) behavior is keep intact.

PR: bin/51488
Prodded by: demon
Approved by: re (hrs)


170898 17-Jun-2007 delphij

Apply a vendor patch that fixes very annoying bug
which caused the cursor not to return to the place
it should when -w is used with -e.

Note that this is a commit against -HEAD because
we already have the file off the vendor branch.

Reported by: Tom Uffner (on -current@)
Obtained from: http://www.greenwoodsoftware.com/less/less-405.tar.gz


170820 16-Jun-2007 danfe

Document default values for timeout and retry count.

Approved by: fjoe


170812 16-Jun-2007 delphij

In previous releases of FreeBSD we have enforced -EfGm, and the
new less(1) version enforced only -Em. Restore old behavior in
respect with POLA.

Submitted by: ru (on -current@)


170765 15-Jun-2007 delphij

This commit was generated by cvs2svn to compensate for changes in r170764,
which included commits to RCS files with non-trunk default branches.


170763 15-Jun-2007 delphij

Update instructions about upgrading.


170762 15-Jun-2007 delphij

Add a list of removed files during import


170761 15-Jun-2007 delphij

Remove files that were taken off vendor branch. Difference
against vendor branch is now maintained in patchsets.


170760 15-Jun-2007 delphij

This commit was generated by cvs2svn to compensate for changes in r170759,
which included commits to RCS files with non-trunk default branches.


170757 15-Jun-2007 delphij

Localized regeneration of config.h.


170755 15-Jun-2007 delphij

This commit was generated by cvs2svn to compensate for changes in r170754,
which included commits to RCS files with non-trunk default branches.


170533 11-Jun-2007 sam

o add minimal radiotap support for 11n


170371 06-Jun-2007 rafan

- Sort the headers per style(9)

Reminded by: yar
Approved by: delphij (mentor, implicit)


170356 06-Jun-2007 rafan

- Fix crash with ncurses on FreeBSD/amd64 CURRENT by including missing
header <term.h>, which is required by both tputs() and tgoto().

Without this header, nvi crashes with the call to tputs() at line 114.
This is because the first argument of tputs() is a pointer, and the
returned pointer from tgoto() is casted to an integer by compiler.

For some reasons, this only crashes on amd64+CURRENT. On 6.x system,
this does not happen.

PR: 101248
Reported by: yar, infofarmer, Roland Smith
Tested by: infofarmer, delphij, rafan
Approved by: delphij (mentor)


170350 05-Jun-2007 dougb

This commit was generated by cvs2svn to compensate for changes in r170349,
which included commits to RCS files with non-trunk default branches.


170334 05-Jun-2007 rafan

- Update for 2007/05/01 import.

Approved by: delphij (mentor)
Nodded by: ru


170332 05-Jun-2007 rafan

This commit was generated by cvs2svn to compensate for changes in r170331,
which included commits to RCS files with non-trunk default branches.


170269 04-Jun-2007 darrenr

Remove files no longer required to build IPFilter


170268 04-Jun-2007 darrenr

Merge IPFilter 4.1.23 back to HEAD
See src/contrib/ipfilter/HISTORY for details of changes since 4.1.13


170264 04-Jun-2007 darrenr

This commit was generated by cvs2svn to compensate for changes in r170263,
which included commits to RCS files with non-trunk default branches.


170259 04-Jun-2007 delphij

Resolve conflicts.


170257 04-Jun-2007 delphij

This commit was generated by cvs2svn to compensate for changes in r170256,
which included commits to RCS files with non-trunk default branches.


170227 02-Jun-2007 dougb

Update the upgrade notes for BIND 9.4.1


170226 02-Jun-2007 dougb

This commit was generated by cvs2svn to compensate for changes in r170225,
which included commits to RCS files with non-trunk default branches.


170223 02-Jun-2007 dougb

This commit was generated by cvs2svn to compensate for changes in r170222,
which included commits to RCS files with non-trunk default branches.


170194 01-Jun-2007 remko

Revert my previous change, add an MLINK from securelevel.7 to security.7

Discussed with: brueffer


170193 01-Jun-2007 remko

Change securelevel(7) to security(7). Yes i am aware
that this is within the contrib directory.

PR: docs/104402
Submitted by: Dr. Markus Waldeck <waldeck at gmx dot de>

Discussed with: mlaier


170077 28-May-2007 kan

Disable shared libgcc use for profiled builds. GNU linker pulls symbols
out of libgcc_s.so.1 somehow and fails to record DT_NEEED dependency
when linking with profiled libraries despite --ld-as-needed option.


169965 24-May-2007 obrien

Update for the 'file' 4.21 import.


169963 24-May-2007 obrien

This commit was generated by cvs2svn to compensate for changes in r169962,
which included commits to RCS files with non-trunk default branches.


169946 24-May-2007 obrien

Update for the 'file' 4.19 import.


169943 24-May-2007 obrien

This commit was generated by cvs2svn to compensate for changes in r169942,
which included commits to RCS files with non-trunk default branches.


169844 21-May-2007 dhartmei

From OpenBSD, rev. 1.379
Document how 'allow-opts' applies to routing headers in IPv6.

MFC after: 1 week
Discussed with: mlaier


169819 21-May-2007 cognet

FreeBSD expects VFP, so use that as the default FPU.

Reviewed by: kan


169766 19-May-2007 mux

This commit was generated by cvs2svn to compensate for changes in r169765,
which included commits to RCS files with non-trunk default branches.


169737 19-May-2007 kan

Cosmetics: remove extra space from GCC version string.


169712 19-May-2007 kan

Re-add local FreeBSD change: prefer /tmp to /var/tmp and /usr/tmp
for temporary files.


169711 19-May-2007 kan

Merge arm-freebsd.h.diff directly into the target file. Maintaining
separate patch is much more painful than taking this file off the
vendor branch.


169710 19-May-2007 kan

Add FMT_FLAG_NULL_FORMAT_OK flag.


169709 19-May-2007 kan

This commit was generated by cvs2svn to compensate for changes in r169708,
which included commits to RCS files with non-trunk default branches.


169707 19-May-2007 kan

Remove files that are not part of GCC distribution anymore.


169706 19-May-2007 kan

Update configuration files for GCC 4.2.


169705 19-May-2007 kan

Merge local FreeBSD changes for -mno-align-long-strings.


169704 19-May-2007 kan

Merge local FreeBSD changes.


169703 19-May-2007 kan

In FreeBSD -O0 -O1 optimize alignment for time, not size.


169702 19-May-2007 kan

Merge local changes for -mprofiler-epilogue support.


169701 19-May-2007 kan

Merge local FreeBSD changes to support -fformat-extensions.


169700 19-May-2007 kan

Add FreeBSD suffix to GCC version string.


169699 19-May-2007 kan

FreeBSD uses unchanged versions of this files.


169696 19-May-2007 kan

This commit was generated by cvs2svn to compensate for changes in r169695,
which included commits to RCS files with non-trunk default branches.


169694 19-May-2007 kan

This commit was generated by cvs2svn to compensate for changes in r169693,
which included commits to RCS files with non-trunk default branches.


169692 19-May-2007 kan

This commit was generated by cvs2svn to compensate for changes in r169691,
which included commits to RCS files with non-trunk default branches.


169690 19-May-2007 kan

This commit was generated by cvs2svn to compensate for changes in r169689,
which included commits to RCS files with non-trunk default branches.


169497 12-May-2007 pav

Fix -D description to read debug_options

PR: doc/97939
Submitted by: Serg Podtynnyi <n-ice@yandex.ru>
MFC after: 1 week


169303 06-May-2007 pjd

Use provider's ident to handle situations when disks are moved around
and show up with different names: first try to open provider using
remembered name and compare its ident, if equal, this is our provider,
if not equal or there is no provider with such name, find provider with
remembered ident and don't care about the name.


169301 06-May-2007 pjd

Clean up a little.

Obtained from: OpenSolaris


169257 04-May-2007 rafan

- s/jail id/jail ID/, acronyms should be in uppercase in general. Also,
it is written this way in jail(8).

Suggested by: brueffer
Approved by: delphij (mentor, implicit)


169237 03-May-2007 stas

- Add documentation notes for the 'a' option, forgotten in the previous
commit.

commands.c [1]
top.X

Suggested by: rafan [1]


169186 01-May-2007 marcel

This commit was generated by cvs2svn to compensate for changes in r169185,
which included commits to RCS files with non-trunk default branches.


169144 30-Apr-2007 maxim

o I failed to find a suitable explanation why traceroute(8) and
traceroute6(8) force -w flag (wait time) to be > 1 sec. Make it
possible to use 1 sec wait time.

PR: bin/110933
Submitted by: Dmitry Marakasov
Reviewed by: freebsd-net (silence)
MFC after: 1 month


168994 23-Apr-2007 gshapiro

This commit was generated by cvs2svn to compensate for changes in r168993,
which included commits to RCS files with non-trunk default branches.


168989 23-Apr-2007 gshapiro

This commit was generated by cvs2svn to compensate for changes in r168988,
which included commits to RCS files with non-trunk default branches.


168926 21-Apr-2007 pjd

MFp4:

@118370 Correct typo.

@118371 Integrate changes from vendor.

@118491 Show backtrace on unexpected code paths.

@118494 Integrate changes from vendor.

@118504 Fix sendfile(2). I had two ways of fixing it:
1. Fixing sendfile(2) itself to use VOP_GETPAGES() instead of
hacking around with vn_rdwr(UIO_NOCOPY), which was suggested
by ups.
2. Modify ZFS behaviour to handle this special case.

Although 1 is more correct, I've choosen 2, because hack from 1
have a side-effect of beeing faster - it reads ahead MAXBSIZE
bytes instead of reading page by page. This is not easy to implement
with VOP_GETPAGES(), at least not for me in this very moment.

Reported by: Andrey V. Elsukov <bu7cher@yandex.ru>

@118525 Reorganize the code to reduce diff.

@118526 This code path is expected. It is simply when file is opened with
O_FSYNC flag.

Reported by: kris
Reported by: Michal Suszko <dry@dry.pl>


168863 19-Apr-2007 rafan

- Add new 'a' and 'j' options into usage

Approved by: delphij (mentor, implicit)
Forgotten by: stas ('a') and rafan ('j')


168825 17-Apr-2007 pjd

Fix build breakage. Most of ZFS code is also compiled in userland and I
should really stop forgetting about that.


168799 17-Apr-2007 rafan

- Add a new 'j' switch and runtime option to toggle display jail id for
each process.
- While I'm here, keep help message sorted by keys

PR: 98489, 98975
Submitted by: clsung
Approved by: delphij (mentor)
MFC after: 2 weeks


168781 16-Apr-2007 rwatson

Regenerate config.h from OpenBSM 1.0 alpha 14 import.


168780 16-Apr-2007 rwatson

Resolve conflicts from OpenBSM 1.0 alpha 14 import.


168778 16-Apr-2007 rwatson

This commit was generated by cvs2svn to compensate for changes in r168777,
which included commits to RCS files with non-trunk default branches.


168722 14-Apr-2007 simokawa

In FreeBSD,
- cv_timedwait() takes delta instead of absolute time,
- we need ioctl() for mediasize.

Reviewed by: pjd


168710 14-Apr-2007 stas

- Add new 'a' switch and runtime option that allows 'top' to display process
titles extracted from argv vector instead of the real executable names.
This is useful when you want to watch applications that set their status
information via setproctitle(3).

Approved by: alfred
MFC after: 2 weeks


168676 12-Apr-2007 pjd

MFp4: Synchronize with vendor (mostly 'zfs rename -r').


168666 12-Apr-2007 ache

Merge


168584 10-Apr-2007 pjd

MFp4: Add missing kmem_size() definition.


168582 10-Apr-2007 pjd

MFp4: Hide under '#ifdef _KERNEL' only what's really needed.


168523 09-Apr-2007 gshapiro

Update for sendmail 8.14.1


168520 09-Apr-2007 gshapiro

Resolve conflicts from sendmail 8.14.1 import


168516 09-Apr-2007 gshapiro

This commit was generated by cvs2svn to compensate for changes in r168515,
which included commits to RCS files with non-trunk default branches.


168498 08-Apr-2007 pjd

MFp4: Synchronize with recent OpenSolaris changes.


168484 08-Apr-2007 pjd

If we cannot open /dev/zfs try to load zfs.ko automatically and reopen.


168464 07-Apr-2007 des

This commit was generated by cvs2svn to compensate for changes in r168463,
which included commits to RCS files with non-trunk default branches.


168434 06-Apr-2007 kan

This commit was generated by cvs2svn to compensate for changes in r168433,
which included commits to RCS files with non-trunk default branches.


168429 06-Apr-2007 kan

Remove conflicting extern decralaration for mboxfile variable.
It is defined as static in implementation file.


168404 06-Apr-2007 pjd

Please welcome ZFS - The last word in file systems.

ZFS file system was ported from OpenSolaris operating system. The code in under
CDDL license.

I'd like to thank all SUN developers that created this great piece of software.

Supported by: Wheel LTD (http://www.wheel.pl/)
Supported by: The FreeBSD Foundation (http://www.freebsdfoundation.org/)
Supported by: Sentex (http://www.sentex.net/)


168372 04-Apr-2007 thompsa

This commit was generated by cvs2svn to compensate for changes in r168371,
which included commits to RCS files with non-trunk default branches.


168306 03-Apr-2007 mp

This commit was generated by cvs2svn to compensate for changes in r168305,
which included commits to RCS files with non-trunk default branches.


168053 30-Mar-2007 delphij

Update with bzip2's URL.


167985 28-Mar-2007 delphij

This commit was generated by cvs2svn to compensate for changes in r167984,
which included commits to RCS files with non-trunk default branches.


167983 28-Mar-2007 delphij

Reflect 1.0.4 import.


167982 28-Mar-2007 delphij

This commit was generated by cvs2svn to compensate for changes in r167981,
which included commits to RCS files with non-trunk default branches.


167978 28-Mar-2007 delphij

Resolve conflicts.


167977 28-Mar-2007 delphij

bzip2.c: SA-05:14.bzip2 has been resolved by the author
in a different way. Make the file just the same as it
is in the vendor branch to make it easier for future
upgrade.


167975 28-Mar-2007 delphij

This commit was generated by cvs2svn to compensate for changes in r167974,
which included commits to RCS files with non-trunk default branches.


167964 28-Mar-2007 delphij

Resolve conflicts.


167962 28-Mar-2007 delphij

This commit was generated by cvs2svn to compensate for changes in r167961,
which included commits to RCS files with non-trunk default branches.


167469 11-Mar-2007 mp

Build updates for tcsh-6.15.00 import.

Reviewed by: ume
Reminded by: Divacky Roman
MFC after: 1 week


167466 11-Mar-2007 mp

This commit was generated by cvs2svn to compensate for changes in r167465,
which included commits to RCS files with non-trunk default branches.


167035 26-Feb-2007 jkim

Add three new ioctl(2) commands for bpf(4).

- BIOCGDIRECTION and BIOCSDIRECTION get or set the setting determining
whether incoming, outgoing, or all packets on the interface should be
returned by BPF. Set to BPF_D_IN to see only incoming packets on the
interface. Set to BPF_D_INOUT to see packets originating locally and
remotely on the interface. Set to BPF_D_OUT to see only outgoing
packets on the interface. This setting is initialized to BPF_D_INOUT
by default. BIOCGSEESENT and BIOCSSEESENT are obsoleted by these but
kept for backward compatibility.

- BIOCFEEDBACK sets packet feedback mode. This allows injected packets
to be fed back as input to the interface when output via the interface is
successful. When BPF_D_INOUT direction is set, injected outgoing packet
is not returned by BPF to avoid duplication. This flag is initialized to
zero by default.

Note that libpcap has been modified to support BPF_D_OUT direction for
pcap_setdirection(3) and PCAP_D_OUT direction is functional now.

Reviewed by: rwatson


166333 29-Jan-2007 dougb

This commit was generated by cvs2svn to compensate for changes in r166332,
which included commits to RCS files with non-trunk default branches.


166135 20-Jan-2007 rafan

Add instructions for future update.

Approved by: delphij


166128 20-Jan-2007 rafan

- Resolve conflicts
- Remove files that are removed in vender branch

Approved by: delphij


166125 20-Jan-2007 rafan

This commit was generated by cvs2svn to compensate for changes in r166124,
which included commits to RCS files with non-trunk default branches.


165746 03-Jan-2007 das

Merge local diffs.


165744 03-Jan-2007 das

This commit was generated by cvs2svn to compensate for changes in r165743,
which included commits to RCS files with non-trunk default branches.


165681 31-Dec-2006 ache

Udate info after official patch


165680 31-Dec-2006 ache

Merge conflict after official patch


165675 31-Dec-2006 ache

Merge conflicts


165674 31-Dec-2006 ache

Update instructions


165671 31-Dec-2006 ache

This commit was generated by cvs2svn to compensate for changes in r165670,
which included commits to RCS files with non-trunk default branches.


165540 25-Dec-2006 ru

MFV: Sync with vendor branch.


165539 25-Dec-2006 ru

This commit was generated by cvs2svn to compensate for changes in r165538,
which included commits to RCS files with non-trunk default branches.


165111 12-Dec-2006 obrien

Add the '-n' option which is the opposite of '-N', "Do not list tags."
The '-n' option is needed when one has "log -N" in their ~/.cvsrc, but
wishes to see tags for a particular invocation.


165079 10-Dec-2006 dougb

This commit was generated by cvs2svn to compensate for changes in r165078,
which included commits to RCS files with non-trunk default branches.


165072 10-Dec-2006 dougb

This commit was generated by cvs2svn to compensate for changes in r165071,
which included commits to RCS files with non-trunk default branches.


165010 08-Dec-2006 harti

This commit was generated by cvs2svn to compensate for changes in r165009,
which included commits to RCS files with non-trunk default branches.


164784 01-Dec-2006 keramida

The sigconv.awk script generates a sigdesc.h header file, which
contains a sigdec[] vector of structures, but the generated output is
missing braces around the initializer of each struct, which
triggers warnings in WARNS=3:

src/usr.bin/top/sigdesc.h:10: warning: missing braces around initializer
src/usr.bin/top/sigdesc.h:10: warning: (near initialization for `sigdesc[0]')

* Fix the sigconv.awk script to generate a header with initializers
which look better.

* Add rules to usr.bin/top/Makefile that rebuilds a new sigconv.h
header which matches the correct signal set from the build-time
version of `${DESTDIR}/usr/include/signal.h' (so sigconv.h doesn't
get stale once changes are made to the header).

* Remove the old sigconv.h header, now that it is autoupdated at
build time.

* Various Makefile style fixes (the committed Makefile was kindly
submitted by Ruslan):

- Reorder .PATH, PROG, SRCS and CFLAGS to match style.Makefile(5)
- Split off the generated sources (sigdesc.h top.local.h) in an
SRCS+= line of their own.
- Add entries to CLEANFILES near the rules that generate the
respective files.
- Move the explicit rule which builds top.1 after the implicit
rules which generate its dependencies.

Reviewed by: ru, bde
Submitted by: ru (Makefile)
MFC after: 2 weeks


164775 30-Nov-2006 mlaier

From OpenBSD, rev. 1.91:
fix servicecurve check; no point in checking the same sc three times, it
was obviously intended to check all three. has been wrong since the
beginning, 4 years... noticed by Earl Lapus <earl.lapus@gmail.com>, Vasil
Dimov <vd@FreeBSD.org> mailed me then, ok mcbride

MFC after: 3 days


163977 04-Nov-2006 dougb

This commit was generated by cvs2svn to compensate for changes in r163976,
which included commits to RCS files with non-trunk default branches.


163821 31-Oct-2006 harti

This commit was generated by cvs2svn to compensate for changes in r163820,
which included commits to RCS files with non-trunk default branches.


163800 30-Oct-2006 harti

This commit was generated by cvs2svn to compensate for changes in r163799,
which included commits to RCS files with non-trunk default branches.


163787 30-Oct-2006 mlaier

Mention that we do not support route labels in the BUGS section.

PR: docs/93590
Reported by: Niki Denev


163679 25-Oct-2006 bde

Fixed -mprofiler-epilogue. The garbage collector apparently doesn't
understand that non-local variables can never be collected, and when
it collected the static variable for mexitcount_libfunc, gcc aborted
on the next use of this variable.

This quick fix is to reinitialize the variable on every use and depend
on garbage collection recovering the small amount of memory wasted by
this, and not worry by the small amount of time wasted by this. It
would be better to initialize the variable together with most of the
other libfuncs in optabs.c and depend on whatever magic is there to
prevent its collection, but we initialize it here to avoid taking at
least 2 more files off the vendor branch.


163388 15-Oct-2006 dwmalone

Make it so that the synopsis and usage message almost agree.

MFC after: 3 weeks


163387 15-Oct-2006 dwmalone

Add a -D option to traceroute that prints the differences between
the probe packet we sent and the packet quoted by the ICMP response.
Can be useful for spotting hops that change the packet in-flight
or have problems generating correct ICMP responses.

MFC after: 3 weeks


163357 14-Oct-2006 ru

This commit was generated by cvs2svn to compensate for changes in r163356,
which included commits to RCS files with non-trunk default branches.


162838 30-Sep-2006 delphij

This commit was generated by cvs2svn to compensate for changes in r162837,
which included commits to RCS files with non-trunk default branches.


162826 29-Sep-2006 ru

Markup nits.


162736 28-Sep-2006 roberto

This commit was generated by cvs2svn to compensate for changes in r162735,
which included commits to RCS files with non-trunk default branches.


162671 26-Sep-2006 ru

Remove bogus casts of valid integer ioctl() arguments.


162626 25-Sep-2006 rwatson

Resolve conflicts from OpenBSM 1.0 alpha 12 import.

Obtained from: TrustedBSD Project


162622 25-Sep-2006 rwatson

This commit was generated by cvs2svn to compensate for changes in r162621,
which included commits to RCS files with non-trunk default branches.


162514 21-Sep-2006 ru

Removed these from HEAD as well.


162513 21-Sep-2006 ru

This commit was generated by cvs2svn to compensate for changes in r162512,
which included commits to RCS files with non-trunk default branches.


162510 21-Sep-2006 ru

This commit was generated by cvs2svn to compensate for changes in r162509,
which included commits to RCS files with non-trunk default branches.


162507 21-Sep-2006 rwatson

Update config.h for OpenBSM 1.0 alpha 11 import: strlcat is now detected
by configure.


162506 21-Sep-2006 rwatson

Resolve conflicts from OpenBSM 1.0 alpha 11 vendor import: we have locally
added $FreeBSD$ to /etc configuration files to assist mergemaster.


162504 21-Sep-2006 rwatson

This commit was generated by cvs2svn to compensate for changes in r162503,
which included commits to RCS files with non-trunk default branches.


162402 18-Sep-2006 maxim

o Mention .telnetrc DEFAULT keyword.

PR: bin/100496 (sort of)
Obtained from: NetBSD, heas@netbsd
MFC after: 3 weeks


162382 17-Sep-2006 ru

Sort sections.


162313 15-Sep-2006 ru

Remove vestiges of GNU tar.


162080 06-Sep-2006 dougb

This commit was generated by cvs2svn to compensate for changes in r162079,
which included commits to RCS files with non-trunk default branches.


162021 04-Sep-2006 sam

resolve merge conflicts

MFC after: 1 month


162020 04-Sep-2006 sam

sigh, put back buffer overflow fix of 1.1.11 that seems to have
not gone into the 0.9.4 release; don't put it on the vendor branch
so we won't lose it on the next import if they continue to lose it


162018 04-Sep-2006 sam

This commit was generated by cvs2svn to compensate for changes in r162017,
which included commits to RCS files with non-trunk default branches.


162016 04-Sep-2006 sam

update instructions


162015 04-Sep-2006 sam

resolve merge conflicts

MFC after: 1 month


162013 04-Sep-2006 sam

This commit was generated by cvs2svn to compensate for changes in r162012,
which included commits to RCS files with non-trunk default branches.


161866 02-Sep-2006 rwatson

Note removal of certain contrib/openbsm/bsm include files from
FreeBSD development branches, they exist only in the vendor branch.

Obtained from: TrustedBSD Project


161864 02-Sep-2006 rwatson

This commit was generated by cvs2svn to compensate for changes in r161863,
which included commits to RCS files with non-trunk default branches.


161819 01-Sep-2006 rwatson

This commit was generated by cvs2svn to compensate for changes in r161818,
which included commits to RCS files with non-trunk default branches.


161793 01-Sep-2006 rwatson

Remove duplicated include files from HEAD that appear in both
contrib/openbsm/bsm and sys/bsm. This will help avoid triggering
problems due to an inconsistent include order between the base and
lib32 builds. We will continue to import these files on the vendor
branch. Files used purely in user space (audit_uevents.h) are not
removed.

Suggested by: ru


161771 31-Aug-2006 obrien

Pull vendor file to HEAD.


161770 31-Aug-2006 obrien

Merge in OPIE support, and MAC support.
Our PAM and LOGIN_CAP support is now in the stock sources.


161765 31-Aug-2006 obrien

This commit was generated by cvs2svn to compensate for changes in r161764,
which included commits to RCS files with non-trunk default branches.


161702 28-Aug-2006 imp

This commit was generated by cvs2svn to compensate for changes in r161701,
which included commits to RCS files with non-trunk default branches.


161660 26-Aug-2006 kan

Resolve conflicts after GCC 3.4.6 20060825 import.


161658 26-Aug-2006 kan

This commit was generated by cvs2svn to compensate for changes in r161657,
which included commits to RCS files with non-trunk default branches.


161656 26-Aug-2006 kan

This commit was generated by cvs2svn to compensate for changes in r161655,
which included commits to RCS files with non-trunk default branches.


161654 26-Aug-2006 kan

This commit was generated by cvs2svn to compensate for changes in r161653,
which included commits to RCS files with non-trunk default branches.


161652 26-Aug-2006 kan

This commit was generated by cvs2svn to compensate for changes in r161651,
which included commits to RCS files with non-trunk default branches.


161636 26-Aug-2006 rwatson

Update FreeBSD upgrade notes for OpenBSM.

Obtained from: TrustedBSD Project


161634 26-Aug-2006 rwatson

Update for OpenBSM 1.0 alpha 9.

Obtained from: TrustedBSD Project


161633 26-Aug-2006 rwatson

Resolove conflicts from OpenBSM 1.0 alpha 9 into audit_event.

Obtained from: TrustedBSD Project


161631 26-Aug-2006 rwatson

This commit was generated by cvs2svn to compensate for changes in r161630,
which included commits to RCS files with non-trunk default branches.


161562 24-Aug-2006 marcel

This commit was generated by cvs2svn to compensate for changes in r161561,
which included commits to RCS files with non-trunk default branches.


161539 23-Aug-2006 marcel

Update for PowerPC support. We need to keep rs6000 related files.


161538 23-Aug-2006 marcel

This commit was generated by cvs2svn to compensate for changes in r161537,
which included commits to RCS files with non-trunk default branches.


161526 22-Aug-2006 ru

Remove alpha left-overs.


161478 20-Aug-2006 delphij

Resolve conflicts.


161476 20-Aug-2006 delphij

This commit was generated by cvs2svn to compensate for changes in r161475,
which included commits to RCS files with non-trunk default branches.


161393 17-Aug-2006 gshapiro

Update to sendmail 8.13.8


161390 17-Aug-2006 gshapiro

This commit was generated by cvs2svn to compensate for changes in r161389,
which included commits to RCS files with non-trunk default branches.


161357 16-Aug-2006 guido

Resolve conflicts

MFC after: 1 weeks


161352 16-Aug-2006 guido

This commit was generated by cvs2svn to compensate for changes in r161351,
which included commits to RCS files with non-trunk default branches.


161207 11-Aug-2006 keramida

Spell 'connection options' correctly.

Submitted by: Leonidas Tsampros <ltsampros@upnet.gr>


160167 08-Jul-2006 cperciva

Add note concerning FreeBSD-SA-06:01.texindex.

Suggested by: csjp


159988 27-Jun-2006 rwatson

Resolve conflicts from OpenBSM 1.0 alpha 7 import.

Obtained from: TrustedBSD Project


159986 27-Jun-2006 rwatson

This commit was generated by cvs2svn to compensate for changes in r159985,
which included commits to RCS files with non-trunk default branches.


159984 27-Jun-2006 rwatson

Modify import instructions to include "-n" in the sample command line for
the CVS import, and suggest removing it for the real import, rather than
suggesting it for testing. This will hopefully prevent me (and others)
from making errors.


159826 21-Jun-2006 obrien

This commit was generated by cvs2svn to compensate for changes in r159825,
which included commits to RCS files with non-trunk default branches.


159785 20-Jun-2006 obrien

Document that 'bad cksum 0' is expected on NICs with checksum off-loading.


159767 19-Jun-2006 obrien

Update for the 'file' 4.17 import.


159765 19-Jun-2006 obrien

This commit was generated by cvs2svn to compensate for changes in r159764,
which included commits to RCS files with non-trunk default branches.


159615 14-Jun-2006 gshapiro

Update FreeBSD info regarding sendmail 8.13.7 import


159613 14-Jun-2006 gshapiro

Resolve conflicts from sendmail 8.13.7 import


159610 14-Jun-2006 gshapiro

This commit was generated by cvs2svn to compensate for changes in r159609,
which included commits to RCS files with non-trunk default branches.


159576 13-Jun-2006 dwmalone

Make traceroute decode all the ICMP unreachable messages defined
in http://www.iana.org/assignments/icmp-parameters. Thankfully
IANA's list aggrees with <netinet/ip_icmp.h>.

I've tried to do this in a way which is mostly consistent with
tcptraceroute and Debian's version of traceroute. However, sometimes
a letter is used twice by these versions, so I've gone with:

LBL tcptr Debian (chosen)
ICMP_UNREACH_NET !N !N !N !N
ICMP_UNREACH_HOST !H !H !H !H
ICMP_UNREACH_PROTOCOL !P !P !P !P
ICMP_UNREACH_PORT ! !p ! !
ICMP_UNREACH_NEEDFRAG !F-%d !F !F-<%d> !F-<%d>
ICMP_UNREACH_SRCFAIL !S !S !S !S
ICMP_UNREACH_NET_UNKNOWN !<%d> !U !<%d> !U
ICMP_UNREACH_HOST_UNKNOWN !<%d> !U !<%d> !W
ICMP_UNREACH_ISOLATED !<%d> !I !I !I
ICMP_UNREACH_NET_PROHIB !<%d> !A !A !A
ICMP_UNREACH_HOST_PROHIB !<%d> !C !C !Z
ICMP_UNREACH_TOSNET !<%d> !T !T !Q
ICMP_UNREACH_TOSHOST !<%d> !T !T !T
ICMP_UNREACH_FILTER_PROHIB !X !A !A !X
ICMP_UNREACH_HOST_PRECEDENCE !V !<%d> !V !V
ICMP_UNREACH_PRECEDENCE_CUTOFF !C !<%d> !C !C

Graham Wilson is planning to use the same codes in Debian's version.

MFC after: 3 weeks


159400 08-Jun-2006 marius

This commit was generated by cvs2svn to compensate for changes in r159399,
which included commits to RCS files with non-trunk default branches.


159386 07-Jun-2006 maxim

o It's lilac-dmc.Berkeley.EDU, not lbl-csam.arpa.

Obtained from: NetBSD


159338 06-Jun-2006 glebius

- Note that the synchronisation interface needs to be up and have
an IP address assigned.
- Add "quick" keyword to pf.conf example.

PR: docs/85209


159251 05-Jun-2006 rwatson

Regenerate config.h from OpenBSM 1.0 alpha 6 import.

Obtained from: TrustedBSD Project


159249 05-Jun-2006 rwatson

This commit was generated by cvs2svn to compensate for changes in r159248,
which included commits to RCS files with non-trunk default branches.


159064 30-May-2006 harti

This commit was generated by cvs2svn to compensate for changes in r159063,
which included commits to RCS files with non-trunk default branches.


158798 21-May-2006 delphij

Resolve conflicts.


158796 21-May-2006 delphij

This commit was generated by cvs2svn to compensate for changes in r158795,
which included commits to RCS files with non-trunk default branches.


158653 16-May-2006 keramida

Update the description of the `STATE' column for SMP systems,
and add the missing `C' SMP-only column.

PR: docs/29245
Submitted by: ada@bsd.org
Patch by: Pawel Worach <pawel.worach@telia.com>
MFC after: 3 days


158424 11-May-2006 cjc

Option for setting a fixed destination port. This is useful for tracing
to a host behind a firewall where only specific services are allowed.
For example, to trace the hops to an HTTP server behind a firewall,

$ traceroute -e -P tcp -p 80 www-firewalled.example.com

MFC after: 1 week


157866 19-Apr-2006 ru

Re-add option -C to usage().


157865 19-Apr-2006 keramida

Document the -C option of top(1), which has been added to the source
and the usage message of top, but not to the manpage.

Pointy hat to: keramida
Reminded by: ru
MFC after: 1 week


157842 18-Apr-2006 ru

Bring SYNOPSIS in line with usage().


157836 18-Apr-2006 darrenr

fix "ipf -Z" reporting rubbish and possibly panic'ing box

MFC after: 4 days


157828 18-Apr-2006 delphij

Correct a typo: In order to make fixmount(8) quite, one should
use -q, not -v.


157704 13-Apr-2006 gshapiro

Add a note regarding bumping the freebsd*mc files for mergemaster's sake.


157214 28-Mar-2006 mlaier

Document authpf's requirement for a mounted fdescfs(5).

PR: docs/89635
MFC after: 1 day


157195 27-Mar-2006 ache

Merge conflicts after official patches


157192 27-Mar-2006 ache

This commit was generated by cvs2svn to compensate for changes in r157191,
which included commits to RCS files with non-trunk default branches.


157188 27-Mar-2006 ache

Resolve conflicts


157187 27-Mar-2006 ache

Remove obsoleted files, update upgrade instructions


157185 27-Mar-2006 ache

This commit was generated by cvs2svn to compensate for changes in r157184,
which included commits to RCS files with non-trunk default branches.


157182 27-Mar-2006 sam

This commit was generated by cvs2svn to compensate for changes in r157181,
which included commits to RCS files with non-trunk default branches.


157137 26-Mar-2006 rwatson

Take contrib/openbsm/etc configuration files off the vendor branch in
order to add $FreeBSD$ tags, which helps mergemaster better manage
updating them.

Requested by: several
Obtained from: TrustedBSD Project


157007 22-Mar-2006 gshapiro

Record sendmail 8.13.6 upgrade


157006 22-Mar-2006 gshapiro

Resolve conflicts from sendmail 8.13.6 import


157002 22-Mar-2006 gshapiro

This commit was generated by cvs2svn to compensate for changes in r157001,
which included commits to RCS files with non-trunk default branches.


156997 22-Mar-2006 cperciva

Add missing code needed for the detection of IPSec packet replays. [1]

Correctly identify the user running opiepasswd(1) when the login name
differs from the account name. [2]

Security: FreeBSD-SA-06:11.ipsec [1]
Security: FreeBSD-SA-06:12.opie [2]


156813 17-Mar-2006 ru

Reimplementation of world/kernel build options. For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)


156804 17-Mar-2006 harti

This commit was generated by cvs2svn to compensate for changes in r156803,
which included commits to RCS files with non-trunk default branches.


156761 16-Mar-2006 ume

Remove the nls/*/charset files to the exclude list. These files
are required for NLS catalog support.


156744 15-Mar-2006 mlaier

Constfy errstr as it is in OpenBSD to unbreak the build.

Pointed out by: Suken Woo, Martin Wilke, Wesley Morgan


156728 15-Mar-2006 mlaier

Use strtonum now that we have it in libc as well.


156702 14-Mar-2006 mux

This commit was generated by cvs2svn to compensate for changes in r156701,
which included commits to RCS files with non-trunk default branches.


156679 13-Mar-2006 harti

This commit was generated by cvs2svn to compensate for changes in r156678,
which included commits to RCS files with non-trunk default branches.


156677 13-Mar-2006 harti

Don't import tree.h from the distribution - we have our own one in sys.


156404 07-Mar-2006 hrs

Fix incorrect command line examples.

Submitted by: Yoshihiko Sarumaru (mistral at imasy dot or dot jp)
PR: docs/94158
MFC after: 2 days


156377 07-Mar-2006 sam

resolve merge conflicts

MFC after: 2 weeks


156374 07-Mar-2006 sam

This commit was generated by cvs2svn to compensate for changes in r156373,
which included commits to RCS files with non-trunk default branches.


156372 07-Mar-2006 sam

resolve merge conflicts

MFC after: 2 weeks


156370 07-Mar-2006 sam

This commit was generated by cvs2svn to compensate for changes in r156369,
which included commits to RCS files with non-trunk default branches.


156310 05-Mar-2006 rwatson

Fix spelling error.

Submitted by: remko


156294 04-Mar-2006 rwatson

Delete file from FreeBSD vendor branch of OpenBSM that has been removed
from the TrustedBSD OpenBSM distribution.

Obtained from: TrustedBSD Project


156288 04-Mar-2006 rwatson

Update FreeBSD import instructions for OpenBSM based on the new autoconf
and automake OpenBSM world order.

Obtained from: TrustedBSD Project


156287 04-Mar-2006 rwatson

Add generated config.h for FreeBSD.

Obtained from: TrustedBSD Project


156286 04-Mar-2006 rwatson

Remove files deleted in the OpenBSM distribution from the OpenBSM
vendor branch.

Obtained from: TrustedBSD Project


156284 04-Mar-2006 rwatson

This commit was generated by cvs2svn to compensate for changes in r156283,
which included commits to RCS files with non-trunk default branches.


156252 03-Mar-2006 mux

This commit was generated by cvs2svn to compensate for changes in r156251,
which included commits to RCS files with non-trunk default branches.


156231 03-Mar-2006 mux

This commit was generated by cvs2svn to compensate for changes in r156230,
which included commits to RCS files with non-trunk default branches.


156067 27-Feb-2006 harti

This commit was generated by cvs2svn to compensate for changes in r156066,
which included commits to RCS files with non-trunk default branches.


156061 27-Feb-2006 darrenr

Add a man page for mkfilters(1) and put the corrected perl script in the
ipfilter usr/share directory

PR: docs/26879


155833 19-Feb-2006 ume

This commit was generated by cvs2svn to compensate for changes in r155832,
which included commits to RCS files with non-trunk default branches.


155603 13-Feb-2006 harti

This commit was generated by cvs2svn to compensate for changes in r155602,
which included commits to RCS files with non-trunk default branches.


155519 11-Feb-2006 rwatson

This commit was generated by cvs2svn to compensate for changes in r155518,
which included commits to RCS files with non-trunk default branches.


155507 10-Feb-2006 harti

This commit was generated by cvs2svn to compensate for changes in r155506,
which included commits to RCS files with non-trunk default branches.


155430 07-Feb-2006 harti

This commit was generated by cvs2svn to compensate for changes in r155429,
which included commits to RCS files with non-trunk default branches.


155421 07-Feb-2006 harti

This commit was generated by cvs2svn to compensate for changes in r155420,
which included commits to RCS files with non-trunk default branches.


155365 06-Feb-2006 rwatson

This commit was generated by cvs2svn to compensate for changes in r155364,
which included commits to RCS files with non-trunk default branches.


155363 06-Feb-2006 rwatson

Correct typo in sample CVS import line: must specify full path to the
CVS repository on repoman.


155310 04-Feb-2006 rwatson

Add a brief FREEBSD-upgrade file to provide direction on how to perform
OpenBSM upgrades. Right now, this is very easy, but in the future it
will probably become more complicated.


155291 04-Feb-2006 rwatson

This commit was generated by cvs2svn to compensate for changes in r155290,
which included commits to RCS files with non-trunk default branches.


155132 31-Jan-2006 rwatson

This commit was generated by cvs2svn to compensate for changes in r155131,
which included commits to RCS files with non-trunk default branches.


155095 31-Jan-2006 harti

This commit was generated by cvs2svn to compensate for changes in r155094,
which included commits to RCS files with non-trunk default branches.


154763 24-Jan-2006 brooks

s/predefine/predefined/

PR: gnu/86627
Submitted by: Arne Woerner <arne_woerner at yahoo dot com>
MFC After: 6 days


154440 16-Jan-2006 sam

This commit was generated by cvs2svn to compensate for changes in r154439,
which included commits to RCS files with non-trunk default branches.


154335 14-Jan-2006 dougb

Add a reminder to remove obsolete files from the vendor branch.


154260 12-Jan-2006 ru

Pull up from the FSF branch.


154259 12-Jan-2006 ru

This commit was generated by cvs2svn to compensate for changes in r154258,
which included commits to RCS files with non-trunk default branches.


154216 11-Jan-2006 cperciva

Correct insecure temporary file usage in texindex. [06:01]
Correct insecure temporary file usage in ee. [06:02]
Correct a race condition when setting file permissions, sanitize file
names by default, and fix a buffer overflow when handling files
larger than 4GB in cpio. [06:03]
Fix an error in the handling of IP fragments in ipfw which can cause
a kernel panic. [06:04]

Security: FreeBSD-SA-06:01.texindex
Security: FreeBSD-SA-06:02.ee
Security: FreeBSD-SA-06:03.cpio
Security: FreeBSD-SA-06:04.ipfw


154192 10-Jan-2006 pav

- Update pretty print of multipath routes to better handle timeout of first
probe

Before:
5 *
freebsd (195.250.137.134) 19.086 ms 24.694 ms

After:
5 * freebsd (195.250.137.134) 19.086 ms 24.694 ms

Fixes: bin/90098
Reported by: Jeremy Chadwick <freebsd@jdc.parodius.com>
Approved by: andre
MFC after: 1 day


154185 10-Jan-2006 harti

This commit was generated by cvs2svn to compensate for changes in r154184,
which included commits to RCS files with non-trunk default branches.


154183 10-Jan-2006 harti

This commit was generated by cvs2svn to compensate for changes in r154182,
which included commits to RCS files with non-trunk default branches.


154181 10-Jan-2006 harti

This commit was generated by cvs2svn to compensate for changes in r154180,
which included commits to RCS files with non-trunk default branches.


154179 10-Jan-2006 harti

This commit was generated by cvs2svn to compensate for changes in r154178,
which included commits to RCS files with non-trunk default branches.


154033 04-Jan-2006 dougb

This commit was generated by cvs2svn to compensate for changes in r154032,
which included commits to RCS files with non-trunk default branches.


153881 30-Dec-2005 guido

Resolve conflicts (and believe me...you don't want to know).


153878 30-Dec-2005 guido

This commit was generated by cvs2svn to compensate for changes in r153877,
which included commits to RCS files with non-trunk default branches.


153823 29-Dec-2005 dougb

Minor updates relative to the 9.2.3 import


153820 29-Dec-2005 dougb

Remove files no longer in the BIND 9 distribution


153817 29-Dec-2005 dougb

This commit was generated by cvs2svn to compensate for changes in r153816,
which included commits to RCS files with non-trunk default branches.


153722 25-Dec-2005 mlaier

Fix build after timeval.tv_sec changed from long to time_t.


152569 18-Nov-2005 ru

-mdoc sweep.


152523 16-Nov-2005 ru

Unbreak on amd64.


152467 16-Nov-2005 rodrigc

Convert mount_smbfs to use nmount().

Reviewed by: bp (smbfs maintainer)


152391 13-Nov-2005 sam

This commit was generated by cvs2svn to compensate for changes in r152390,
which included commits to RCS files with non-trunk default branches.


151971 02-Nov-2005 harti

This commit was generated by cvs2svn to compensate for changes in r151970,
which included commits to RCS files with non-trunk default branches.


151936 01-Nov-2005 trhodes

Quick kill links to the nsmb(8) manual page, there is no such
utility that I can find.


151887 30-Oct-2005 obrien

Locate __FreeBSD_cc_version's value beside __FreeBSD__'s value to make it
easier to keep them in sync.


151857 29-Oct-2005 obrien

Catch up with FreeBSD 7.


151775 27-Oct-2005 rodrigc

Submitted following patch to FSF GCC:

* freebsd-spec.h (FBSD_TARGET_OS_CPP_BUILTINS):
Use builtin_define_with_int_value() instead of
adding a new check for every new major FreeBSD version.

Motivated by: simon
Discussed with: obrien, kan


151697 26-Oct-2005 keramida

Typo.

PR: docs/88015
Submitted by: Marian Cerny <jojo@matfyz.cz>
MFC after: 3 days


151514 20-Oct-2005 wpaul

This commit was generated by cvs2svn to compensate for changes in r151513,
which included commits to RCS files with non-trunk default branches.


151508 20-Oct-2005 ru

Update upgrade instructions.


151503 20-Oct-2005 ru

Merge Groff 1.19.2 changes.


151502 20-Oct-2005 ru

Use stock (FSF) version of this file.


151501 20-Oct-2005 ru

This commit was generated by cvs2svn to compensate for changes in r151500,
which included commits to RCS files with non-trunk default branches.


151498 20-Oct-2005 ru

This commit was generated by cvs2svn to compensate for changes in r151497,
which included commits to RCS files with non-trunk default branches.


151411 17-Oct-2005 tjr

In __option_is_short(), avoid calling isprint() on key characters outside
the range allowed by that function, resulting in undefined behaviour.
Our undefined behaviour in multibyte locales happened to differ from
glibc's, resulting in errors parsing option strings.

Obtained from: Corinna Vinschen (Red Hat)


151212 10-Oct-2005 wpaul

Remove the driver_ndis files from the exclusion list


151209 10-Oct-2005 wpaul

This commit was generated by cvs2svn to compensate for changes in r151208,
which included commits to RCS files with non-trunk default branches.


150975 05-Oct-2005 harti

This commit was generated by cvs2svn to compensate for changes in r150974,
which included commits to RCS files with non-trunk default branches.


150925 04-Oct-2005 harti

Add snmp_ntp/Makefile.in to the exclude list.


150924 04-Oct-2005 harti

These files are not needed and were imported by accident in the
previous import.


150921 04-Oct-2005 harti

This commit was generated by cvs2svn to compensate for changes in r150920,
which included commits to RCS files with non-trunk default branches.


150835 02-Oct-2005 yar

Add an rc.d script to start pfsync at the right moment of the
system boot, and hook it up in the system.

The separate script is needed because in the presence of various
interface lists in rc.conf ($network_interfaces, $cloned_interfaces,
$sppp_interfaces, $gif_interfaces, more to come) it is hard to start
them orderly, so that pfsync is brought up after its syncdev, which
is required for the proper startup of pfsync.

Discussed with: mlaier on -pf
MFC after: 5 days


150802 02-Oct-2005 bp

Allow user to override default port numbers used by communication
protocols. This is very useful for tunneled SMB connections.

MFC after: 4 weeks


150779 01-Oct-2005 tjr

Update for GNU cpio 2.6.


150778 01-Oct-2005 tjr

Merge long_format() time formatting code and fixes for printf() format
errors from old copyin.c.


150776 01-Oct-2005 tjr

Merge from old copyout.c rev 1.2: Output a zero rdev except for bdevs,
cdevs, fifos and sockets. Don't output a file if the major, minor or
totality of its rdev would be truncated.


150775 01-Oct-2005 tjr

Merge from old copypass.c rev 1.3: If we must yell at the user than a
file cannot be linked into place when requested (not required) to do it,
reassure them that cpio is still intelligent enough that it will perform
a full copy instead.


150774 01-Oct-2005 tjr

Merge from old util.c rev 1.2: say "volume" instead of "tape".


150773 01-Oct-2005 tjr

Merge from old main.c rev 1.2: Don't set the umask until after we have
processed the arguments and opened the archive file.


150772 01-Oct-2005 tjr

Merge from old tar.c rev 1.2: Recognize and skip 'x' and 'g' pax
extension entries.


150771 01-Oct-2005 tjr

Merge from old copyin.c rev 1.5, copypass.c rev 1.2: Create fifos using
mkfifo() instead of attempting to create them using mknod().


150769 01-Oct-2005 tjr

Rename isnumber() to cpio_isnumber() to avoid clashing with the
<ctype.h> library function of the same name.


150768 01-Oct-2005 tjr

Remove files no longer present in GNU cpio distribution. Most of these
were actually moved into subdirectories.


150766 01-Oct-2005 tjr

This commit was generated by cvs2svn to compensate for changes in r150765,
which included commits to RCS files with non-trunk default branches.


150673 28-Sep-2005 mlaier

Redirect bridge(4) to if_bridge(4). These should have pointed to if_bridge
from the begining.

Reminded by: ru


150643 27-Sep-2005 brooks

s/routnes/routines/ in help message.

This file is already off the vendor branch and there hasn't been a bc
release in more than 4 years so I can't see any harm in fixing this.

Submitted by: Arne Woerner <arne_woerner at yahoo dot com>
PR: gnu/86627


150313 19-Sep-2005 imura

Fix get{w,d}{l,b}e, set{w,d}{l,b}e macros on big endian systems.

Obtained from: NetBSD


150312 19-Sep-2005 imura

Remove macros
htole{s,l,q}, letoh{s,l,q}, htobe{s,l,q}, betoh{s,l,q}
and replace it with more standard byteorder macros in our system.


149851 07-Sep-2005 cperciva

Correct insecure temporary file usage.

Security: FreeBSD-SA-05:20.cvsbug


149846 07-Sep-2005 obrien

Fix bug where static forward declarations weren't accepted.
This allows us to fix non-ISO-C constructs in our kernel to legal ISO-C.

Submitted by: rodrigc
Obtained from: http://gcc.gnu.org/ml/gcc-patches/2005-09/msg00006.html


149708 02-Sep-2005 jcamou

Update URL and email address.

Approved by: trhodes (mentor)
20 day timeout: mbr (did not reply, mentor approved commit)


149509 26-Aug-2005 andre

Pretty print multipath routes.

Before (backslash in c syntax meaning):
6 p16-2-0-0.r21.sttlwa01.us.bb.verio.net (129.250.2.180) 71.027 ms \
p16-1-1-3.r20.sttlwa01.us.bb.verio.net (129.250.2.6) 66.730 ms 66.535 ms
7 xe-0-2-0.r20.sttlwa01.us.bb.verio.net (129.250.4.16) 71.092 ms \
xe-3-1.r00.sttlwa01.us.bb.verio.net (129.250.2.205) 66.598 ms \
xe-0-2-0.r20.sttlwa01.us.bb.verio.net (129.250.4.16) 71.024 ms

After:
6 p16-2-0-0.r21.sttlwa01.us.bb.verio.net (129.250.2.180) 71.027 ms
p16-1-1-3.r20.sttlwa01.us.bb.verio.net (129.250.2.6) 66.730 ms 66.535 ms
7 xe-0-2-0.r20.sttlwa01.us.bb.verio.net (129.250.4.16) 71.092 ms
xe-3-1.r00.sttlwa01.us.bb.verio.net (129.250.2.205) 66.598 ms
xe-0-2-0.r20.sttlwa01.us.bb.verio.net (129.250.4.16) 71.024 ms

Submitted by: Richard A Steenbergen <ras at e-gerbil.net>
MFC after: 3 days


149487 26-Aug-2005 tjr

Fix a one byte off error which causes "less" to crash if you view a
large file, jump to the end, scroll backwards with "b" and try to search
backwards afterwards.

Submitted by: Matthias Scheler


149415 24-Aug-2005 imura

- Fix checking range of strings of struct iconv_add_in in libsmb and libkiconv,
- Add checking range of strings to iconv_sysctl_add().

Submitted by: Rudolf Cejka


149380 23-Aug-2005 csjp

FreeBSD now supports BIOCLOCK. So we can use it now.

Reviewed by: mlaier


149246 18-Aug-2005 dougb

This commit was generated by cvs2svn to compensate for changes in r149245,
which included commits to RCS files with non-trunk default branches.


149196 17-Aug-2005 cperciva

Remove the dates from these files. They serve no purpose and result in
these files spuriously changing each time they are built.

Also, add $FreeBSD$ tags, because cvs is unhappy otherwise.


148815 07-Aug-2005 imura

Tell nls_setlocale() the very locale name from command line option,
rather than using optarg variable which would be allways NULL.


148787 06-Aug-2005 brueffer

More tcpdump 8->1 cleanup.

Approved by: mlaier
MFC after: 3 days


148519 29-Jul-2005 imura

Correct argument order of kiconv_add_xlat16_cspairs().

Security:


148506 29-Jul-2005 ache

Create /etc/opiekeys with 0600, not 0644

PR: 84221


148504 29-Jul-2005 sam

terminate when all interfaces have been removed; since we do not
do interface discovery there's no point in sticking around

MFC after: 3 days


148496 28-Jul-2005 imura

Fix core dump when "smbutil lc".

OK'ed by: bp


148481 28-Jul-2005 keramida

Spell "committing" correctly.


148479 28-Jul-2005 keramida

Spell "referred" correctly.


148397 25-Jul-2005 des

Update (correct autotools usage, copy generated headers, --disable-threads)


148163 19-Jul-2005 obrien

Fix bug where GCC thought athlon-tbird had SSE support.


148032 15-Jul-2005 phk

Switch to contemporary TTY interface.


148011 14-Jul-2005 brueffer

- Remove MLINKS to nonexistant manpages
- Change some section numbers to match reality
- For MLINKS to manpages from ports, mention which port installs them

MFC after: 3 days


147904 11-Jul-2005 sam

resolve merge conflicts

Approved by: re (scottl)


147900 11-Jul-2005 sam

This commit was generated by cvs2svn to compensate for changes in r147899,
which included commits to RCS files with non-trunk default branches.


147897 11-Jul-2005 sam

resolve merge conflicts

Approved by: re (scottl)


147895 11-Jul-2005 sam

This commit was generated by cvs2svn to compensate for changes in r147894,
which included commits to RCS files with non-trunk default branches.


147825 07-Jul-2005 obrien

This commit was generated by cvs2svn to compensate for changes in r147824,
which included commits to RCS files with non-trunk default branches.


147823 07-Jul-2005 scottl

Patch the freebsd spec file for PowerPC so that PIC code builds correctly.
This allows FreeBSD/PPC to build and run out of stock CVS sources. This
also takes the file off of the vendor branch.

Submitted by: kan, grehan
Approved by: re, kan


147802 06-Jul-2005 sam

This commit was generated by cvs2svn to compensate for changes in r147801,
which included commits to RCS files with non-trunk default branches.


147666 29-Jun-2005 simon

Fix ipfw packet matching errors with address tables.

The ipfw tables lookup code caches the result of the last query. The
kernel may process multiple packets concurrently, performing several
concurrent table lookups. Due to an insufficient locking, a cached
result can become corrupted that could cause some addresses to be
incorrectly matched against a lookup table.

Submitted by: ru
Reviewed by: csjp, mlaier
Security: CAN-2005-2019
Security: FreeBSD-SA-05:13.ipfw

Correct bzip2 permission race condition vulnerability.

Obtained from: Steve Grubb via RedHat
Security: CAN-2005-0953
Security: FreeBSD-SA-05:14.bzip2
Approved by: obrien

Correct TCP connection stall denial of service vulnerability.

A TCP packets with the SYN flag set is accepted for established
connections, allowing an attacker to overwrite certain TCP options.

Submitted by: Noritoshi Demizu
Reviewed by: andre, Mohan Srinivasan
Security: CAN-2005-2068
Security: FreeBSD-SA-05:15.tcp

Approved by: re (security blanket), cperciva


147651 29-Jun-2005 brooks

Remove isc-dhcp files from HEAD now that we're using the OpenBSD
dhclient.

Reminded by: ru
Approved by: re (blanket dhclient)


147622 27-Jun-2005 ru

Fix markup in local FreeBSD additions.

Approved by: re (blanket manpages)


147548 23-Jun-2005 darrenr

Remove these files from src/contrib/ipfilter as they are already present
in src/sys/contrib/ipfilter/netinet. Makefile's reachover bits find what
they need so building is unaffected.

Approved by: re (dwhite)


147547 23-Jun-2005 darrenr

Fix some minor problems before release:
(1) "ipf -T" is broken for fetching single entries and
(2) loading rules with numbered collections does not order insertion right.
(3) stats aren't accumulated for hash table memory failures

Approved by: re (dwhite)


147467 17-Jun-2005 des

This commit was generated by cvs2svn to compensate for changes in r147466,
which included commits to RCS files with non-trunk default branches.


147465 17-Jun-2005 des

This commit was generated by cvs2svn to compensate for changes in r147464,
which included commits to RCS files with non-trunk default branches.


147463 17-Jun-2005 des

This commit was generated by cvs2svn to compensate for changes in r147462,
which included commits to RCS files with non-trunk default branches.


147461 17-Jun-2005 des

This commit was generated by cvs2svn to compensate for changes in r147460,
which included commits to RCS files with non-trunk default branches.


147456 17-Jun-2005 des

This commit was generated by cvs2svn to compensate for changes in r147455,
which included commits to RCS files with non-trunk default branches.


147440 16-Jun-2005 ru

Markup fixes.

Approved by: re (blanket)


147439 16-Jun-2005 ru

Apply a series of scripts to automatically fix some markup bugs.

Approved by: re (blanket)


147354 14-Jun-2005 gshapiro

This commit was generated by cvs2svn to compensate for changes in r147353,
which included commits to RCS files with non-trunk default branches.


147344 13-Jun-2005 sam

resolve merge conflicts

Approved by: re (dwhite)


147342 13-Jun-2005 sam

This commit was generated by cvs2svn to compensate for changes in r147341,
which included commits to RCS files with non-trunk default branches.


147340 13-Jun-2005 sam

resolve merge conflicts


147339 13-Jun-2005 sam

This commit was generated by cvs2svn to compensate for changes in r147338,
which included commits to RCS files with non-trunk default branches.


147175 09-Jun-2005 sam

pullup security fix on vendor branch


147174 09-Jun-2005 sam

This commit was generated by cvs2svn to compensate for changes in r147173,
which included commits to RCS files with non-trunk default branches.


147117 07-Jun-2005 sam

fix byte order handling: FreeBSD != Linux


147084 07-Jun-2005 gshapiro

Note the sendmail 8.13.4 upgrade

MFC after: 4 days


147081 07-Jun-2005 gshapiro

Resolve conflicts from sendmail 8.13.4 import


147079 07-Jun-2005 gshapiro

This commit was generated by cvs2svn to compensate for changes in r147078,
which included commits to RCS files with non-trunk default branches.


147026 05-Jun-2005 sam

apply important fixes from development branch


147024 05-Jun-2005 sam

import/upgrade instructions


147022 05-Jun-2005 sam

This commit was generated by cvs2svn to compensate for changes in r147021,
which included commits to RCS files with non-trunk default branches.


147018 05-Jun-2005 sam

fix for ctrl interface socket setup

Submitted by: brooks


147016 05-Jun-2005 sam

import/ugprade instructions


147014 05-Jun-2005 sam

This commit was generated by cvs2svn to compensate for changes in r147013,
which included commits to RCS files with non-trunk default branches.


146939 03-Jun-2005 kan

Enable handling of MS-compatible packing push and pop pragmas. This change was
inadvertedly left out of the last import.


146916 03-Jun-2005 obrien

Make diff(1) follow traditional UNIX SOP of later options nullify earlier
options that are mutually exclusive.


146915 03-Jun-2005 kan

Fix a typo from previos commit.


146909 03-Jun-2005 kan

Catch up with changes in BDX_OUTPUT_[LR]BRAC callers.


146908 03-Jun-2005 kan

Merge conflicts for GCC 3.4.4.


146907 03-Jun-2005 kan

Localize GCC version string for FreeBSD.


146906 03-Jun-2005 kan

Stock files.


146902 03-Jun-2005 kan

This commit was generated by cvs2svn to compensate for changes in r146901,
which included commits to RCS files with non-trunk default branches.


146900 03-Jun-2005 kan

This commit was generated by cvs2svn to compensate for changes in r146899,
which included commits to RCS files with non-trunk default branches.


146898 03-Jun-2005 kan

This commit was generated by cvs2svn to compensate for changes in r146897,
which included commits to RCS files with non-trunk default branches.


146896 03-Jun-2005 kan

This commit was generated by cvs2svn to compensate for changes in r146895,
which included commits to RCS files with non-trunk default branches.


146788 29-May-2005 sobomax

Make bzip2 support working again after bzip2 upgrade. This time commit
BZ_NO_COMPRESS support to the bzip2 sources directly (yes, this takes file
off the vendor branch, but looks like bzip2 maintainer doesn't care), so that
it will not be removed when the next upgrade is performed. Also, add a short
note on how to test bzip2 support.

Pointy hat to: obrien

Correct comment (libz -> libbz2) and remove useless full path to zutil.h
while I am here.


146778 29-May-2005 sam

resolve merge conflicts and update for proper build; including:

o print-fr.c returned to code on vendor branch
o remove pmap_prot.h include from print-sunrprc.c
o remove gcc/i386-specific ntoh* write-arounds from tcpdump-stdinc.h

Reviewed by: bms


146776 29-May-2005 sam

This commit was generated by cvs2svn to compensate for changes in r146775,
which included commits to RCS files with non-trunk default branches.


146774 29-May-2005 sam

This commit was generated by cvs2svn to compensate for changes in r146773,
which included commits to RCS files with non-trunk default branches.


146771 29-May-2005 sam

resolve merge conflicts

Reviewed by: bms (earlier version)


146769 29-May-2005 sam

This commit was generated by cvs2svn to compensate for changes in r146768,
which included commits to RCS files with non-trunk default branches.


146669 27-May-2005 eivind

Since this is already off the vendor branch: Our kernel is now in
/boot/kernel/kernel, not plain /kernel


146612 25-May-2005 harti

This commit was generated by cvs2svn to compensate for changes in r146611,
which included commits to RCS files with non-trunk default branches.


146610 25-May-2005 harti

This commit was generated by cvs2svn to compensate for changes in r146609,
which included commits to RCS files with non-trunk default branches.


146590 24-May-2005 cognet

arm defaults to unsigned char as well.


146533 23-May-2005 harti

This commit was generated by cvs2svn to compensate for changes in r146532,
which included commits to RCS files with non-trunk default branches.


146526 23-May-2005 harti

This commit was generated by cvs2svn to compensate for changes in r146525,
which included commits to RCS files with non-trunk default branches.


146523 23-May-2005 ru

Update for version 4.8 import.


146522 23-May-2005 ru

Update for texinfo 4.8.


146521 23-May-2005 ru

Merge texinfo 4.8 changes onto the trunk.


146520 23-May-2005 ru

Use stock (FSF) version of this file.


146519 23-May-2005 ru

This commit was generated by cvs2svn to compensate for changes in r146518,
which included commits to RCS files with non-trunk default branches.


146516 23-May-2005 ru

This commit was generated by cvs2svn to compensate for changes in r146515,
which included commits to RCS files with non-trunk default branches.


146468 21-May-2005 ume

NI_WITHSCOPEID cleanup


146387 19-May-2005 keramida

The 'text' argument of u_header() is not used, so we don't need to
trim_header() it.

Noticed by: bde


146344 18-May-2005 keramida

Properly trim the header line too, to fix wrap-around problems that
have been noticed by running top(1) in terminals that are too narrow
(or on systems with usernames that were too long, pushing everything
too far to the right).

Note that this does *not* solve the wrap-around problem of the system
statistics, which is an entirely different matter :-/

Tested on: i386, sparc64 (panther), amd64 (sledge)
Approved by: davidxu (in principle)


146342 18-May-2005 keramida

Merge the CPU and WCPU columns in a single %6.2f column, add a new 'C'
command that toggles between the two and update the ORDER_PCTCPU()
macro to sort correctly by the visible "cpu" value.

This saves 6 more columns in 80-column terminals, making things a lot
better for the COMMAND column.

Tested on: i386, sparc64 (panther), amd64 (sledge)
Approved by: davidxu (in principle)


146310 17-May-2005 mikeh

This commit was generated by cvs2svn to compensate for changes in r146309,
which included commits to RCS files with non-trunk default branches.


146303 16-May-2005 ru

Update for the 2005/04/24 import.


146300 16-May-2005 ru

This commit was generated by cvs2svn to compensate for changes in r146299,
which included commits to RCS files with non-trunk default branches.


146297 16-May-2005 obrien

Update to match the 1.0.3 import.


146294 16-May-2005 obrien

This commit was generated by cvs2svn to compensate for changes in r146293,
which included commits to RCS files with non-trunk default branches.


146277 16-May-2005 darrenr

Enable building /sbin/ipf (but not the rescue version) with the ability to
parse bpf strings for filter rules in ipf.conf


146187 13-May-2005 ume

NI_WITHSCOPEID cleanup. Neither RFC 2553 nor RFC 3493 defines
NI_WITHSCOPEID, and our getaddrinfo(3) does nothing special
for it, now.


145989 08-May-2005 grehan

Fix tinderbox build on ppc.

Requested by: mlaier


145872 04-May-2005 takawata

Make smbfs capable to use 16bit char set in filenames.

PR:78110


145840 03-May-2005 mlaier

Resolve conflicts created during the import of pf 3.7 Some features are
missing and will be implemented in a second step. This is functional as is.

Tested by: freebsd-pf, pfsense.org
Obtained from: OpenBSD


145838 03-May-2005 mlaier

This commit was generated by cvs2svn to compensate for changes in r145837,
which included commits to RCS files with non-trunk default branches.


145674 29-Apr-2005 harti

This commit was generated by cvs2svn to compensate for changes in r145673,
which included commits to RCS files with non-trunk default branches.


145640 28-Apr-2005 darrenr

Don't use quad_t on FreeBSD (deprecated) so use "long long" instead.
Someday this should be converted to uint64_t and printstate.c changed to
use those horrid PRiud64 things.


145630 28-Apr-2005 darrenr

Patches from Ruslam Ermilov to remove NetBSD bits from Makefiles and cleanup
build problems with rescue.


145558 26-Apr-2005 harti

This commit was generated by cvs2svn to compensate for changes in r145557,
which included commits to RCS files with non-trunk default branches.


145554 26-Apr-2005 darrenr

Fix include directives that were missing the netinet include directory, where
the ipl.h file is found. Also add back in ip_fil.c, which somehow went missing
in action.


145547 26-Apr-2005 darrenr

Fix problems with building libipf:
ipf_dontuning.c - change the include to look in netinet for ipl.h
ipft_tx.c - make the private use of arrays with tcp flags info in them more
not use names that can be "confusing"


145529 25-Apr-2005 darrenr

this file does not belong in a freebsd distribution


145519 25-Apr-2005 darrenr

* Someone imported a lot of files with the wrong CVS tag, so lots of files need
that fixed in them....
* Keep unnecessary files out of the non-vendor part of this CVS repository.


145514 25-Apr-2005 darrenr

This commit was generated by cvs2svn to compensate for changes in r145513,
which included commits to RCS files with non-trunk default branches.


145511 25-Apr-2005 darrenr

This commit was generated by cvs2svn to compensate for changes in r145510,
which included commits to RCS files with non-trunk default branches.


145480 24-Apr-2005 mp

This commit was generated by cvs2svn to compensate for changes in r145479,
which included commits to RCS files with non-trunk default branches.


145406 22-Apr-2005 simon

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


145073 14-Apr-2005 keramida

- 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>


144951 12-Apr-2005 thomas

Fix minor discrepancy between documentation and implementation: the
destination port is incremented for each packet sent to the same hop.

MFC after: 1 week


144231 28-Mar-2005 nectar

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>


143739 17-Mar-2005 dougb

Expand and refine a few sections for future reference


143738 17-Mar-2005 dougb

Delete all aix ports


143735 17-Mar-2005 dougb

This commit was generated by cvs2svn to compensate for changes in r143734,
which included commits to RCS files with non-trunk default branches.


143732 17-Mar-2005 dougb

This commit was generated by cvs2svn to compensate for changes in r143731,
which included commits to RCS files with non-trunk default branches.


143520 13-Mar-2005 brueffer

Correct macro usage.

Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
MFC after: 3 days


142813 28-Feb-2005 harti

Don't extract the .gdbinit file from the distribution.


142811 28-Feb-2005 harti

This commit was generated by cvs2svn to compensate for changes in r142810,
which included commits to RCS files with non-trunk default branches.


142790 28-Feb-2005 tobez

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


142319 23-Feb-2005 glebius

- 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


142130 20-Feb-2005 mikeh

This commit was generated by cvs2svn to compensate for changes in r142129,
which included commits to RCS files with non-trunk default branches.


141887 14-Feb-2005 gshapiro

Merge mci.c change to add mci_close() from the vendor branch.

Problem noted by: marcus


141868 14-Feb-2005 gshapiro

This commit was generated by cvs2svn to compensate for changes in r141867,
which included commits to RCS files with non-trunk default branches.


141864 14-Feb-2005 gshapiro

Update for sendmail 8.13.3 import


141862 14-Feb-2005 gshapiro

Resolve conflicts from sendmail 8.13.3 import

MFC after: 4 days


141859 14-Feb-2005 gshapiro

This commit was generated by cvs2svn to compensate for changes in r141858,
which included commits to RCS files with non-trunk default branches.


141846 13-Feb-2005 ru

Expand *n't contractions.


141490 07-Feb-2005 mlaier

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


141456 07-Feb-2005 mlaier

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


141431 07-Feb-2005 delphij

Undo the VCS tag move to reduce diff hunks.

Pointed out by: ru


141399 06-Feb-2005 delphij

Add instructions about upgrading netcat(1).


141394 06-Feb-2005 delphij

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.


141262 04-Feb-2005 delphij

This commit was generated by cvs2svn to compensate for changes in r141261,
which included commits to RCS files with non-trunk default branches.


141099 01-Feb-2005 des

This commit was generated by cvs2svn to compensate for changes in r141098,
which included commits to RCS files with non-trunk default branches.


140803 25-Jan-2005 ru

MFV: Latest mdoc(7) fixes.


140802 25-Jan-2005 ru

This commit was generated by cvs2svn to compensate for changes in r140801,
which included commits to RCS files with non-trunk default branches.


140744 24-Jan-2005 bms

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


140601 21-Jan-2005 ru

- Soften sentence breaks.
- Remove double whitespace.
- Sort sections.


140431 18-Jan-2005 das

Configure gdtoa so that floating-point numbers are correctly rounded
when they are printed in non-default rounding modes.


140230 14-Jan-2005 ru

This commit was generated by cvs2svn to compensate for changes in r140229,
which included commits to RCS files with non-trunk default branches.


139937 09-Jan-2005 maxim

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


139713 05-Jan-2005 maxim

o Add -4 and -6 flags to a man page and usage(). Bump the man page
date.


139711 05-Jan-2005 maxim

o Remove -t flag from getopt(3), it was killed in rev. 1.15 three
years ago.


139687 04-Jan-2005 maxim

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


139369 28-Dec-2004 obrien

This commit was generated by cvs2svn to compensate for changes in r139368,
which included commits to RCS files with non-trunk default branches.


139115 21-Dec-2004 ru

NOINET6 -> NO_INET6


138980 17-Dec-2004 jkoshy

Revert rev 1.66. This file needs to track its upstream source.

Requested by: ru


138976 17-Dec-2004 jkoshy

Support for ".Fx 6.0".

Reviewed by: ru


138452 06-Dec-2004 roberto

This commit was generated by cvs2svn to compensate for changes in r138451,
which included commits to RCS files with non-trunk default branches.


137693 14-Nov-2004 mlaier

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>


137567 11-Nov-2004 obrien

Break lines at sentence ends, etc...


137566 11-Nov-2004 obrien

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


136759 21-Oct-2004 peter

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)


136758 21-Oct-2004 peter

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.


136700 19-Oct-2004 obrien

+ Get prototypes for libc functions.
+ Use the correct printf format for size_t.


136699 19-Oct-2004 obrien

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>


136652 18-Oct-2004 ache

Merge local changes


136651 18-Oct-2004 ache

Remove files not in 5.0


136650 18-Oct-2004 ache

Update instructions


136648 18-Oct-2004 ache

This commit was generated by cvs2svn to compensate for changes in r136647,
which included commits to RCS files with non-trunk default branches.


136645 18-Oct-2004 ache

This commit was generated by cvs2svn to compensate for changes in r136644,
which included commits to RCS files with non-trunk default branches.


136557 15-Oct-2004 trhodes

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)


136528 15-Oct-2004 kan

This commit was generated by cvs2svn to compensate for changes in r136527,
which included commits to RCS files with non-trunk default branches.


136229 07-Oct-2004 mlaier

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


136141 05-Oct-2004 mlaier

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


136137 05-Oct-2004 ru

This commit was generated by cvs2svn to compensate for changes in r136136,
which included commits to RCS files with non-trunk default branches.


136083 03-Oct-2004 mlaier

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


135924 29-Sep-2004 trhodes

This commit was generated by cvs2svn to compensate for changes in r135923,
which included commits to RCS files with non-trunk default branches.


135835 27-Sep-2004 des

Document the upgrade procedure.


135824 26-Sep-2004 mlaier

PFIL_HOOKS is no longer an optional item.

Submitted by: Anders Hanssen
MFC after: 1 day


135769 24-Sep-2004 trhodes

This commit was generated by cvs2svn to compensate for changes in r135768,
which included commits to RCS files with non-trunk default branches.


135758 24-Sep-2004 des

Retire the BIND 8 sources.


135602 23-Sep-2004 des

This commit was generated by cvs2svn to compensate for changes in r135601,
which included commits to RCS files with non-trunk default branches.


135549 21-Sep-2004 des

Switch from BIND 8 to BIND 9.

Submitted by: (in part) dougb@, trhodes@
Reviewed by: dougb@, trhodes@, re@
MFC after: 5 days


135527 20-Sep-2004 des

Add lib/tests.


135475 19-Sep-2004 trhodes

Add a config.h file.


135474 19-Sep-2004 trhodes

Add a FREEBSD-Xlist file.


135472 19-Sep-2004 trhodes

This commit was generated by cvs2svn to compensate for changes in r135471,
which included commits to RCS files with non-trunk default branches.


135447 19-Sep-2004 trhodes

This commit was generated by cvs2svn to compensate for changes in r135446,
which included commits to RCS files with non-trunk default branches.


135184 14-Sep-2004 mlaier

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


134801 05-Sep-2004 tjr

Correctly check the return value of kldload() to determine whether an
error occurred.


134800 05-Sep-2004 marcel

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.


134578 31-Aug-2004 mlaier

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


134423 28-Aug-2004 kientzle

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


134368 27-Aug-2004 kientzle

Correct va_end usage.

Thanks to: Sean McNeil
MFC after: 3 days


134175 22-Aug-2004 mlaier

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


134097 21-Aug-2004 obrien

Enter the long awaited start of FreeBSD 6.0!


133940 18-Aug-2004 obrien

NetBSD has updated their groff to a version that handles .Nm the same
way ours does. So use the vendor files now.


133939 18-Aug-2004 obrien

Merge rev 1.2 (OPIE, login user capabilities database, PAM) support
into 'nbsd_20040809'.


133937 18-Aug-2004 obrien

This commit was generated by cvs2svn to compensate for changes in r133936,
which included commits to RCS files with non-trunk default branches.


133889 16-Aug-2004 mbr

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


133885 16-Aug-2004 mbr

Document local changes r1.41 and r1.42 of dhclient.c


133884 16-Aug-2004 mbr

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


133867 16-Aug-2004 mbr

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>


133864 16-Aug-2004 mbr

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.


133817 16-Aug-2004 alfred

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


133786 15-Aug-2004 mbr

Resolve conflicts from dhclient 3.0.1 final import.

No functional changes in this import.


133784 15-Aug-2004 mbr

This commit was generated by cvs2svn to compensate for changes in r133783,
which included commits to RCS files with non-trunk default branches.


133748 15-Aug-2004 davidxu

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


133595 12-Aug-2004 harti

This commit was generated by cvs2svn to compensate for changes in r133594,
which included commits to RCS files with non-trunk default branches.


133583 12-Aug-2004 kan

This commit was generated by cvs2svn to compensate for changes in r133582,
which included commits to RCS files with non-trunk default branches.


133547 12-Aug-2004 tjr

This commit was generated by cvs2svn to compensate for changes in r133546,
which included commits to RCS files with non-trunk default branches.


133545 12-Aug-2004 tjr

Merge local changes.


133544 12-Aug-2004 tjr

This commit was generated by cvs2svn to compensate for changes in r133543,
which included commits to RCS files with non-trunk default branches.


133535 12-Aug-2004 kan

This commit was generated by cvs2svn to compensate for changes in r133534,
which included commits to RCS files with non-trunk default branches.


133491 11-Aug-2004 harti

Exclusion list for easier import.


133489 11-Aug-2004 harti

This commit was generated by cvs2svn to compensate for changes in r133488,
which included commits to RCS files with non-trunk default branches.


133430 10-Aug-2004 harti

This commit was generated by cvs2svn to compensate for changes in r133429,
which included commits to RCS files with non-trunk default branches.


133360 09-Aug-2004 obrien

This commit was generated by cvs2svn to compensate for changes in r133359,
which included commits to RCS files with non-trunk default branches.


133214 06-Aug-2004 harti

List some more files to be excluded from the original distribution.


133212 06-Aug-2004 harti

This commit was generated by cvs2svn to compensate for changes in r133211,
which included commits to RCS files with non-trunk default branches.


133180 05-Aug-2004 des

Do not check val-tags if the repository is read-only.

Approved by: maintainer's silence
MFC after: 2 weeks


132948 01-Aug-2004 gshapiro

Update notes after sendmail 8.13.1 import


132946 01-Aug-2004 gshapiro

Resolve conflicts from sendmail 8.13.1 import


132944 01-Aug-2004 gshapiro

This commit was generated by cvs2svn to compensate for changes in r132943,
which included commits to RCS files with non-trunk default branches.


132875 30-Jul-2004 ru

Sync with FSF.


132874 30-Jul-2004 ru

This commit was generated by cvs2svn to compensate for changes in r132873,
which included commits to RCS files with non-trunk default branches.


132857 29-Jul-2004 kan

Remove obsolete ASM_FINAL_SPEC definition.

Reported by: green


132811 29-Jul-2004 kan

Allow GCC to recognize -fformat-extensions flag.


132796 28-Jul-2004 mux

Remove an empty default: case to please GCC 3.4.2.


132753 28-Jul-2004 kan

Add missing () to function invocation.


132752 28-Jul-2004 kan

Do not use casts as lvalues.


132749 28-Jul-2004 kan

Merge rev. 1.2 (allow profiling of FORTRAN77 programs) info
GCC 3.4.3-prerelease sources.


132748 28-Jul-2004 kan

Merge FreeBSD changes into GCC 3.4.2-prerelease:
1.2 Printf format errors fixes.


132747 28-Jul-2004 kan

Use stock version of this file now.


132746 28-Jul-2004 kan

Update sparc64 MD bits to GCC 3.4.2-prerelease.


132745 28-Jul-2004 kan

Merge FreeBSD changes into GCC 3.4.2-prerelease:
1.2 Tweaks to make this file live beside our hacked config.


132744 28-Jul-2004 kan

Merge r1.10 (-mno-align-long-strings) and r1.11 (make LONG_TYPE_SIZE
overridable from the command line).


132743 28-Jul-2004 kan

Merge r1.11 (-mno-align-long-strings).


132742 28-Jul-2004 kan

Update Amd64 MD bits for GCC 3.4.2-prerelease.


132741 28-Jul-2004 kan

Update i386 MD bits for GCC 3.4.2-prerelease.


132740 28-Jul-2004 kan

Update Alpha config MD bits for GCC 3.4.2-prerelease.


132739 28-Jul-2004 kan

Merge FreeBSD modifications into gcc 3.4.2-prerelease:
1.8 Change symbol values to match freebsd.h.


132738 28-Jul-2004 kan

Update MI config bits for GCC 3.4.2-prerelease.


132737 28-Jul-2004 kan

Update for GCC 3.4.2. Bump __FreeBSD_cc_version_ and use correct ELF
interpreter on FreeBSD 5.x series.


132736 28-Jul-2004 kan

Merge FreeBSD modifications into gcc 3.4.2-prerelease:
1.2 Localize the version string.


132735 28-Jul-2004 kan

-O0 -O1 should optimize alignment for time, not size. Moved from toplev.c.


132734 28-Jul-2004 kan

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.


132733 28-Jul-2004 kan

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.


132732 28-Jul-2004 kan

Merge FreeBSD changes into GCC 3.4.2-prerelease.
1.19 Fix -mprofiler-epilogue on i386.


132731 28-Jul-2004 kan

Merge FreeBSD modifications into gcc 3.4.2-prerelease:
1.2 -fformat-extensions.
1.3 -printf0
1.6 teach GCC about %y for DDB.


132730 28-Jul-2004 kan

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.


132729 28-Jul-2004 kan

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.


132728 28-Jul-2004 kan

Merge FreeBSD changes into GCC 3.4.2-prerelease.
r1.18: Move FreeBSD specific flag variables from c-decl.c here.


132727 28-Jul-2004 kan

Use stock GCC versions on these files.


132725 28-Jul-2004 kan

This commit was generated by cvs2svn to compensate for changes in r132724,
which included commits to RCS files with non-trunk default branches.


132723 28-Jul-2004 kan

This commit was generated by cvs2svn to compensate for changes in r132722,
which included commits to RCS files with non-trunk default branches.


132721 28-Jul-2004 kan

This commit was generated by cvs2svn to compensate for changes in r132720,
which included commits to RCS files with non-trunk default branches.


132719 28-Jul-2004 kan

This commit was generated by cvs2svn to compensate for changes in r132718,
which included commits to RCS files with non-trunk default branches.


132692 27-Jul-2004 des

This commit was generated by cvs2svn to compensate for changes in r132691,
which included commits to RCS files with non-trunk default branches.


132685 27-Jul-2004 marcel

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.


132537 22-Jul-2004 roberto

This commit was generated by cvs2svn to compensate for changes in r132536,
which included commits to RCS files with non-trunk default branches.


132460 20-Jul-2004 roberto

Remove an extra '}'.


132457 20-Jul-2004 roberto

Update information on build/import.


132456 20-Jul-2004 roberto

Merge conflicts.

Lots of added files, some removed and quite a large number of renames :(


132455 20-Jul-2004 roberto

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


132454 20-Jul-2004 roberto

Revert this file to the vendor version, we don't need to have our own
version of it. Will help further upgrades.


132452 20-Jul-2004 roberto

This commit was generated by cvs2svn to compensate for changes in r132451,
which included commits to RCS files with non-trunk default branches.


132373 19-Jul-2004 marcel

This file was not used to import gdb. Remove.


132289 17-Jul-2004 bp

Use correct location for nsmb.conf file.

PR: misc/45273


132038 12-Jul-2004 alfred

document the 'I' and 't' commands in the help screen in top(1).

Submitted by: Alex Vasylenko lxv omut.org


132005 12-Jul-2004 alfred

Make 'S' in interactive mode toggle display of system processes.


131965 11-Jul-2004 mp

Add the nls/*/charset files to the exclude list. These files are not needed
and only provide comments in the text NLS files.


131963 11-Jul-2004 mp

This commit was generated by cvs2svn to compensate for changes in r131962,
which included commits to RCS files with non-trunk default branches.


131829 08-Jul-2004 keramida

Build upon the nice work of Alfred and add sorting capabilities to
the -m "io" mode of top.

Approved by: alfred


131824 08-Jul-2004 harti

This commit was generated by cvs2svn to compensate for changes in r131823,
which included commits to RCS files with non-trunk default branches.


131723 06-Jul-2004 obrien

This commit was generated by cvs2svn to compensate for changes in r131722,
which included commits to RCS files with non-trunk default branches.


131713 06-Jul-2004 des

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


131712 06-Jul-2004 mbr

Readd accidently deleted file.


131709 06-Jul-2004 mbr

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>


131706 06-Jul-2004 mbr

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


131703 06-Jul-2004 mbr

This commit was generated by cvs2svn to compensate for changes in r131702,
which included commits to RCS files with non-trunk default branches.


131701 06-Jul-2004 mbr

Add some unneeded files to the Xlist in preparation for the new
amd import.


131688 06-Jul-2004 des

Add an "iso8601" option keyword which causes 'cvs log' etc. to print
dates in ISO 8601 format.

Approved by: peter
MFC after: 2 weeks


131686 06-Jul-2004 tjr

Use va_copy instead of __va_copy, which is not defined on most architectures.

Noticed by: obrien


131664 06-Jul-2004 ache

Remove my email & date


131618 05-Jul-2004 tjr

Fix handling of multibyte delimiter characters with the -t option.


131616 05-Jul-2004 des

Correct a misleading (cut'n'pasted) comment.


131515 03-Jul-2004 tjr

Update for coreutils.


131453 02-Jul-2004 tjr

Add support for multi-byte character sets.

Obtained from: Mitsuru Chinen (IBM) via The Fedora Project


131451 02-Jul-2004 tjr

Resolve conflicts.


131448 02-Jul-2004 tjr

This commit was generated by cvs2svn to compensate for changes in r131447,
which included commits to RCS files with non-trunk default branches.


131402 01-Jul-2004 alfred

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.


131159 26-Jun-2004 mbr

Document the 64bit time_t fix.


131158 26-Jun-2004 mbr

Use int32_t to convert the leasetime to fix support for platforms
where time_t is 64-bit.

Submitted by: des


131141 26-Jun-2004 mbr

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>


131140 26-Jun-2004 mbr

Resolve conflicts.


131137 26-Jun-2004 mbr

This commit was generated by cvs2svn to compensate for changes in r131136,
which included commits to RCS files with non-trunk default branches.


131116 25-Jun-2004 marcel

Remove fbsd-thread.o, it's not for consumption yet.


131086 25-Jun-2004 marcel

Update HEAD with support for ia64.


131083 25-Jun-2004 marcel

This commit was generated by cvs2svn to compensate for changes in r131082,
which included commits to RCS files with non-trunk default branches.


131081 25-Jun-2004 marcel

Update the upgrade instructions.


130890 21-Jun-2004 darrenr

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


130888 21-Jun-2004 darrenr

This commit was generated by cvs2svn to compensate for changes in r130887,
which included commits to RCS files with non-trunk default branches.


130813 20-Jun-2004 marcel

Remove from HEAD, that what is not on the vendor branch anymore.


130812 20-Jun-2004 marcel

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.


130809 20-Jun-2004 marcel

Update to GDB 6.1.1. These files are identical to the vendor branch.


130807 20-Jun-2004 marcel

Update to match the GDB 6.1.1 import.


130806 20-Jun-2004 marcel

This commit was generated by cvs2svn to compensate for changes in r130805,
which included commits to RCS files with non-trunk default branches.


130804 20-Jun-2004 marcel

This commit was generated by cvs2svn to compensate for changes in r130803,
which included commits to RCS files with non-trunk default branches.


130789 20-Jun-2004 mux

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


130744 19-Jun-2004 obrien

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.


130737 19-Jun-2004 le

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>


130716 19-Jun-2004 le

Don't return NULL when the function is defined to return an integer.

OK'ed by: tjr


130711 19-Jun-2004 obrien

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>


130673 18-Jun-2004 marcel

This file is not part of GDB 5.2.1, but was off the vendor branch.


130671 18-Jun-2004 marcel

Revert local changes.


130669 18-Jun-2004 marcel

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.


130634 17-Jun-2004 mlaier

Fix printing of u_int64_t with a cast to unsigned long long.

Found-by: tinderbox(amd64)


130617 16-Jun-2004 mlaier

Commit userland part of pf version 3.5 from OpenBSD (OPENBSD_3_5_BASE).


130615 16-Jun-2004 mlaier

This commit was generated by cvs2svn to compensate for changes in r130614,
which included commits to RCS files with non-trunk default branches.


130570 16-Jun-2004 obrien

Update HEAD with the stock binutils_2_15_20040523 file.


130567 16-Jun-2004 obrien

Blah, these came back. Use a bigger hammer.


130566 16-Jun-2004 obrien

Merge rev 1.2 (configuration changes to support FreeBSD) into Binutils 2.15.


130565 16-Jun-2004 obrien

Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints) into
Binutils 2.15.


130564 16-Jun-2004 obrien

Merge rev 1.2 (FreeBSD a.out configuration support) into Binutils 2.15.


130563 16-Jun-2004 obrien

Merge our ELF branding into Binutils 2.15.


130562 16-Jun-2004 obrien

This commit was generated by cvs2svn to compensate for changes in r130561,
which included commits to RCS files with non-trunk default branches.


130458 14-Jun-2004 ru

This commit was generated by cvs2svn to compensate for changes in r130457,
which included commits to RCS files with non-trunk default branches.


130307 10-Jun-2004 peter

Merge 1.11.15+ -> 1.11.17 changes onto mainline. I've left cvs.1 alone
for now.


130304 10-Jun-2004 peter

This commit was generated by cvs2svn to compensate for changes in r130303,
which included commits to RCS files with non-trunk default branches.


130284 09-Jun-2004 des

The list of files / directories to remove has moved to FREEBSD-Xlist.


130282 09-Jun-2004 des

List of files and directories to delete before importing a new release.


129790 27-May-2004 mlaier

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)


129487 20-May-2004 des

Merge updated patch from vendor branch (1.1.1.17)


129420 19-May-2004 des

Merge parser fix from vendor branch (rev 1.1.1.16)


129214 14-May-2004 mbr

Add a list of all local changed files. All these files have been taken
of the vendor tree.


129213 14-May-2004 mbr

We don't need these files. Add the to the x-list.


128779 30-Apr-2004 marius

Remove the GNU patch(1) sources that were committed to HEAD.

Approved by: ache, cvs, ru
MFC after: 2 weeks


128778 30-Apr-2004 marius

This commit was generated by cvs2svn to compensate for changes in r128777,
which included commits to RCS files with non-trunk default branches.


128672 27-Apr-2004 mikeh

This commit was generated by cvs2svn to compensate for changes in r128671,
which included commits to RCS files with non-trunk default branches.


128403 18-Apr-2004 mlaier

FreeBSD-if .4 manpages for pf/pflog/pfsync.

PR: docs/65687
Submitted by: Sergey Matveychuk
Approved by: bms(mentor)


128365 17-Apr-2004 pb

Check -s option source address for validity.

PR: bin/29026
MFC after: 1 week


128348 17-Apr-2004 tjr

Merge vendor changes onto mainline.


128346 17-Apr-2004 tjr

This commit was generated by cvs2svn to compensate for changes in r128345,
which included commits to RCS files with non-trunk default branches.


128308 16-Apr-2004 ru

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.


128273 15-Apr-2004 peter

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).


128272 15-Apr-2004 peter

Fix merge typo. Add missing ",".


128271 15-Apr-2004 peter

This commit was generated by cvs2svn to compensate for changes in r128270,
which included commits to RCS files with non-trunk default branches.


128269 15-Apr-2004 peter

Initial merge of cvs-1.11.5 -> 1.11.15 changes onto mainline


128267 15-Apr-2004 peter

This commit was generated by cvs2svn to compensate for changes in r128266,
which included commits to RCS files with non-trunk default branches.


128238 14-Apr-2004 harti

This commit was generated by cvs2svn to compensate for changes in r128237,
which included commits to RCS files with non-trunk default branches.


128140 11-Apr-2004 mux

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.


127978 07-Apr-2004 gshapiro

Fix path to rc.sendmail


127807 03-Apr-2004 nectar

Resolve conflicts after import of Heimdal 0.6.1 libcom_err.


127805 03-Apr-2004 nectar

This commit was generated by cvs2svn to compensate for changes in r127804,
which included commits to RCS files with non-trunk default branches.


127683 31-Mar-2004 bms

pcap clients should use strlcpy() from the base system libc by default also.


127682 31-Mar-2004 bms

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


127675 31-Mar-2004 bms

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().


127671 31-Mar-2004 bms

Correct imported pcap.h for FreeBSD builds.


127669 31-Mar-2004 bms

This commit was generated by cvs2svn to compensate for changes in r127668,
which included commits to RCS files with non-trunk default branches.


127667 31-Mar-2004 bms

Merge of libpcap 0.8.3 from tcpdump.org.


127665 31-Mar-2004 bms

This commit was generated by cvs2svn to compensate for changes in r127664,
which included commits to RCS files with non-trunk default branches.


127366 24-Mar-2004 se

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.


127247 20-Mar-2004 des

Remove NetBSD's sort(1), which we stopped using two years ago.


127106 17-Mar-2004 obrien

This commit was generated by cvs2svn to compensate for changes in r127105,
which included commits to RCS files with non-trunk default branches.


127082 16-Mar-2004 obrien

Fix $FreeBSD$ ids.


127024 15-Mar-2004 mlaier

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)


126855 11-Mar-2004 des

This commit was generated by cvs2svn to compensate for changes in r126854,
which included commits to RCS files with non-trunk default branches.


126747 08-Mar-2004 mlaier

Fix two instances of improper NULL/0 use idetified by the changes lately.

Submitted by: Patrick Marie
Approved by: bms(mentor)


126361 28-Feb-2004 mlaier

Add local define of HTONL() as it was decided to protect this by _KERNEL
in <net/pfvar.h>


126358 28-Feb-2004 mlaier

This commit was generated by cvs2svn to compensate for changes in r126357,
which included commits to RCS files with non-trunk default branches.


126355 28-Feb-2004 mlaier

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)


126354 28-Feb-2004 mlaier

This commit was generated by cvs2svn to compensate for changes in r126353,
which included commits to RCS files with non-trunk default branches.


126269 26-Feb-2004 tjr

Merge from NetBSD rev. 1.3 (drochner): Use getifaddrs(3) instead of
SIOCGIFCONF.


126216 25-Feb-2004 ache

Back out getopt* adding here per maintainer request


125974 18-Feb-2004 ache

Add */lib/getopt* I miss somehow initially.


125922 17-Feb-2004 ache

Remove unneeded files


125920 17-Feb-2004 ache

Remove unneeded files


125918 17-Feb-2004 ache

Remove unneded files


125914 17-Feb-2004 ache

Remove unneded files


125912 17-Feb-2004 ache

Remove unneded files


125909 17-Feb-2004 ache

Remove files no longer needed


125908 17-Feb-2004 ache

Remove files no longer needed


125906 17-Feb-2004 ache

Remove files no longer needed


125904 17-Feb-2004 ache

getopt_long() returned 0 (i.e. long options) case not handled, add it
(symptom: "bc --quiet" not works while "bc -q" works)


125895 16-Feb-2004 ache

Remove files no longer needed
Switch back to regex.h


125824 14-Feb-2004 gshapiro

Update for 8.12.11 import

MFC after: 7 days


125823 14-Feb-2004 gshapiro

Fix sendmail 8.12.11 import conflicts


125821 14-Feb-2004 gshapiro

This commit was generated by cvs2svn to compensate for changes in r125820,
which included commits to RCS files with non-trunk default branches.


125763 13-Feb-2004 ache

Mention which patches imported


125760 13-Feb-2004 ache

This commit was generated by cvs2svn to compensate for changes in r125759,
which included commits to RCS files with non-trunk default branches.


125665 10-Feb-2004 ache

Official patches 001-005

PR: 62555


125648 10-Feb-2004 des

This commit was generated by cvs2svn to compensate for changes in r125647,
which included commits to RCS files with non-trunk default branches.


125604 08-Feb-2004 ru

Update for the 2004/02/07 import.


125602 08-Feb-2004 ru

This commit was generated by cvs2svn to compensate for changes in r125601,
which included commits to RCS files with non-trunk default branches.


125572 07-Feb-2004 ru

Update for the 2003/07/31 import.


125506 05-Feb-2004 ru

This commit was generated by cvs2svn to compensate for changes in r125505,
which included commits to RCS files with non-trunk default branches.


125231 30-Jan-2004 deischen

Make gcc -pthread link to -lpthread instead of -lc_r.


125148 28-Jan-2004 harti

Add an exclusion list that lists all the files from the original
distribution that we don't need.


125130 28-Jan-2004 tjr

Merge from NetBSD rev. 1.2 (drochner): Do the address calculations inside
the data delivered by SIOCGIFCONF correctly (this isn't a plain array!),
and sort the checks a bit to avoid duplicates in the interface list.


125012 26-Jan-2004 harti

Update the upgrade instructions to account for the fact, that
there is no need anymore to re-create files. Also give a hint to
look for changes needed to the Makefiles.


124962 25-Jan-2004 mbr

Dhclient dumps core on suspend/resume cycles. If the client isn't active
then we need to go to the reboot state or in state_bound it will core on
the de-reference of client -> active -> options since client -> active = NULL.

While we are here, fix the indentation.

Submitted by: Doug Ambrisko <ambrisko@ambrisko.com>


124862 23-Jan-2004 harti

This commit was generated by cvs2svn to compensate for changes in r124861,
which included commits to RCS files with non-trunk default branches.


124859 23-Jan-2004 cperciva

Fix traceroute where [number of hops] * [number of packets per hop] > 255.

PR: misc/61336
Submitted by: Mike Hibler <mike@cs.utah.edu>
Approved by: rwatson (mentor)


124796 21-Jan-2004 nectar

Merge security fix from vendor branch (revision 1.1.1.14).


124794 21-Jan-2004 nectar

This commit was generated by cvs2svn to compensate for changes in r124793,
which included commits to RCS files with non-trunk default branches.


124734 19-Jan-2004 mbr

If we have a working link again after connectivity loss, or if we need
to renew a lease, contact the dhcp-server directly instead of using
INADDR_BROADCAST all the time. This should fix some brain-dead dhcp
server implementations which give you all the time a new IP if the
lease has not yet expired.

Instead of using ICMP to check if the server is alive, we just check
the return value of sendto() and additionally have a timeout there.


124721 19-Jan-2004 mbr

Remove files which have been removed in the 3.01RC12 release
of isc-dhcpd.


124704 19-Jan-2004 das

This commit was generated by cvs2svn to compensate for changes in r124703,
which included commits to RCS files with non-trunk default branches.


124575 15-Jan-2004 obrien

Provide an escape to our "savestring" compatibility with ancient readline
versions madness. Define 'RL_NO_COMPAT' and be worry free.


124489 13-Jan-2004 fenner

This commit was generated by cvs2svn to compensate for changes in r124488,
which included commits to RCS files with non-trunk default branches.


124487 13-Jan-2004 fenner

This commit was generated by cvs2svn to compensate for changes in r124486,
which included commits to RCS files with non-trunk default branches.


124167 06-Jan-2004 bde

Quick fix for breakage of non-i386 arches in previous commit. Only
use TARGET_PROFILER_EPILOGUE if it is defined.


124160 05-Jan-2004 kan

Fix -mprofiler-epilogue on i386. This should be extended to other
architectures in future.

Submitted by: bde


124159 05-Jan-2004 kan

This commit was generated by cvs2svn to compensate for changes in r124158,
which included commits to RCS files with non-trunk default branches.


124157 05-Jan-2004 kan

This commit was generated by cvs2svn to compensate for changes in r124156,
which included commits to RCS files with non-trunk default branches.


124155 05-Jan-2004 kan

This commit was generated by cvs2svn to compensate for changes in r124154,
which included commits to RCS files with non-trunk default branches.


124152 05-Jan-2004 kan

This commit was generated by cvs2svn to compensate for changes in r124151,
which included commits to RCS files with non-trunk default branches.


124125 04-Jan-2004 charnier

Move cvs id from comment to code. Use errx(). Add a return (0) at the end
of main().


124123 04-Jan-2004 charnier

add section number to .Xr directive


124074 02-Jan-2004 guido

if_name and if_unit renaming to if_xname should be dealth with in
ipmon as well.


123895 27-Dec-2003 ceri

Correct compilation with "#define really_paranoid".

PR: bin/59674
Submitted by: Vaclav Rehak <vasek@zoom-int.cz>


123715 22-Dec-2003 kan

Fix ASM_OUTPUT_LABELREF to deal with TSL model prefixes GCC
started to use internally. They need to be stripped before
the name of the label or symbol is printed.


123561 16-Dec-2003 obrien

One might want to correctly generate 32-bit code on an Opteron.

Submitted by: peter


123546 15-Dec-2003 obrien

Consistently define __LP64__ on all our 64-bit platforms.


123395 10-Dec-2003 des

This commit was generated by cvs2svn to compensate for changes in r123394,
which included commits to RCS files with non-trunk default branches.


123279 08-Dec-2003 obrien

Diff to vendor reduction.


123110 02-Dec-2003 brooks

This commit was generated by cvs2svn to compensate for changes in r123109,
which included commits to RCS files with non-trunk default branches.


123039 28-Nov-2003 dougb

Apply the vendor change to this file, thus resolving the import conflict


123037 28-Nov-2003 dougb

This commit was generated by cvs2svn to compensate for changes in r123036,
which included commits to RCS files with non-trunk default branches.


122913 20-Nov-2003 des

This commit was generated by cvs2svn to compensate for changes in r122912,
which included commits to RCS files with non-trunk default branches.


122632 13-Nov-2003 kan

Use correct priority parameter value in add_prefix from corresponding
enum instead of passing literal 0. This fixes gcc invocations with
GCC_EXEC_PREFIX environment set.

Submitted By: Geoff Morrison
PR: gnu/53476


122619 13-Nov-2003 obrien

Document CVS_CLIENT_PORT.


122432 10-Nov-2003 deischen

Remove a comment stating that -pthread isn't supported.


122397 10-Nov-2003 harti

Add update instructions for bsnmp. Bsnmp is the base for the NgATM
ILMI daemon.


122395 10-Nov-2003 harti

This commit was generated by cvs2svn to compensate for changes in r122394,
which included commits to RCS files with non-trunk default branches.


122214 07-Nov-2003 harti

This commit was generated by cvs2svn to compensate for changes in r122213,
which included commits to RCS files with non-trunk default branches.


122200 07-Nov-2003 kan

Drop r1.6 (warn_system_heders by default). Use stock version of
the file from now on.


122199 07-Nov-2003 kan

Merge revs 1.2 (-fformat-extensions), 1.7 (FORCE_OPTIMIZATION_DOWNGRADE knob),
1.14 (-O/-O1 optimize alignment for time, not size).

Back out r1.22 which used to enable warnings in system headers by
default.


122197 07-Nov-2003 kan

Merge revs 1.{2,15} (FREEBSD_NATIVE); 1.21 ("GCC_OPTIONS"); 1.{16,25,27}
(cross compiling issues).


122196 07-Nov-2003 kan

Merge r1.3 (suppress warnings on K&R main).


122195 07-Nov-2003 kan

New GCC version.


122194 07-Nov-2003 kan

Merge r1.11 (-mno-align-long-strings).


122193 07-Nov-2003 kan

Merge r1.10 (-mno-align-long-strings) and r1.11 (make LONG_TYPE_SIZE
overridable from the command line).


122192 07-Nov-2003 kan

Merge r1.8 (printf format error fixes).


122191 07-Nov-2003 kan

Drop the revision 1.2 (don't let gcc(1) hide warnings in system headers)
and use stock version of this file now.


122190 07-Nov-2003 kan

No FreeBSD-local changes in these files.


122187 07-Nov-2003 kan

This commit was generated by cvs2svn to compensate for changes in r122186,
which included commits to RCS files with non-trunk default branches.


122185 07-Nov-2003 kan

This commit was generated by cvs2svn to compensate for changes in r122184,
which included commits to RCS files with non-trunk default branches.


122183 07-Nov-2003 kan

This commit was generated by cvs2svn to compensate for changes in r122182,
which included commits to RCS files with non-trunk default branches.


122181 07-Nov-2003 kan

This commit was generated by cvs2svn to compensate for changes in r122180,
which included commits to RCS files with non-trunk default branches.


122030 04-Nov-2003 green

Remove a reference to part of the pcap API not yet merged.


122029 04-Nov-2003 green

* Modify libpcap to work a bit better with our 802.11 code. This means
tcpdump -y ieee802_11 will work in the basic senses, including the
code compilation for filters (where you may specify "link[]" to refer
to parts of the 802.11 header, as well as treat it like a normal
Ethernet header). Previously, it was just too far off to do anything
useful for us.
* While I'm here, fix some compile problems that will result from lex
and yacc namespace polution when linking with -lpcap. The namespace
is now "pcapyy*" instead of "yy*", and it tests fine with world and
some external applications that may or may not use "yy*".


121967 03-Nov-2003 mikeh

This commit was generated by cvs2svn to compensate for changes in r121966,
which included commits to RCS files with non-trunk default branches.


121951 03-Nov-2003 harti

Terminate the execl() argument list with (char *)NULL instead of 0.
The later is wrong and may fail on sizeof(char *) != sizeof(int)
machines. The patch has already been sent to and accepted by the
diffutils author, but the file is already off the vendor branch, so
correct it here in the meanwhile too.


121948 03-Nov-2003 harti

This commit was generated by cvs2svn to compensate for changes in r121947,
which included commits to RCS files with non-trunk default branches.


121880 02-Nov-2003 ru

MFV: The -d option.


121879 02-Nov-2003 ru

Sort encodings.


121826 31-Oct-2003 gshapiro

Cast the NULL to a pointer type for 64 bit architectures

Submitted by: harti
MFC after: 4 days


121664 29-Oct-2003 harti

This commit was generated by cvs2svn to compensate for changes in r121663,
which included commits to RCS files with non-trunk default branches.


121472 24-Oct-2003 ume

Switch Advanced Sockets API for IPv6 from RFC2292 to RFC3542
(aka RFC2292bis). Though I believe this commit doesn't break
backward compatibility againt existing binaries, it breaks
backward compatibility of API.
Now, the applications which use Advanced Sockets API such as
telnet, ping6, mld6query and traceroute6 use RFC3542 API.

Obtained from: KAME


121425 23-Oct-2003 ume

EAI_ADDRFAMILY and EAI_NODATA was deprecated in RFC3493
(aka RFC2553bis). Now, getaddrinfo(3) returns EAI_NONAME
instead of EAI_NODATA. Our getaddrinfo(3) nor getnameinfo(3)
didn't use EAI_ADDRFAMILY.

Obtained from: KAME


121333 22-Oct-2003 harti

Some upgrade instructions.


121331 22-Oct-2003 harti

This commit was generated by cvs2svn to compensate for changes in r121330,
which included commits to RCS files with non-trunk default branches.


121232 19-Oct-2003 gshapiro

Adding WorkAroundBrokenAAAA seems a necessity even in the submit.mc given
the number of broken DNS servers out there in the world. Since we are
diverging from the sendmail.org submit.mc, it's time to make our own
freebsd.submit.mc.

PR: conf/57733
Reviewed by: nork
MFC after: 2 weeks


120312 21-Sep-2003 deischen

The ports freeze may take longer than anticipated. Instead of
waiting for it to be delayed, temporarily back out the -pthread
removal until the freeze is lifted.

Freeze possibly taking longer than necessary: will
Requested by: kris


120300 20-Sep-2003 ru

Sync with FSF branch.


120298 20-Sep-2003 ru

This commit was generated by cvs2svn to compensate for changes in r120297,
which included commits to RCS files with non-trunk default branches.


120260 19-Sep-2003 gshapiro

Update for 8.12.10 import


120259 19-Sep-2003 gshapiro

Fix sendmail 8.12.10 import conflicts


120257 19-Sep-2003 gshapiro

This commit was generated by cvs2svn to compensate for changes in r120256,
which included commits to RCS files with non-trunk default branches.


120170 17-Sep-2003 nectar

This commit was generated by cvs2svn to compensate for changes in r120169,
which included commits to RCS files with non-trunk default branches.


120092 15-Sep-2003 mbr

The previous fix (rev 1.25) is only needed in the second place.


120082 15-Sep-2003 mbr

Only kill the default route in the release mode if the interface
where the default route is bound to is the same device. Keep it
working for the single user or sysinstall mode, where we just do
what we did before.

Suggested by: dougb


120006 12-Sep-2003 obrien

Bump __FreeBSD_cc_version for (1) 5.1 (post-mortem) (2) -pthread changes.


119916 09-Sep-2003 mbr

Restore behaviour from rev. 1.9. Only log when there is a real change
to the configuration state.

Noticed by: obrien


119887 08-Sep-2003 ru

Unbreak Russian KOI8-R support.


119744 04-Sep-2003 joe

This commit was generated by cvs2svn to compensate for changes in r119743,
which included commits to RCS files with non-trunk default branches.


119720 03-Sep-2003 deischen

Remove the -pthread option (in FreeBSD versions 500016 and greater) as
threatened over 2 years ago.

Why? -pthread was a hack to prevent linking to both libc and libc_r
and became unecessary when libc_r became free of libc. Now that we
have multiple thread libraries from which to choose, it is more confusing
because you can't link to more than one threads library at a time.
Things like autoconf and libtool sometimes detect -pthread and
also -lc_r, and in conjunction with ports usage of ${PTHREAD_LIBS},
really wacky things ensue when PTHREAD_LIBS is set to another
threads library. This might not be so bad if the build broke
when this happens, but it doesn't and you don't know it until
funny things happen when you run the application (or use an
affected library).

Reviewed by: obrien


119702 03-Sep-2003 mbr

Add notice about deleting .cvsignore


119701 03-Sep-2003 mbr

Apparently these slipped through the import procedure.
Kill them again.


119695 02-Sep-2003 mbr

Sync with 6.0.9 import. Add my email.


119682 02-Sep-2003 mbr

Resolve conflicts.


119680 02-Sep-2003 mbr

This commit was generated by cvs2svn to compensate for changes in r119679,
which included commits to RCS files with non-trunk default branches.


119675 02-Sep-2003 mbr

Import ISC DHCP 3.0.1 RC12 client.

- s/include/includes
- remove already merged files


119674 02-Sep-2003 mbr

Resolve conflicts.


119673 02-Sep-2003 mbr

Resolve conflicts.

* rev. 1.22


119672 02-Sep-2003 mbr

Resolve conflicts:

* rev. 1.33/1.25


119670 02-Sep-2003 mbr

This commit was generated by cvs2svn to compensate for changes in r119669,
which included commits to RCS files with non-trunk default branches.


119666 02-Sep-2003 mbr

Sync with ISC repo. Use SIGTERM instead of SIGKILL, make oldpid a long and
cast it into a pid_t.


119642 01-Sep-2003 deischen

Backout rev 1.10.

Requested by: obrien


119621 31-Aug-2003 deischen

Remove -pthread as a compiler option. It was deprecated 2.5 years
ago, but not removed.

No reply from: threads, kan, obrien


119615 31-Aug-2003 ache

Merge local changes


119614 31-Aug-2003 ache

Merge local changes


119611 31-Aug-2003 ache

This commit was generated by cvs2svn to compensate for changes in r119610,
which included commits to RCS files with non-trunk default branches.


119586 30-Aug-2003 ache

Merge local fixes


119585 30-Aug-2003 ache

Remove file no longer in the dist


119583 30-Aug-2003 ache

This commit was generated by cvs2svn to compensate for changes in r119582,
which included commits to RCS files with non-trunk default branches.


119491 26-Aug-2003 eivind

Replace a reference to /kernel with /boot/kernel/kernel


119414 24-Aug-2003 obrien

Reformat FBSD_{START,END}FILE_SPEC to FSF coding standards.
Use these in our i386, amd64, and alpha platforms.


119363 23-Aug-2003 tjr

Remove the # ("stringify") operator from the printf() arguments in
the iprintf macro. It was causing the actual format string and
variable names to be written out, instead of substituting the values
of the variables into the format string.


119272 22-Aug-2003 kan

Enable warn_system_heders by default.


119271 22-Aug-2003 kan

Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.2 don't let gcc(1) hide warnings in system headers.

Don't disable warning suppression unconditionally, but rather
make in dependent on warn_system_headers flag, one should be
able to use -Wno-system-headers flag if warnings from system
headers are not desired.


119270 22-Aug-2003 kan

Merge FreeBSD modifications into gcc 3.3.1-release:
1.8 printf format error fixes.


119269 22-Aug-2003 kan

Merge FreeBSD modifications into gcc 3.3.1-release:
1.2 Localize the version string.


119268 22-Aug-2003 kan

Merge FreeBSD modifications into gcc 3.3.1-release:
1.3 suppress warnings on K&R main.


119267 22-Aug-2003 kan

Merge FreeBSD modifications into gcc 3.3.1-release:
1.2 -fformat-extensions.
1.7 FORCE_OPTIMIZATION_DOWNGRADE knob for Alpha.
1.14 -O0 -O1 optimize alignment for time, not size.


119265 22-Aug-2003 kan

Stock files.


119263 22-Aug-2003 kan

This commit was generated by cvs2svn to compensate for changes in r119262,
which included commits to RCS files with non-trunk default branches.


119261 22-Aug-2003 kan

This commit was generated by cvs2svn to compensate for changes in r119260,
which included commits to RCS files with non-trunk default branches.


119259 22-Aug-2003 kan

This commit was generated by cvs2svn to compensate for changes in r119258,
which included commits to RCS files with non-trunk default branches.


119257 22-Aug-2003 kan

This commit was generated by cvs2svn to compensate for changes in r119256,
which included commits to RCS files with non-trunk default branches.


119016 17-Aug-2003 gordon

Tell the toolchain to look for rtld in /libexec instead of /usr/libexec.


118865 13-Aug-2003 harti

Implement what has been documented for a long time: make -debug switch
on socket debugging.

Okay'ed by: markm


118743 10-Aug-2003 mbr

Change name of state_link() to state_polling() to make it
more clear what it does.

Trim interface_active() to just do what it should do. Check
if we got link or not and if the NIC supports it. No special
treatment for mediachecks here anymore.

Simplify the code a lot, and remove doublicated parts.

Fix two minor spelling errors.

Add one missing #ifdef ENABLE_POLLING_MODE

Reviewed by: mdodd


118704 09-Aug-2003 mbr

Fix devices which do not support ifm_status. Always return
TRUE for them.

Reported by: mdodd
Tested by: Craig Rodrigues <rodrigc@crodrigues.org>


118606 07-Aug-2003 mbr

Add all interface polling patches.


118605 07-Aug-2003 mbr

Do not poll during discover. Add a polling tunable to the interface
struct to be able to turn polling on/off.

Tested by: Larry Rosenman <ler@lerctr.org>


118587 07-Aug-2003 mbr

- Fix the polling code to work with media settings in dhclient.conf.

- Rename linkstatus to linkstate which is more correct.

- Sort any leases each time we loose and regain link. With the first
version we spammed the dhclient.leases file.

- When there was no link on a interface, polling has been done twice.
This has been fixed with a bigger sleep interval.

- interface_active() now returns only a assumed state of the link.
If we are using media settings, we cannot be sure that the link
actually works. That means we assume that the link is working and
continue to send requests as usual on the interface and loop over
all possible media options. Polling is still done. If your interface
gets suddenly link, dhclient will send a dhcp discover request.

After all media settings have been tried a few times, dhclient will
sleep. If one does change networks very often, it can help to set the
"retry timeout" to a low value like 100 seconds. The default is over
six minutes.

Tested by: Larry Rosenman <ler@lerctr.org>, imp


118551 06-Aug-2003 mbr

Change ieee802 to ieee80211.
Add bogospaces to match the ISC style.

Suggested by: eivind


118261 31-Jul-2003 simon

- Correct the path to the dot.nsmbrc sample file.
- Add FreeBSD CVS tag.

PR: docs/35649
Submitted by: roam
Approved by: ceri (mentor)


118197 30-Jul-2003 ru

Update for the 2003/07/29 import.


118195 30-Jul-2003 ru

This commit was generated by cvs2svn to compensate for changes in r118194,
which included commits to RCS files with non-trunk default branches.


118133 28-Jul-2003 mbr

Fix dhclient infinite loop on ro /etc/resolv.conf

Submitted by: C J Michaels <cjm2@earthling.net>
Reviewed by: David W. Hankins
PR: 38778
ISC-Bug: 5754


118122 28-Jul-2003 mbr

Don't wait forever if there is no link, go to background
after 2 x polling time.


118120 28-Jul-2003 mbr

Define $FreeBSD$ at the right place.


118110 28-Jul-2003 mbr

Enable dhclient to poll the interface state and send only
requests if the interface has an active link. This is a
great benefit if you often change networks with your laptop
and you do not like to kill/restart dhclient all the time.
Changes are automatically detected and the link is refreshed.

The change allows us to start dhclient in background mode
Enable dhclient to poll the interface state and send only
requests if the interface has an active link. This is a
great benefit if you often change networks with your laptop
and you do not like to kill/restart dhclient all the time.
Changes are automatically detected and the link is refreshed.

The change allows us to start dhclient in background mode
while the network cable is not plugged in.

To control the polling interval, the option -i has been
introduced. It takes seconds as parameter, the minimum is
one second, the default is five seconds.

Polling is done in seconds, not microseconds, because dhclient
does internally work with timeouts in seconds.

This change will be part of the next major ISC-dhcpd release.

Tested by: bms, imp, and many many others.
Reviewed by: murray, eivind, dhclient folks


118079 27-Jul-2003 tjr

Fix some off-by-one errors dealing with limits of server names,
usernames, workgroup names and passwords. We can now connect to
servers with 15-character NetBIOS names. (Some versions of Windows
use semi-random 15-char names by default.)

PR: 46902


118070 26-Jul-2003 mbr

Add notice about the local change in r1.25


118042 26-Jul-2003 peter

Fixes for 64 bit cleanliness. The length arg to sysctl is a pointer to
size_t not int.

Reviewed by: bp


118041 26-Jul-2003 peter

Use #include <string.h> rather than <strings.h> so that the strdup()
prototype gets brought into scope. This is a big deal for 64 bit
systems where the default return value of 'int' is != pointer.

Reviewed by: bp


117946 24-Jul-2003 peter

Fix an annoying bug in tar. When it converted 'tar zcf' to 'tar -z -c -f'
it forgot to null terminate the new argv[] array. If you mixed this
with $TAR_OPTIONS, phkmalloc and a whole bunch of other variables, you
could end up with a segfault. This isn't strictly a phkmalloc victory
since tar walks off the end of an array rather than use uninitialized
malloc memory, but phkmalloc makes it easier to provoke.


117840 21-Jul-2003 des

This commit was generated by cvs2svn to compensate for changes in r117839,
which included commits to RCS files with non-trunk default branches.


117804 20-Jul-2003 tjr

Pass getvfsbyname() the address of a struct xvfsconf instead of
struct vfsconf. This silences a warning, but could also prevent
stack corruption problems if xvfsconf ever became larger than vfsconf.

PR: 53863
Submitted by: Lukas Ertl


117709 17-Jul-2003 julian

Changes to allow top to decide whether or not to show multiple threads per
process. Option -H enables it and it is toggled at the interactive
screen by 'H'.

Submitted by: Jung-uk Kim <jkim@niksun.com>


117694 17-Jul-2003 obrien

This file became OBE when we went to GCC 3.


117616 15-Jul-2003 des

This commit was generated by cvs2svn to compensate for changes in r117615,
which included commits to RCS files with non-trunk default branches.


117611 15-Jul-2003 des

This commit was generated by cvs2svn to compensate for changes in r117610,
which included commits to RCS files with non-trunk default branches.


117501 13-Jul-2003 kris

FreeBSD does not use this code, but ftpd_popen() contains a buffer overflow.
We might as well patch it.

Submitted by: Przemyslaw Frasunek <venglin@freebsd.lublin.pl>
PR: bin/23352
MFC After: The average time before an unpatched Windows 2000 server gets owned


117479 12-Jul-2003 kan

Do not override FP rounding options for 32bit platforms. amd64 doesn't
need this.


117431 11-Jul-2003 kan

Merge FreeBSD changes into GCC 3.3.1-prerelease.
Move FreeBSD specific flag variables from c-decl.c here.


117422 11-Jul-2003 kan

Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.2 -fformat-extensions.
1.3 -printf0
1.6 teach GCC about %y for DDB.


117421 11-Jul-2003 kan

Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.3 suppress warnings on K&R main.

Rev. 1.2 (options for kernel printf enhancements) changes have been
moved to another


117420 11-Jul-2003 kan

Update for GCC 3.3.1-prerelease.


117419 11-Jul-2003 kan

Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.8 Change symbol values to match freebsd.h.


117418 11-Jul-2003 kan

Update for 3.3.1-prerelease.


117417 11-Jul-2003 kan

Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.4 Look into right directory when linking 32-bit binaries.


117416 11-Jul-2003 kan

Use stock version of this file now.


117415 11-Jul-2003 kan

Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.2 don't let gcc(1) hide warnings in system headers.


117414 11-Jul-2003 kan

Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.2 -fformat-extensions.
1.7 FORCE_OPTIMIZATION_DOWNGRADE knob for Alpha.
1.14 -O0 -O1 optimize alignment for time, not size.


117413 11-Jul-2003 kan

Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.{2,15} FREEBSD_NATIVE.
1.21 "GCC_OPTIONS".
1.{16,25,27} Cross-compiling issues.


117412 11-Jul-2003 kan

Merge FreeBSD changes into GCC 3.3.1-prerelease:
1.2 Tweaks to make this file live beside our hacked config.


117411 11-Jul-2003 kan

Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.2 Localize the version string.


117410 11-Jul-2003 kan

Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.8 printf format error fixes.


117409 11-Jul-2003 kan

Merge FreeBSD changes into GCC 3.3.1-prerelease:
1.2 Printf format errors fixes.


117408 11-Jul-2003 kan

Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.11 -mno-align-long-strings.


117407 11-Jul-2003 kan

Merge FreeBSD modifications into gcc 3.3.1-prerelease:
1.10 -mno-align-long-strings.
1.11 Allow the specification of LONG_TYPE_SIZE on the command line.


117406 11-Jul-2003 kan

Merge FreeBSD modifications into gcc 3.3.1-pre:
1.2 framework for our kernel printf enhancements.
1.3 suppress prototype warnings on K&R main.


117405 11-Jul-2003 kan

Merge rev. 1.2 (allow profiling of FORTRAN77 programs) info GCC 3.3.1-pre
sources.


117404 11-Jul-2003 kan

FreeBSD uses stock versions of these GCC files.


117402 11-Jul-2003 kan

This commit was generated by cvs2svn to compensate for changes in r117401,
which included commits to RCS files with non-trunk default branches.


117400 11-Jul-2003 kan

This commit was generated by cvs2svn to compensate for changes in r117399,
which included commits to RCS files with non-trunk default branches.


117398 11-Jul-2003 kan

This commit was generated by cvs2svn to compensate for changes in r117397,
which included commits to RCS files with non-trunk default branches.


117396 11-Jul-2003 kan

This commit was generated by cvs2svn to compensate for changes in r117395,
which included commits to RCS files with non-trunk default branches.


117394 11-Jul-2003 green

If we must yell at the user than a file cannot be linked into place when
requested (not required) to do it, reassure them that cpio is still
intelligent enough that it will perform a full copy instead.


117311 07-Jul-2003 obrien

Add "blame" as an "annotate" alias for interoperability with subversion.


117265 05-Jul-2003 ru

This commit was generated by cvs2svn to compensate for changes in r117264,
which included commits to RCS files with non-trunk default branches.


117203 03-Jul-2003 ru

MFV.


117202 03-Jul-2003 ru

This commit was generated by cvs2svn to compensate for changes in r117201,
which included commits to RCS files with non-trunk default branches.


117154 02-Jul-2003 ru

This commit was generated by cvs2svn to compensate for changes in r117153,
which included commits to RCS files with non-trunk default branches.


117060 30-Jun-2003 mikeh

This commit was generated by cvs2svn to compensate for changes in r117059,
which included commits to RCS files with non-trunk default branches.


117036 29-Jun-2003 gordon

Tweak a couple of utilities so they compile cleanly for /rescue. Mostly
path fixes.

Submitted by: Tim Kientzle <kientzle@acm.org>


116826 25-Jun-2003 obrien

Remove bit about _THREAD_SAFE. deischen committed a change to stdio.h
that totally removed _THREAD_SAFE.

PR: 36167
Submitted by: gerald


116731 23-Jun-2003 ache

Remove ru_SU, we don't need it in favour to ru_RU

Submitted by: ru


116730 23-Jun-2003 ache

Copy ru_SU spelling fixes to ru_RU

Submitted by: ru


116681 22-Jun-2003 ru

FreeBSD now has the locale(1) utility.


116652 21-Jun-2003 das

Userland spinlocks bad. Sleep locks good.
Use the latter for gdtoa.

Requested by: deischen (far too long ago)


116542 18-Jun-2003 ru

Follow the (good) trend of returning import files to vendor versions
where possible for easier future imports.


116535 18-Jun-2003 ru

Use stock (FSF) version of this file from now on.

The local hack to reset the terminal window size after info(1)
has been asleep and is awakening is superseded by the official
fix in Texinfo 4.4.

PR: gnu/51733
Submitted by: AIDA Shinra (author of the official fix)


116534 18-Jun-2003 ru

Update for version 4.6 import.


116532 18-Jun-2003 ru

Update for texinfo 4.6.


116531 18-Jun-2003 ru

Merge texinfo 4.6 changes onto the trunk.


116530 18-Jun-2003 ru

Use stock (FSF) version of this file.


116529 18-Jun-2003 ru

This commit was generated by cvs2svn to compensate for changes in r116528,
which included commits to RCS files with non-trunk default branches.


116526 18-Jun-2003 ru

This commit was generated by cvs2svn to compensate for changes in r116525,
which included commits to RCS files with non-trunk default branches.


116521 18-Jun-2003 des

This commit was generated by cvs2svn to compensate for changes in r116520,
which included commits to RCS files with non-trunk default branches.


116475 17-Jun-2003 dougb

Give an example of the more efficient conflict resolution command
suggested by the version of the commit message that's mailed out
as opposed to the more error prone version that will be suggested
when doing the actual import.


116467 17-Jun-2003 dougb

Resolve conflicts in 8.3.6, generally in favor of the vendor code


116465 17-Jun-2003 dougb

This commit was generated by cvs2svn to compensate for changes in r116464,
which included commits to RCS files with non-trunk default branches.


116428 16-Jun-2003 mikeh

This never should have been here.


116425 16-Jun-2003 mikeh

This commit was generated by cvs2svn to compensate for changes in r116424,
which included commits to RCS files with non-trunk default branches.


115985 07-Jun-2003 ru

This commit was generated by cvs2svn to compensate for changes in r115984,
which included commits to RCS files with non-trunk default branches.


115983 07-Jun-2003 ru

This commit was generated by cvs2svn to compensate for changes in r115982,
which included commits to RCS files with non-trunk default branches.


115699 02-Jun-2003 des

This commit was generated by cvs2svn to compensate for changes in r115698,
which included commits to RCS files with non-trunk default branches.


115620 01-Jun-2003 des

This commit was generated by cvs2svn to compensate for changes in r115619,
which included commits to RCS files with non-trunk default branches.


115380 29-May-2003 mbr

This commit was generated by cvs2svn to compensate for changes in r115379,
which included commits to RCS files with non-trunk default branches.


115361 28-May-2003 obrien

From FSF Binutils CVS repo:
2003-04-09 Richard Henderson <rth@redhat.com>
* elf64-alpha.c (elf64_alpha_relocate_section) <R_ALPHA_GPREL32>:
Ignore relocations against r_symndx == 0.

Requested by: kris,re(scottl)


115156 19-May-2003 ru

This commit was generated by cvs2svn to compensate for changes in r115155,
which included commits to RCS files with non-trunk default branches.


114911 11-May-2003 markm

Fix up external variables named "debug" that have a horrible habit
of conflicting with other, similarly named functions in static
libraries. This is done mostly by renaming the var if it is shared
amongst modules, or making it static otherwise.

OK'ed by: re(scottl)


114842 08-May-2003 obrien

I goofed in rev 1.59 (a.out support axing) and missed getting FUNCTION_PROFILER
fully clean. This resulted in inserted garbage into the produced assembly code
when the gcc -pg and -fPIC options are used together.

PR: i386/50598
Submitted by: Don Lewis <truckman@freebsd.org>


114763 05-May-2003 obrien

Centralize _PATH_* definitions.

Submitted by: Tim Kientzle <kientzle@acm.org> (embellished by me)


114630 04-May-2003 obrien

Use __FBSDID vs. rcsid[]. Also protect sccs[] and copyright[] from GCC 3.3.


114607 03-May-2003 ru

MFV:

- Do not emit multiple empty lines in the CRT mode.
- Fixed the Nd macro to use the right dash.


114592 03-May-2003 obrien

The author wanted stringification, not concatenation.


114537 02-May-2003 des

This commit was generated by cvs2svn to compensate for changes in r114536,
which included commits to RCS files with non-trunk default branches.


114481 02-May-2003 ru

Update for version 4.5 import.


114479 02-May-2003 ru

Update for texinfo 4.5.


114478 02-May-2003 ru

Merge texinfo 4.5 changes onto the trunk.


114477 02-May-2003 ru

Use stock (FSF) version of this file.


114476 02-May-2003 ru

This commit was generated by cvs2svn to compensate for changes in r114475,
which included commits to RCS files with non-trunk default branches.


114473 02-May-2003 ru

This commit was generated by cvs2svn to compensate for changes in r114472,
which included commits to RCS files with non-trunk default branches.


114466 01-May-2003 ru

Update upgrade instructions.


114439 01-May-2003 des

This commit was generated by cvs2svn to compensate for changes in r114438,
which included commits to RCS files with non-trunk default branches.


114437 01-May-2003 des

This commit was generated by cvs2svn to compensate for changes in r114436,
which included commits to RCS files with non-trunk default branches.


114411 01-May-2003 ru

Merge local changes (8 bit clean ctype support) onto mainline.


114410 01-May-2003 ru

Merge Groff 1.19 changes.


114409 01-May-2003 ru

Use stock (FSF) version of this file.


114408 01-May-2003 ru

Removed yacc(1) output files.


114406 01-May-2003 ru

This commit was generated by cvs2svn to compensate for changes in r114405,
which included commits to RCS files with non-trunk default branches.


114405 01-May-2003 ru

Removed files not present in v1.19 import.


114403 01-May-2003 ru

This commit was generated by cvs2svn to compensate for changes in r114402,
which included commits to RCS files with non-trunk default branches.


114083 26-Apr-2003 obrien

We're changing the platform name from x86[_-]86 to amd64.


114078 26-Apr-2003 obrien

Fix the LINK_SPEC. Our i386 32-bit emulation name changed.
We also need to look in the proper directory for 32-bit libs.


114077 26-Apr-2003 obrien

Remove the last vestiges (I hope) of the mixed ELF/a.out support.
As a plus we can use the stock CC1_SPEC and ASM_SPEC for AMD64.


113420 13-Apr-2003 kan

Teach gcc how to put unitialized data into BSS on FreeBSD.


113396 12-Apr-2003 tjr

Fix a typo in the -O parsing code that caused a crash when the -O option
is used without supplying "sowner:sgroup".

Obtained from: NetBSD (jdolecek)
PR: 37171


113279 09-Apr-2003 das

Add some missing prototypes to eliminate some warnings. These already
appear without leading underscores in gdtoa.h, but this approach avoids
removing that file from the vendor branch and unduly rearranging things.

Prodded by: nectar


113144 05-Apr-2003 das

Add missing prototype for gdtoa().


113139 05-Apr-2003 darrenr

update man page to reflect change in default syslog level ipmon is now compiled with


113109 05-Apr-2003 darrenr

Change the default syslog facility from LOG_LOCAL0 to LOG_SECURITY after
discussion on security@freebsd.org.


112814 29-Mar-2003 gshapiro

sendmail 8.12.9 has been imported


112813 29-Mar-2003 gshapiro

Fix conflicts from sendmail 8.12.9 import


112811 29-Mar-2003 gshapiro

This commit was generated by cvs2svn to compensate for changes in r112810,
which included commits to RCS files with non-trunk default branches.


112681 26-Mar-2003 kan

This commit was generated by cvs2svn to compensate for changes in r112680,
which included commits to RCS files with non-trunk default branches.


112621 25-Mar-2003 das

This commit was generated by cvs2svn to compensate for changes in r112620,
which included commits to RCS files with non-trunk default branches.


112520 23-Mar-2003 mbr

We don't have cat(1) and kill(1) on the miniroot disks.

This fix will be committed to the ISC repo later, but for now
take this file out of the vendor tree.

Reviewed by: phk
Approved by: murray


112431 20-Mar-2003 des

Add support for OpenBSD extensions to the $CVSROOT/config syntax.

Approved by: peter
Obtained from: OpenBSD


112418 19-Mar-2003 das

Enable locale support in strtod() and dtoa().

Noticed by: ache
Reviewed by: mike (mentor)


112416 19-Mar-2003 das

This commit was generated by cvs2svn to compensate for changes in r112415,
which included commits to RCS files with non-trunk default branches.


112383 18-Mar-2003 obrien

Add a -v(erbose) flag to undo our -q(uiet) default.


112337 17-Mar-2003 obrien

This commit was generated by cvs2svn to compensate for changes in r112336,
which included commits to RCS files with non-trunk default branches.


112161 12-Mar-2003 das

Local patches:
- include extra system headers and add appropriate #defines
- use a spinlock to synchronize parts of gdtoa
- protect exported symbols with leading underscores

Reviewed by: bde (briefly), mike (mentor), obrien


112159 12-Mar-2003 das

This commit was generated by cvs2svn to compensate for changes in r112158,
which included commits to RCS files with non-trunk default branches.


112012 08-Mar-2003 jdp

Fixes for the Russian translations of the messages.

PR: bin/48035, bin/48036
Submitted by: Sergey A.Osokin <osa@FreeBSD.org.ru>
Reviewed by: ache
MFC after: 4 weeks


111946 06-Mar-2003 nectar

Unbreak Kerberos 5 authentication in telnet.
(Credential forwarding is still broken.)

PR: bin/45397


111829 03-Mar-2003 gshapiro

sendmail 8.12.8 has been imported


111826 03-Mar-2003 gshapiro

Fix conflicts from sendmail 8.12.8 import


111824 03-Mar-2003 gshapiro

This commit was generated by cvs2svn to compensate for changes in r111823,
which included commits to RCS files with non-trunk default branches.


111757 02-Mar-2003 obrien

This commit was generated by cvs2svn to compensate for changes in r111756,
which included commits to RCS files with non-trunk default branches.


111729 02-Mar-2003 fenner

Merge tcpdump 3.7.2


111727 02-Mar-2003 fenner

This commit was generated by cvs2svn to compensate for changes in r111726,
which included commits to RCS files with non-trunk default branches.


111659 28-Feb-2003 obrien

This commit was generated by cvs2svn to compensate for changes in r111658,
which included commits to RCS files with non-trunk default branches.


111367 23-Feb-2003 gshapiro

Follow the (good) trend of returning import files to vendor versions
where possible for easier future imports.


111366 23-Feb-2003 gshapiro

This local FreeBSD mod isn't needed now that we have the freebsd* ostype
files.


110990 16-Feb-2003 des

This commit was generated by cvs2svn to compensate for changes in r110989,
which included commits to RCS files with non-trunk default branches.


110950 15-Feb-2003 obrien

This commit was generated by cvs2svn to compensate for changes in r110949,
which included commits to RCS files with non-trunk default branches.


110920 15-Feb-2003 darrenr

bring changes in IPFilter to 3.4.31 on to the head


110918 15-Feb-2003 darrenr

This commit was generated by cvs2svn to compensate for changes in r110917,
which included commits to RCS files with non-trunk default branches.


110865 14-Feb-2003 ru

Use the stock (FSF) version of this file.


110864 14-Feb-2003 ru

Moved the libugidfw library definition out from contributed source
to where it actually belongs.

Submitted by: phantom


110648 10-Feb-2003 gshapiro

This commit was generated by cvs2svn to compensate for changes in r110647,
which included commits to RCS files with non-trunk default branches.


110631 10-Feb-2003 kan

Merge FreeBSD modifications into gcc 3.2.2 release:
1.8 printf format error fixes.


110629 10-Feb-2003 kan

Merge FreeBSD modifications into gcc 3.2.2 release:
1.10 -mno-align-long-strings.
1.11 Allow the specification of LONG_TYPE_SIZE on the command line.


110628 10-Feb-2003 kan

Merge FreeBSD modifications into gcc 3.2.2 release:
1.11 -mno-align-long-strings.
Note the change 1.15 is not needed anymore.


110627 10-Feb-2003 kan

Update for Gcc 3.2.2 release.


110626 10-Feb-2003 kan

Merge FreeBSD modifications into gcc 3.2.2 release:
1.{2,15} FREEBSD_NATIVE.
1.21 "GCC_OPTIONS".
1.{16,25,27} Cross-compiling issues.


110624 10-Feb-2003 kan

Merge FreeBSD modifications into gcc 3.2.2 release:
1.2 -fformat-extensions.
1.3 -printf0
1.6 Teach GCC about %y for DDB and implement
support for the C99 %z format modifier.


110623 10-Feb-2003 kan

Merge FreeBSD modifications into gcc 3.2.2 release:
1.2 kernel printf enhancements framework.
1.3 suppress prototype warnings on K&R main.


110622 10-Feb-2003 kan

Merge FreeBSD modifications into gcc 3.2.2 release:
1.2 framework for our kernel printf enhancements.
1.3 suppress prototype warnings on K&R main.


110621 10-Feb-2003 kan

Update HEAD with stock GCC 3.2.2 release files.


110619 10-Feb-2003 kan

This commit was generated by cvs2svn to compensate for changes in r110618,
which included commits to RCS files with non-trunk default branches.


110617 10-Feb-2003 kan

This commit was generated by cvs2svn to compensate for changes in r110616,
which included commits to RCS files with non-trunk default branches.


110615 10-Feb-2003 kan

This commit was generated by cvs2svn to compensate for changes in r110614,
which included commits to RCS files with non-trunk default branches.


110612 10-Feb-2003 kan

This commit was generated by cvs2svn to compensate for changes in r110611,
which included commits to RCS files with non-trunk default branches.


110565 08-Feb-2003 gshapiro

Update for sendmail 8.12.7 import


110563 08-Feb-2003 gshapiro

Resolve conflicts from sendmail 8.12.7 import


110561 08-Feb-2003 gshapiro

This commit was generated by cvs2svn to compensate for changes in r110560,
which included commits to RCS files with non-trunk default branches.


110559 08-Feb-2003 des

This commit was generated by cvs2svn to compensate for changes in r110558,
which included commits to RCS files with non-trunk default branches.


110557 08-Feb-2003 des

This commit was generated by cvs2svn to compensate for changes in r110556,
which included commits to RCS files with non-trunk default branches.


110553 08-Feb-2003 gshapiro

Even if biff is turned off, we still need to set curoff as the code
uses that if there is an error writing to the mailbox. Note this bug
is only in the FreeBSD code, not the vendor code (which doesn't offer
nobiff).

PR: misc/43392
MFC after: 3 days


110504 07-Feb-2003 des

This commit was generated by cvs2svn to compensate for changes in r110503,
which included commits to RCS files with non-trunk default branches.


110245 02-Feb-2003 obrien

Merge our rev 1.2 PAM support into 'nbsd_20030122'.


110243 02-Feb-2003 obrien

This commit was generated by cvs2svn to compensate for changes in r110242,
which included commits to RCS files with non-trunk default branches.


110201 01-Feb-2003 imp

-kthread has been dead these many years. This PR has languished for a
long time. Go ahead and commit the patch since a co-worker has been
working up a code patch in this area and wondered why it hasn't been
committed yet.

PR: 35800


110049 29-Jan-2003 nectar

Background:
When libdes was replaced with OpenSSL's libcrypto, there were a few
interfaces that the former implemented but the latter did not. Because
some software in the base system still depended upon these interfaces,
we simply included them in our libcrypto (rnd_keys.c).

Now, finally get around to removing the dependencies on these
interfaces. There were basically two cases:

des_new_random_key -- This is just a wrapper for des_random_key, and
these calls were replaced.

des_init_random_number_generator et. al. -- A few functions were used
by the application to seed libdes's PRNG. These are not necessary
when using libcrypto, as OpenSSL internally seeds the PRNG from
/dev/random. These calls were simply removed.

Again, some of the Kerberos 4 files have been taken off the vendor
branch. I do not expect there to be future imports of KTH Kerberos 4.


110024 29-Jan-2003 obrien

main() changed its argv declaration, so follow suit in some FBSD added code.


109984 28-Jan-2003 dougb

This commit was generated by cvs2svn to compensate for changes in r109983,
which included commits to RCS files with non-trunk default branches.


109842 26-Jan-2003 fenner

Merge Multi-DLT support.


109841 26-Jan-2003 fenner

Merge multi-DLT support.


109840 26-Jan-2003 fenner

This commit was generated by cvs2svn to compensate for changes in r109839,
which included commits to RCS files with non-trunk default branches.


109757 23-Jan-2003 des

This commit was generated by cvs2svn to compensate for changes in r109756,
which included commits to RCS files with non-trunk default branches.


109687 22-Jan-2003 des

This commit was generated by cvs2svn to compensate for changes in r109686,
which included commits to RCS files with non-trunk default branches.


109680 22-Jan-2003 des

When computing a new seed for an existing user, opienewseed() would
incorrectly compute the length of the numeric portion of the previous
seed, causing the new seed to be one character shorter than the old
one.

This patch has been submitted to the vendor; I'm committing it right
away since the file is already off the vendor branch.

MFC after: 3 days


109664 21-Jan-2003 peter

Turn off Checkin-prog and Update-prog.


109662 21-Jan-2003 peter

This commit was generated by cvs2svn to compensate for changes in r109661,
which included commits to RCS files with non-trunk default branches.


109660 21-Jan-2003 peter

Merge cvs-1.11.2.1-20021201 -> 1.11.5 changes onto mainline


109659 21-Jan-2003 peter

This commit was generated by cvs2svn to compensate for changes in r109658,
which included commits to RCS files with non-trunk default branches.


109656 21-Jan-2003 peter

This commit was generated by cvs2svn to compensate for changes in r109655,
which included commits to RCS files with non-trunk default branches.


109466 18-Jan-2003 billf

add more RFC defined telnet options

Reviewed by: ps


109390 16-Jan-2003 murray

We now include the dhcpctl subdirectory.


109371 16-Jan-2003 obrien

Update for the isc_dhcp_3_0_1_rc11 import.


109370 16-Jan-2003 obrien

Use the stock version of this file -- all our needs have been taken care of.


109369 16-Jan-2003 obrien

Make the "SEE ALSO" suitable for FreeBSD.


109368 16-Jan-2003 obrien

Make isc_dhcp_3_0_1_rc11's "SEE ALSO" suitable for FreeBSD.


109366 16-Jan-2003 murray

This commit was generated by cvs2svn to compensate for changes in r109365,
which included commits to RCS files with non-trunk default branches.


109364 16-Jan-2003 obrien

Merge rev 1.6 (-D) and rev 1.8 (SEE ALSO suitable for FreeBSD) into
isc_dhcp_3_0_1_rc11.


109362 16-Jan-2003 obrien

Make isc_dhcp_3_0_1_rc11's "SEE ALSO" suitable for FreeBSD.


109361 16-Jan-2003 obrien

Merge rev 1.2 (correct script path) and 1.6 (prefer strlcpy to strcpy)
into isc_dhcp_3_0_1_rc11.


109360 16-Jan-2003 obrien

Merge our spelling changes into isc_dhcp_3_0_1_rc11.


109358 16-Jan-2003 obrien

This commit was generated by cvs2svn to compensate for changes in r109357,
which included commits to RCS files with non-trunk default branches.


109302 15-Jan-2003 murray

Resolve conflicts.


109301 15-Jan-2003 murray

Resolve conflicts.

(import approved by: re)


109299 15-Jan-2003 murray

This commit was generated by cvs2svn to compensate for changes in r109298,
which included commits to RCS files with non-trunk default branches.


109153 13-Jan-2003 dillon

Bow to the whining masses and change a union back into void *. Retain
removal of unnecessary casts and throw in some minor cleanups to see if
anyone complains, just for the hell of it.


109123 12-Jan-2003 dillon

Change struct file f_data to un_data, a union of the correct struct
pointer types, and remove a huge number of casts from code using it.

Change struct xfile xf_data to xun_data (ABI is still compatible).

If we need to add a #define for f_data and xf_data we can, but I don't
think it will be necessary. There are no operational changes in this
commit.


108969 08-Jan-2003 peter

This commit was generated by cvs2svn to compensate for changes in r108968,
which included commits to RCS files with non-trunk default branches.


108950 08-Jan-2003 peter

Add #include <stdlib.h> so that "s->strings = realloc(...)" doesn't segfault
on ia64. (This file isn't vendor branched)


108930 08-Jan-2003 peter

Add a declaration that malloc() returns a pointer, not an int. Otherwise
this segfaults on ia64. (Cannot cast an int to a pointer).
The rest of the code does it this way rather than use system includes....


108928 08-Jan-2003 peter

Add #include "diff.h" in order to get the prototype for xmalloc().
The corresponding warning has been ignored for ages:
prepend_args.c:75: warning: initialization makes pointer from integer
without a cast
This is fatal on ia64. You cannot convert an implicit int return from
an undeclared function to a pointer as you've lost the upper 32 bits.
On ia64, the warning is "pointer from different sized integer".

(This file is not vendor branched)


108886 07-Jan-2003 obrien

Add support for OPIE and PAM.

Submitted by: mikeh (reworked by me)


108874 07-Jan-2003 chris

Add an entry for libugidfw.

Sponsored by: DARPA, Network Associates Laboratories


108795 06-Jan-2003 des

This commit was generated by cvs2svn to compensate for changes in r108794,
which included commits to RCS files with non-trunk default branches.


108761 06-Jan-2003 obrien

This commit was generated by cvs2svn to compensate for changes in r108760,
which included commits to RCS files with non-trunk default branches.


108748 06-Jan-2003 obrien

Merge our .Nm changes into the nbsd_20030105 import.


108747 06-Jan-2003 obrien

This commit was generated by cvs2svn to compensate for changes in r108746,
which included commits to RCS files with non-trunk default branches.


108578 03-Jan-2003 des

This commit was generated by cvs2svn to compensate for changes in r108577,
which included commits to RCS files with non-trunk default branches.


108173 22-Dec-2002 kan

Fix a bug in GCC which effectively prevents DEFAULT_PCC_STRUCT_RETURN from
having any effect. This restores a calling convention traditionally used
by FreeBSD/i386 and which is expected by a number of assembly sources
in libc.

Reviewed by: obrien
Approved by: re (rwatson)


108075 19-Dec-2002 obrien

Update for the 20021213 version.


108073 19-Dec-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r108072,
which included commits to RCS files with non-trunk default branches.


107938 16-Dec-2002 des

This commit was generated by cvs2svn to compensate for changes in r107937,
which included commits to RCS files with non-trunk default branches.


107885 14-Dec-2002 keramida

NetBSD manpages use .Nm "" to typeset the `name' of the manpage, but
this doesn't work quite right with our groff. They have an older
groff version in the base system, but no real plans to update both
groff and manpages. Fix the .Nm usage locally in our manpages.

PR: docs/41972
Submitted by: Yoshiteru Kageyama <yt-kage@cb3.so-net.ne.jp>
Discussed with: ru and obrien


107837 13-Dec-2002 fenner

Fix misspelling.

PR: docs/44930
Submitted by: Michael McGoldrick <mmcgoldrick@linuxdriven.net>


107809 13-Dec-2002 obrien

Update for the just-done-import.


107807 13-Dec-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r107806,
which included commits to RCS files with non-trunk default branches.


107788 12-Dec-2002 ru

Uniformly refer to a file system as "file system".

Approved by: re


107647 05-Dec-2002 obrien

_NIH, __NIH__, __N_I_H__, __nih__, _niH_.

*sigh* GCC developers can't seem to make up their mind which pre-defined arch
symbols are the official ones. So make them, and the Sparc64 using Martians
happy with every permutation.

This fixes f77 and possibly changes some 'long long' handling.

Approved by: re(bmah)


107620 04-Dec-2002 obrien

I really hate the GCC directory structure of gcc/gcc/gcc/<compiler files>


107610 04-Dec-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r107609,
which included commits to RCS files with non-trunk default branches.


107607 04-Dec-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r107606,
which included commits to RCS files with non-trunk default branches.


107605 04-Dec-2002 obrien

Update HEAD with FSF branch 3.2.1 release files.


107604 04-Dec-2002 obrien

Use pure stock files.


107601 04-Dec-2002 obrien

Merge rev 1.8 (printf format error fixes) into Gcc 3.2.1 release.


107600 04-Dec-2002 obrien

Gperf is usable again. We don't need this.


107599 04-Dec-2002 obrien

Fix typo to sync with FSF sources.


107598 04-Dec-2002 obrien

Merge revs 1.10 (-mno-align-long-strings) and 1.11 (LONG_TYPE_SIZE override)
into Gcc 3.2.1 release.


107597 04-Dec-2002 obrien

Merge rev 1.11 (-mno-align-long-strings) into Gcc 3.2.1 release.


107596 04-Dec-2002 obrien

Update for Gcc 3.2.1 release.


107595 04-Dec-2002 obrien

Merge revs 1.2 (-fformat-extensions), 1.7 (FORCE_OPTIMIZATION_DOWNGRADE knob),
1.14 (-O/-O1 optimize alignment for time, not size) into Gcc 3.2.1 release.


107594 04-Dec-2002 obrien

Merge revs 1.{2,15} (FREEBSD_NATIVE); 1.21 ("GCC_OPTIONS"); 1.{16,25,27}
(cross compiling issues) into GCC 3.2.1 release.

Note revs 1.{5,13} (ELF and objformat support) are OBE with the a.out dike-out.


107593 04-Dec-2002 obrien

Merge revs 1.2 (kernel printf framework) and 1.3 (suppress K&R main warnings)
into Gcc 3.2.1 release.


107591 04-Dec-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r107590,
which included commits to RCS files with non-trunk default branches.


107589 04-Dec-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r107588,
which included commits to RCS files with non-trunk default branches.


107580 04-Dec-2002 des

This commit was generated by cvs2svn to compensate for changes in r107579,
which included commits to RCS files with non-trunk default branches.


107540 03-Dec-2002 obrien

Add spaces around FBSD_ENDFILE_SPEC as it is used in string concatenation.

Approved by: re(bmah)


107500 02-Dec-2002 obrien

Update HEAD with the stock files.


107499 02-Dec-2002 obrien

Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints)
into the Binutils 2.13.2 20021128 snap.


107497 02-Dec-2002 obrien

Remove our custom ELF branding -- we have moved to our own ELF vectors
that DTRT.


107496 02-Dec-2002 obrien

Merge our ELF branding into Binutils 2_13_2_20021127 snapshot.


107495 02-Dec-2002 obrien

GC some stuff I thought was long gone.


107493 02-Dec-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r107492,
which included commits to RCS files with non-trunk default branches.


107491 02-Dec-2002 obrien

Try to keep CVS from pissing over the next binutils import by returning
to purely stock files.


107487 02-Dec-2002 peter

Merge 1.11.2 -> 1.11.2.1-20021201 changes onto mainline

Approved by: re


107485 02-Dec-2002 peter

This commit was generated by cvs2svn to compensate for changes in r107484,
which included commits to RCS files with non-trunk default branches.


107331 27-Nov-2002 obrien

Remove files no longer part of the gcc_3_2_anoncvs_20021009 libstdc++.

Approved by: re(jhb)


107299 27-Nov-2002 eric

Merge argument parsing changes into this copy of telnet.

Submitted by: markm
Approved by: bmah


107295 27-Nov-2002 obrien

Update the version number.

Approved by: bmah, jhb, murray (independently)


107286 26-Nov-2002 obrien

Remove our custom mixed ELF/a.out support. This means the base compiler
now only produce ELF objects. It also makes us closer to stock GCC, and
simplifies the set of changes we still need from stock GCC on every import.

Applauded by: peter
Approved by: re


107251 25-Nov-2002 gad

Add back the "\ No newline at end of file" marker that is printed when
comparing two files, where only one file is missing the final newline
character. This undoes revisions 1.3 and 1.4, returning 'diff' to how
it behaved before July 2000. We can do this now because our version of
'patch' was modified (just before 4.6-release) to understand what to do
with that line. This marker is the same one generated by 'diff' under
netbsd, openbsd, darwin, and linux (and any OS with "gnu-diff" installed).

Reviewed by: imp freebsd-standards (back in april)
Approved by: re (bmah)
MFC after: 1 week


106908 14-Nov-2002 dougb

This commit was generated by cvs2svn to compensate for changes in r106907,
which included commits to RCS files with non-trunk default branches.


106793 12-Nov-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r106792,
which included commits to RCS files with non-trunk default branches.


106442 05-Nov-2002 obrien

Sync with the stock FSF 3.2 file. This adds TRANSFER_FROM_TRAMPOLINE,
which is needed in order for nexted C functions to work.


106427 04-Nov-2002 roberto

Merge conflicts.

MFC after: 1 month


106425 04-Nov-2002 roberto

This commit was generated by cvs2svn to compensate for changes in r106424,
which included commits to RCS files with non-trunk default branches.


106170 29-Oct-2002 roberto

Update for 4.1.1a.

Tested on: Sparc64 (panther), Alpha (beast) & i386


106168 29-Oct-2002 roberto

This commit was generated by cvs2svn to compensate for changes in r106167,
which included commits to RCS files with non-trunk default branches.


106166 29-Oct-2002 roberto

Merge conflicts.

MFC after: 1 month


106164 29-Oct-2002 roberto

This commit was generated by cvs2svn to compensate for changes in r106163,
which included commits to RCS files with non-trunk default branches.


105954 25-Oct-2002 mux

- Rename the DDB specific %z printf format to %y.
- Make DDB use %y instead of %z.
- Teach GCC about %y.
- Implement support for the C99 %z format modifier.

Approved by: re@
Reviewed by: peter
Tested on: i386, sparc64


105859 24-Oct-2002 ru

A version of SGR disabling stuff that is believed to be safe.

Submitted by: Werner LEMBERG <wl@gnu.org>


105813 23-Oct-2002 ru

A crude temporary hack to fix building of ms(7) formatted documents
while I am working on a real fix.


105771 23-Oct-2002 des

This commit was generated by cvs2svn to compensate for changes in r105770,
which included commits to RCS files with non-trunk default branches.


105626 21-Oct-2002 ru

A better version of disabling SGR support in grotty(1).


105612 21-Oct-2002 phk

Track changed definition of the debug registers.

Sorry for missing this the first time.


105437 19-Oct-2002 sobomax

Fix security bug in contains_dot_dot routine.

PR: 43575
Submitted by: Brett Glass <brett@lariat.org>

X-MFC after: immediately


105387 18-Oct-2002 ru

Disable SGR support in grotty(1) pending the resolution on -arch.


105152 15-Oct-2002 ru

This commit was generated by cvs2svn to compensate for changes in r105151,
which included commits to RCS files with non-trunk default branches.


105083 14-Oct-2002 ru

Merge FSF changes onto mainline (-r option).


105082 14-Oct-2002 ru

This commit was generated by cvs2svn to compensate for changes in r105081,
which included commits to RCS files with non-trunk default branches.


105016 13-Oct-2002 gshapiro

MFS: Fix smrsh bypass bug.


105004 12-Oct-2002 mp

Document import of gdb-5.2.1.


104993 12-Oct-2002 mp

Resolve conflicts with gdb-5.2.1 import.


104991 12-Oct-2002 mp

This commit was generated by cvs2svn to compensate for changes in r104990,
which included commits to RCS files with non-trunk default branches.


104978 12-Oct-2002 ache

This commit was generated by cvs2svn to compensate for changes in r104977,
which included commits to RCS files with non-trunk default branches.


104953 12-Oct-2002 obrien

ELF low-level toolchain bits now live in /usr/bin, not /usr/libexec/elf.


104913 11-Oct-2002 ru

This commit was generated by cvs2svn to compensate for changes in r104912,
which included commits to RCS files with non-trunk default branches.


104898 11-Oct-2002 ru

Update for Groff 1.18.1.


104897 11-Oct-2002 ru

New Russian hyphenation patterns from the teTeX distribution.
Use the new .hpfa request to append them to English patterns.


104872 11-Oct-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r104871,
which included commits to RCS files with non-trunk default branches.


104870 11-Oct-2002 ru

illegal.cc was renamed to invalid.cc. Bring in the fix
that makes almost all characters above 128 "valid".


104868 11-Oct-2002 ru

Merge Groff 1.18.1 changes.


104867 11-Oct-2002 ru

Use stock (FSF) version of this file.


104866 11-Oct-2002 ru

This commit was generated by cvs2svn to compensate for changes in r104865,
which included commits to RCS files with non-trunk default branches.


104865 11-Oct-2002 ru

Removed files not present in v1.18.1 import.


104863 11-Oct-2002 ru

This commit was generated by cvs2svn to compensate for changes in r104862,
which included commits to RCS files with non-trunk default branches.


104859 11-Oct-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r104858,
which included commits to RCS files with non-trunk default branches.


104849 11-Oct-2002 obrien

Use the stock version of this.


104848 11-Oct-2002 obrien

Bring the binutils_2_13_20021110 snap version of this to the HEAD branch.


104847 11-Oct-2002 obrien

Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints)
into Binutils 2.13.1 snap.


104846 11-Oct-2002 obrien

Bring the binutils_2_13_20021110_snap version of this to the HEAD branch.


104845 11-Oct-2002 obrien

Bring the 2.13 snap version of this to the HEAD branch.


104844 11-Oct-2002 obrien

Use the stock 2.13.1 snapshot version of this.


104843 11-Oct-2002 obrien

Merge rev 1.2 (FreeBSD a.out configuration support) into the
Binutils 2.13_20021110 snap.


104842 11-Oct-2002 obrien

We use the stock version of this file.


104841 11-Oct-2002 obrien

Merge rev 1.6 (ELF_DYNAMIC_INTERPRETER) into Binutils 2.13_20021110.


104840 11-Oct-2002 obrien

Merge rev 1.8 ("ELF_DYNAMIC_INTERPRETER") into Binutils 2.13_20021110 snap.


104839 11-Oct-2002 obrien

On second thought, garbage collect the OLD_BRANDELF_METHOD. FreeBSD 5.0
is a good point to break from this historical ABI-breaking method.


104838 11-Oct-2002 obrien

Merge our ELF branding into Binutils 2_13_20021011 snapshot.
(note that this will be the last Binutils update to offer our original
method of ELF branding (WANT_OLD_BRANDELF_METHOD))


104837 11-Oct-2002 obrien

Use the vendor's 2.13.1_snap vendor version of this file as in rev 1.5.


104836 11-Oct-2002 obrien

We use the stock version of this file as in rev 1.4.


104835 11-Oct-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r104834,
which included commits to RCS files with non-trunk default branches.


104769 10-Oct-2002 kan

Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.8 printf format error fixes

Approved by: obrien


104768 10-Oct-2002 kan

Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.10 -mno-align-long-strings
1.11 Allow the specification of LONG_TYPE_SIZE on the command line.

Approved by: obrien


104767 10-Oct-2002 kan

Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.11 -mno-align-long-strings

Approved by: obrien


104766 10-Oct-2002 kan

Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.2 Localize the version number

Approved by: obrien


104765 10-Oct-2002 kan

Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.2 -fformat-extensions
1.7 FORCE_OPTIMIZATION_DOWNGRADE knob for Alpha
1.14 -O0 -O1 should optimize alignment for time, not size

Approved by: obrien


104764 10-Oct-2002 kan

Use the stock 3.2.1-prerelease file.

Approved by: obrien


104763 10-Oct-2002 kan

Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.\\{2,15\\} FREEBSD_NATIVE
1.\\{5,13\\} ELF, and objformat support
1.\\{16,23,25\\} Better cross building control
1.21 'GCC_OPTIONS'
1.27 cross-arch MD_EXEC_PREFIX fixes
cc -print-search-dir fixes
1.28 Read specs from /usr/libdata/gcc/specs, if available

Approved by: obrien


104762 10-Oct-2002 kan

Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.2 kernel printf enchancements framework

Approved by: obrien


104761 10-Oct-2002 kan

Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.2 kernel printf enchancements framework
1.3 suppress warnings on K&R main

Approved by: obrien


104759 10-Oct-2002 kan

This commit was generated by cvs2svn to compensate for changes in r104758,
which included commits to RCS files with non-trunk default branches.


104757 10-Oct-2002 kan

This commit was generated by cvs2svn to compensate for changes in r104756,
which included commits to RCS files with non-trunk default branches.


104755 10-Oct-2002 kan

This commit was generated by cvs2svn to compensate for changes in r104754,
which included commits to RCS files with non-trunk default branches.


104753 10-Oct-2002 kan

This commit was generated by cvs2svn to compensate for changes in r104752,
which included commits to RCS files with non-trunk default branches.


104706 09-Oct-2002 ru

MFV:

- Suppress additional whitespace after the subsection header (.Ss).
(This affects a tiny number of our manpages.)

- Allow for a layout customization of the OS name in the document
title (.Dt). (Needed for Russian and French manpages.)


104703 09-Oct-2002 sobomax

Don't kill itself in --fast-read mode if there is no decompressor started.

Reported by: Gordon Tetlow <gordont@gnf.org>
Submitted by: tjr
MFC after: 1 week
(along with other --fast-read changes)


104361 02-Oct-2002 sobomax

Further improve --fast-read mode - when reading archive from stdin ensure that
SIGTERM we are sending to decompressor when there is nothing left to do is
actually delivered to decompressor, not to the another copy of tar, which
does unblocking.

MFC after: 2 weeks


104350 02-Oct-2002 phk

This commit was generated by cvs2svn to compensate for changes in r104349,
which included commits to RCS files with non-trunk default branches.


104331 02-Oct-2002 dd

Permit the argument to the -s option to be a hostname. I see no
reason to restrict this to a numeric address.

PR: 41841
Submitted by: Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>,
Maxim Maximov <mcsi@agava.com>


104190 30-Sep-2002 murray

Resolve conflicts (fix spelling errors).


104188 30-Sep-2002 murray

Resolve conflicts.


104186 30-Sep-2002 murray

This commit was generated by cvs2svn to compensate for changes in r104185,
which included commits to RCS files with non-trunk default branches.


104177 30-Sep-2002 ru

FreeBSD 4.6, 4.6.2, 4.7 and 4.8 are now officially supported in -mdoc.


103956 25-Sep-2002 markm

Catch up with "base" telnet.
s/FALL THROUGH/FALLTHROUGH/ for lint(1).


103955 25-Sep-2002 markm

Catch up with "base" telnet.

s/FALL THROUGH/FALLTHROUGH/ for lint(1).
s/Usage/usage/ for consistency.


103954 25-Sep-2002 markm

From the requestor:

"Could you do me a favor and fix sys_bsd.c to get the howmany() macro
from <sys/param.h>, instead of <sys/types.h>? This will save me from
having to worry about the unsync'd bits before making the change."

Requested by: mike


103813 23-Sep-2002 mike

Use the system pselect(3).


103792 22-Sep-2002 obrien

Turn off the "-O2 flag TRIGGERS KNOWN OPTIMIZER BUGS" warning.

From current testsuite results, the optimizer bugs don't appear to exist
anymore. RTH@cygnus.com did a lot of work on the Alpha ELF code generator
for GCC 3.2[.0]. A recent FreeBSD/AXP GCC bootstrap is at
http://gcc.gnu.org/ml/gcc-testresults/2002-09/msg00604.html
In this bootstraps, all gcc libraries are built with -O2 and c-torture
gives -O2 a real workout. None of the remaining failures have anything
to do with -O2 optimizer bugs.

Submitted by: Loren James Rittle <rittle@latour.rsch.comm.mot.com>


103455 17-Sep-2002 kan

Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.8 printf format error fixes

Approved by: obrien


103454 17-Sep-2002 kan

Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.2 Localize the version number

Approved by: obrien


103453 17-Sep-2002 kan

Use the stock 3.2.1-prerelease file.

Approved by: obrien


103452 17-Sep-2002 kan

Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.2 framework for our kernel printf enhancements
1.3 suppress prototype warning for K&R main

Approved by: obrien


103450 17-Sep-2002 kan

This commit was generated by cvs2svn to compensate for changes in r103449,
which included commits to RCS files with non-trunk default branches.


103448 17-Sep-2002 kan

This commit was generated by cvs2svn to compensate for changes in r103447,
which included commits to RCS files with non-trunk default branches.


103446 17-Sep-2002 kan

This commit was generated by cvs2svn to compensate for changes in r103445,
which included commits to RCS files with non-trunk default branches.


103376 16-Sep-2002 obrien

Make current.


103374 16-Sep-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r103373,
which included commits to RCS files with non-trunk default branches.


103261 12-Sep-2002 obrien

Emacs decides between v8 and v9 based on "__arch64__". So define it.

Desired by: tmm


103259 12-Sep-2002 obrien

Remove some debugging cruft I accidently committed with rev 1.4.


103258 12-Sep-2002 obrien

Try to detect support for the `long long' type so that ANSI-C[89] clean
code will know not to try to use `long long'.
Unfortunately the GCC spec parser will not allow us to properly detect the
"iso9899:1990" and "iso9899:199409" forms of the acceptable -std= arguments,
because of the ':' in the -std argument. :-( I have left them in the spec
as a place holder in hopes someone knows a way to make the detection of
them work.

Desired by: wollman


103117 09-Sep-2002 obrien

Bump __FreeBSD_cc_version for gcc 3.1-prerelease -> 3.2.1-snap upgrade.


103115 09-Sep-2002 sobomax

In the --fast-read mode send SIGTERM to decompressor once we have extracted
all files we have been asked for. This vastly improves performance of
pkg_add(1), because usually it only extract +CONTENTS file in --fast-read
mode, checks it and only then extracts full content of tarball in normal
mode. Without this patch, it have had to decompress the tarball twice,
effectively doubling consumed CPU time.

MFC after: 1 week


102852 02-Sep-2002 peter

Fix a cvs server bug introduced in 1.11.2, in the words of the author:
---
Fix communication hanging in communication shutdown phase, caused by at
least older CVS clients (version < 1.11.2) and a semantically incorrect
usage of getc() by the server.
---

getc() was being used on a blocking socket/pipe.

Submitted by: rse


102849 02-Sep-2002 peter

Repo copy these files to the bmake area, these are not part of the
cvs vendor release and should not have been 'cvs add'ed there in
the first place.


102848 02-Sep-2002 peter

Remove these files from the vendor branch, they are no longer in 1.11.2


102844 02-Sep-2002 peter

Minor updates after 1.11.2 import


102843 02-Sep-2002 peter

Initial merge of 1.11.1p1 -> 1.11.2 changes onto mainline


102841 02-Sep-2002 peter

This commit was generated by cvs2svn to compensate for changes in r102840,
which included commits to RCS files with non-trunk default branches.


102805 01-Sep-2002 kan

Revert rev. 1.2. GCC 3.2 seems to have builtin_memset fixed.

Approved by: obrien


102804 01-Sep-2002 kan

Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.8 printf format error fixes

Approved by: obrien


102802 01-Sep-2002 kan

Use the stock 3.2.1-prerelease file.

Approved by: obrien


102801 01-Sep-2002 kan

Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.10 -mno-align-long-strings
1.11 Allow the specification of LONG_TYPE_SIZE on the command line.

Approved by: obrien


102800 01-Sep-2002 kan

Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.11 -mno-align-long-strings

Approved by: obrien


102799 01-Sep-2002 kan

Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.8 Change symbol values to match freebsd.h

Approved by: obrien


102798 01-Sep-2002 kan

Use the stock 3.2.1-prerelease file.

Approved by: obrien


102797 01-Sep-2002 kan

Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.2 Localize the version number

Approved by: obrien


102796 01-Sep-2002 kan

Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.2 -fformat-extensions
1.7 optimization downgrade
1.14 -O0 -O1 should optimize alignment for time, not size

Approved by: obrien


102795 01-Sep-2002 kan

Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.\{2,15\} FREEBSD_NATIVE
1.\{5,13\} ELF, and objformat support
1.\{16,23,25\} Better cross building control
1.21 'GCC_OPTIONS'
1.27 cross-arch MD_EXEC_PREFIX fixes
cc -print-search-dir fixes
1.28 Read specs from /usr/libdata/gcc/specs,
if available

Approved by: obrien


102794 01-Sep-2002 kan

Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.2 a.out support

Approved by: obrien


102793 01-Sep-2002 kan

Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.2 do not create paradoxical FLOAT_MODE subregs

I am not sure if this is still required.

Approved by: obrien


102792 01-Sep-2002 kan

Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.2 kernel printf enchancements framework

Approved by: obrien


102791 01-Sep-2002 kan

Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.2 don't let gcc(1) hide warnings in system headers.

Approved by: obrien


102790 01-Sep-2002 kan

Merge FreeBSD modifications into gcc 3.2.1-prerelease:
1.2 kernel printf enchancements framework
1.3 suppress warnings on K&R main

Approved by: obrien


102789 01-Sep-2002 kan

Use the stock 3.2.1-prerelease file.

Approved by: obrien


102787 01-Sep-2002 kan

This commit was generated by cvs2svn to compensate for changes in r102786,
which included commits to RCS files with non-trunk default branches.


102785 01-Sep-2002 kan

This commit was generated by cvs2svn to compensate for changes in r102784,
which included commits to RCS files with non-trunk default branches.


102783 01-Sep-2002 kan

This commit was generated by cvs2svn to compensate for changes in r102782,
which included commits to RCS files with non-trunk default branches.


102781 01-Sep-2002 kan

This commit was generated by cvs2svn to compensate for changes in r102780,
which included commits to RCS files with non-trunk default branches.


102776 01-Sep-2002 obrien

Remove these Bintuils 2.11 files that aren't part of 2.12.


102735 31-Aug-2002 obrien

Merge rev 1.6 (ELF_DYNAMIC_INTERPRETER) into Binutils 2.12_20020720.


102730 31-Aug-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r102729,
which included commits to RCS files with non-trunk default branches.


102533 28-Aug-2002 gshapiro

Move the $FreeBSD$ CVS labels far enough away from the $Id$ CVS labels so
I don't have to manually resolve conflicts on every import. Ironically,
most of these files have no changes from the vendor version except the
$FreeBSD$ line.


102532 28-Aug-2002 gshapiro

Changes for the import of sendmail 8.12.6


102531 28-Aug-2002 gshapiro

Resolve conflicts from sendmail 8.12.6 import


102529 28-Aug-2002 gshapiro

This commit was generated by cvs2svn to compensate for changes in r102528,
which included commits to RCS files with non-trunk default branches.


102524 28-Aug-2002 darrenr

merge the changes from 3.4.29 that didn't go cleanly due to conflicts


102522 28-Aug-2002 darrenr

This commit was generated by cvs2svn to compensate for changes in r102521,
which included commits to RCS files with non-trunk default branches.


102250 22-Aug-2002 nsayer

Encrypted strings (after hex decoding) aren't null terminated, because
0 might simply be part of the ciphertext.

PR: bin/40266
Submitted by: andr@dgap.mipt.ru
MFC after: 3 days


101910 15-Aug-2002 ru

Merge gcc.295/cccp.c,v 1.9: don't let gcc(1) hide warnings in system headers.

Reviewed by: bde

Original 2.95 change was subject to:

Approved by: obrien


101692 11-Aug-2002 dwmalone

Fix a bug where you couldn't start top in a very small window. Now
you can start it in a small window, but it doesn't always display
anything sensible. Resizing the window does work though.

The patch is a slightly simpler one than Sheldon's in the PR.

PR: 21075


101611 09-Aug-2002 iedowse

Use the correct loop variable so that we print all IO addresses and
not just 8 copies of the first one.

PR: bin/18157
Submitted by: German Tischler <tanis@gaspode.franken.de>


101170 01-Aug-2002 sobomax

Move even closer to matching behaviour of our old tar(1) wrt preserving
modes of extracted files. This effectively disables special threating
of uid 0 for mode-preserving purposes and should fix problems with
pkg_add(1) and probably other things when extracting files/dirs with
sticky mode bits set.

Pointed out by: bde
MFC in: 2 weeks


100905 30-Jul-2002 fenner

Routing socket messages are padded to sizeof(long), not just
sizeof(u_int32_t).


100789 28-Jul-2002 fenner

Calculate checksums correctly when LSRR is in effect by passing the
IP header and protocol header seperately.
Also calculate TCP checksums.

Submitted by: orion


100787 28-Jul-2002 fenner

Merge 1.4a12


100785 28-Jul-2002 fenner

This commit was generated by cvs2svn to compensate for changes in r100784,
which included commits to RCS files with non-trunk default branches.


100619 24-Jul-2002 mp

Document upgrade procedure.


100617 24-Jul-2002 mp

This commit was generated by cvs2svn to compensate for changes in r100616,
which included commits to RCS files with non-trunk default branches.


100567 23-Jul-2002 dcs

s/ifdef/ifndef/.

Fenner got this inverted through a misunderstanding between us.


100540 23-Jul-2002 fenner

Add '+FreeBSD' to the version string, to reflect that this program
bears little relationship to the one from LBL with the same
name and version number.


100535 22-Jul-2002 fenner

Add an ICMP protocol handler, partly based on LBL's traceroute 1.4 .

Submitted by: dcs


100533 22-Jul-2002 fenner

Actually use gen_prep() and gen_check(), instead of udp_prep() and
udp_check(), for unknown protocols.


100520 22-Jul-2002 ru

This commit was generated by cvs2svn to compensate for changes in r100519,
which included commits to RCS files with non-trunk default branches.


100518 22-Jul-2002 ru

Update for GNU texinfo 4.2.


100517 22-Jul-2002 ru

Merge texinfo 4.2 changes onto the trunk.


100516 22-Jul-2002 ru

Use stock (FSF) version of this file.


100514 22-Jul-2002 ru

This commit was generated by cvs2svn to compensate for changes in r100513,
which included commits to RCS files with non-trunk default branches.


100491 22-Jul-2002 bp

This commit was generated by cvs2svn to compensate for changes in r100490,
which included commits to RCS files with non-trunk default branches.


100304 18-Jul-2002 ru

Move the definition of FreeBSD 4.6 back to where it belongs.


100301 18-Jul-2002 murray

Revert last change.

Requested by: ru


100295 18-Jul-2002 murray

Teach mdoc about FreeBSD 4.6.1


99963 14-Jul-2002 sobomax

MFS: make this file compilable with gcc 2.9x as well.


99884 12-Jul-2002 obrien

Fix C++ exception handling. GCC was using the older BSD DBX register numbers
rather than the ELF ABI/SVR4 ones in its DWARF unwinding.

Submitted by: Alexander Kabaev <ak03@gte.com>


99883 12-Jul-2002 obrien

When I decided to use a stock dbxout.c rather than merge the rev 1.2 change
(put the function stabs in traditional order on a.out, or gdb doesn't see
function local variables), I failed to remove the related knobs here.

Effectively were overrode the ELF-wide definition in elfos.h w/o providing
new infrastructure. This is what caused GDB to fail to debug applications
compiled and linked with -stabs. This is because GCC was unconditionally
inserts .stabs instruction for functions after the function body. GDB was
getting confused because what it thinks is function beginning address is
actually function ending address.

Submitted by: Alexander Kabaev <ak03@gte.com>


99841 12-Jul-2002 obrien

Yep, revision 1.3 was 1/2assed.
This time use the right attribute for null_format_ok.

Submitted by: bde


99718 10-Jul-2002 obrien

Make our i386 hacks in a less vendor file disturbing manner.


99675 09-Jul-2002 obrien

Quiet warnings by making this ANSI-C clean.


99583 08-Jul-2002 fenner

Always upload new files, even if the timestamps match. This is a workaround
for the trouble that DES and I had with MFCs: when "cvs update -jfoo -jbar"
creates a new file, it sets the version to 0 ("new") but sets the timestamp
in the Entries file to the timestamp of the file that's new on the branch.
The CVS client doesn't upload files whose timestamps match with the Entries
file, so these new files don't get uploaded to the server and the server
fails when trying to check them in.

PR: bin/40227
Approved by: peter
MFC after: 2 weeks


99522 07-Jul-2002 dougb

Add a note about nslookup needing a slightly different version of the
command line editing patch in -current and RELENG_4.


99471 05-Jul-2002 obrien

Merge rev 1.2 (FreeBSD a.out configuration support) into the
Binutils 2.12_20020622 snap.


99470 05-Jul-2002 obrien

Use the stock 2.12.1 snapshot version of this.


99469 05-Jul-2002 obrien

Use the stock version of this.


99468 05-Jul-2002 obrien

Bring the binutils_2_12_20020622 snap version of this to the HEAD branch.


99467 05-Jul-2002 obrien

We use the stock version of this file as in rev 1.4.


99466 05-Jul-2002 obrien

We use the stock version of this file.


99465 05-Jul-2002 obrien

Merge rev 1.6 (ELF_DYNAMIC_INTERPRETER) into Binutils 2.12_20020622 snap.


99464 05-Jul-2002 obrien

Merge our ELF branding into Binutils 2.12_20020622 snapshot.
(note that this will be the last Binutils update to offer our original
method of ELF branding (WANT_OLD_BRANDELF_METHOD))


99462 05-Jul-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r99461,
which included commits to RCS files with non-trunk default branches.


99396 03-Jul-2002 obrien

Allow XFree86-4 to build
by not creating paradoxical FLOAT_MODE subregs.

Tested by: se
Obtained from: http://gcc.gnu.org/ml/gcc/2002-06/msg01709.html


99346 03-Jul-2002 sobomax

Fix another POLA breakage in a new tar: in diff mode presence of file
in the archive, but its absence in the file system should be reported
as difference, not as error.

Reported by: bde


99345 03-Jul-2002 sobomax

When we are extracting directory with --unlink option and the directory
already exists don't spew bogus "Cannot unlink" error and exit with
non-zero code.

Reported by: bde


99192 01-Jul-2002 dougb

This commit was generated by cvs2svn to compensate for changes in r99191,
which included commits to RCS files with non-trunk default branches.


99189 01-Jul-2002 dougb

* Make Xlist more complete, and more concise in some case.
* Reflect additional docs we're not using anymore.
* Add some notes for next time.


99188 01-Jul-2002 dougb

Resolve conflicts, generally in favor of the vendor version.


99180 01-Jul-2002 dougb

This commit was generated by cvs2svn to compensate for changes in r99179,
which included commits to RCS files with non-trunk default branches.


99161 30-Jun-2002 des

This commit was generated by cvs2svn to compensate for changes in r99160,
which included commits to RCS files with non-trunk default branches.


99159 30-Jun-2002 des

This commit was generated by cvs2svn to compensate for changes in r99158,
which included commits to RCS files with non-trunk default branches.


99006 29-Jun-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r99005,
which included commits to RCS files with non-trunk default branches.


99002 29-Jun-2002 obrien

- kernel core debugging for i386 (Mark Peek)
- thread debugging for i386 (Mark Peek) and alpha (Doug Rabson)

Submitted by: mp,dfr


99001 29-Jun-2002 obrien

Note that this is a modified version of GDB.


99000 29-Jun-2002 obrien

Use the stock source.


98999 29-Jun-2002 obrien

Best that I can tell, we've never used these files.


98955 28-Jun-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r98954,
which included commits to RCS files with non-trunk default branches.


98951 28-Jun-2002 obrien

Actually rev 1.3 (don't declare tilde_expand()) is needed with GDB 5.2.


98948 28-Jun-2002 obrien

Our FreeBSD custom changes are OBE. Return to using the stock vendor sources.


98945 27-Jun-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r98944,
which included commits to RCS files with non-trunk default branches.


98884 26-Jun-2002 markm

Warnings fixes. Sort out some variable types.


98882 26-Jun-2002 markm

Help fix warnings by marking an argument as unused.


98845 26-Jun-2002 gshapiro

Update for the sendmail 8.12.5 import


98844 26-Jun-2002 gshapiro

Resolve conflicts from import of sendmail 8.12.5


98842 26-Jun-2002 gshapiro

This commit was generated by cvs2svn to compensate for changes in r98841,
which included commits to RCS files with non-trunk default branches.


98838 26-Jun-2002 fenner

Remove cruft.


98709 23-Jun-2002 robert

Allocate and clear the correct number of bytes for a
struct fd_set that should be able to hold sock + 1 bits.
Before, it was apparently assumed that an fd_mask has
the same size as type char.

PR: bin/39617
Reported by: Peter N Lewis <peter@stairways.com.au>


98599 21-Jun-2002 obrien

Tweaks to make these files live beside our hacked config.


98597 21-Jun-2002 obrien

Tweaks for the 64-bit compiler.


98573 21-Jun-2002 obrien

cc -O0 and -O1 didn't do the easy optimization of alignment for space.
Instead it attempted to do the easy optimization of alignment for time,
which should be to 1-byte alignment on i386's.

Submitted by: bde


98572 21-Jun-2002 obrien

BDE prefers this organization.

Submitted by: bde


98533 21-Jun-2002 fenner

Merge libpcap 0.7.1

MFC after: 2 weeks


98531 21-Jun-2002 fenner

This commit was generated by cvs2svn to compensate for changes in r98530,
which included commits to RCS files with non-trunk default branches.


98527 21-Jun-2002 fenner

Merge tcpdump 3.7.1

MFC after: 2 weeks


98525 21-Jun-2002 fenner

This commit was generated by cvs2svn to compensate for changes in r98524,
which included commits to RCS files with non-trunk default branches.


98512 20-Jun-2002 obrien

Remove GAWK. I removed it from the build 2 weeks ago and the world
did not end. So finish the deed.


98507 20-Jun-2002 peter

Merge ncurses 5.2-20020615 changes onto mainline.


98504 20-Jun-2002 peter

This commit was generated by cvs2svn to compensate for changes in r98503,
which included commits to RCS files with non-trunk default branches.


98396 18-Jun-2002 obrien

FreeBSD is one of the OS's that does not require the use of libio with Gcc 3.1.


98368 18-Jun-2002 dougb

Teach mdoc about the 4.6 release


98348 17-Jun-2002 fenner

In TTEST2(), check to make sure the "l" argument isn't so large that
"snapend - l" underflows; this fixes a buffer overflow with malformed
NFS packets, and may fix other buffer overflows with malformed packets.

Obtained from: tcpdump.org CVS


98296 16-Jun-2002 sobomax

Our strerror_r(3) returns int, not char *. This fixes bogus error messages
like "Cannot stat: (null)"

Reported by: bde, kris


98248 15-Jun-2002 mikeh

This commit was generated by cvs2svn to compensate for changes in r98247,
which included commits to RCS files with non-trunk default branches.


98126 11-Jun-2002 gshapiro

sendmail 8.12.4 has been imported


98125 11-Jun-2002 gshapiro

Resolve conflicts from sendmail 8.12.4 import


98122 11-Jun-2002 gshapiro

This commit was generated by cvs2svn to compensate for changes in r98121,
which included commits to RCS files with non-trunk default branches.


98096 10-Jun-2002 obrien

cvs -j -j gave me two copies of TARGET_VERSION and I didn't notice
it before committing.


98069 09-Jun-2002 mike

Don't depend on <pwd.h> to bogusly include <sys/types.h>.


98056 09-Jun-2002 obrien

Allow one to profile FORTRAN77 programs.


98043 08-Jun-2002 ache

Use easy way to sense C and POSIX locales, like in GLIBC


98041 08-Jun-2002 ache

Some upgrade instructions


98039 08-Jun-2002 ache

This commit was generated by cvs2svn to compensate for changes in r98038,
which included commits to RCS files with non-trunk default branches.


98011 07-Jun-2002 darrenr

Commit changes that happened in IPFilter versions 3.4.27 - 3.4.28


98009 07-Jun-2002 darrenr

This commit was generated by cvs2svn to compensate for changes in r98008,
which included commits to RCS files with non-trunk default branches.


98006 07-Jun-2002 darrenr

This commit was generated by cvs2svn to compensate for changes in r98005,
which included commits to RCS files with non-trunk default branches.


98002 07-Jun-2002 sobomax

Disabling automatic --same-owner option when running as uid 0 along with
the --same-permissions was an overkill, so put it back. This is consistent
with what our old tar did.

Suggested by: dillon


97973 07-Jun-2002 sobomax

IMO it was a quite ugly idea that if we are running as uid 0 then we can
safely ignore current umask(2) and assume that permissions should be set
right like in the archive. Not only it violates POLA, but introduces
huge potential security vulnerability, particularly for ports, where
many popular archives come with 777 files and dirs.


97943 06-Jun-2002 obrien

Match the DBX_OUTPUT_MAIN_SOURCE_FILE_END definition in dbxelf.h.

Bug found by: bde


97912 06-Jun-2002 obrien

Allow the specification of LONG_TYPE_SIZE on the command line.

Submitted by: bde


97911 06-Jun-2002 obrien

Implement "-mno-align-long-strings" which prevents pessimization of strings
for space. -Os could do this, but it was easy to hack an MD version.
This saves a whole 32 bytes in boot2, so I think it is worth using it.
(keep how much worse gcc 3.2 will compile boot2...)

Submitted by: bde (minus gcc 3.2 commentary)


97910 06-Jun-2002 obrien

Didn't get them all in revision 1.50.


97908 06-Jun-2002 obrien

Fix excessive alignment for the aout case, and unbreak genassym for that case.
Our aout linker has alignment hacks and doesn't need gcc to do anything special.

Tested for a year by: bde :-)


97907 06-Jun-2002 obrien

Tidy do-while.

Requested by: bde


97902 06-Jun-2002 obrien

Read specs from /usr/libdata/gcc/specs if it exists.


97827 04-Jun-2002 obrien

The brokenness in ix86_expand_clrstr is quite visible when you
compare the function with ix86_expand_movstr.

Submitted by: Tor Egge


97826 04-Jun-2002 obrien

Gcc 3.1 (-O) now generates broken inline code for memset in some cases.
This broke newfs (newfs left some garbage in a bitmap).

The ASM for:

#include <string.h>
int x, foo[100];
main()
{
memset(&foo[0], 0, x);
}

is (at least if you have fixed function alignment):

.file "z.c"
.text
.p2align 2,,3
.globl main
.type main,@function
main:
pushl %ebp
movl %esp, %ebp
pushl %edi
pushl %eax
movl x, %ecx
xorl %eax, %eax
shrl $2, %ecx
movl $foo, %edi
cld
rep
stosl
andl $-16, %esp
<-- the lower bits of `len' should be loaded
near here
testl $2, %edi <-- this seems to be meant to test the 2^1
bit in `len' (not alignment of the pointer
like it actually does). %edi is the wrong
register for holding the bits, since it is
still needed for the pointer.
je .L2
stosw
.L2:
testl $1, %edi <-- similarly for the 2^0 bit.
je .L3
stosb
.L3:
movl -4(%ebp), %edi
leave
ret
.Lfe1:
.size main,.Lfe1-main
.comm foo,400,32
.comm x,4,4
.ident "GCC: (GNU) 3.1 [FreeBSD] 20020509 (prerelease)"

This seems to only result in (len % 3) bytes not being cleared, since gcc
doesn't seem to use the builtin memset unless it knows that the pointer is
aligned. If %edi could be misaligned, then too many bytes would be set.

Submitted by: BDE


97824 04-Jun-2002 sobomax

Move patches into the src/contrib/tar.

Requested by: ps
Reviewed by: md5(1)


97810 04-Jun-2002 sobomax

Add importing/upgrading instructions.


97809 04-Jun-2002 sobomax

Add razor used for shaving out GNU Tar.


97806 04-Jun-2002 sobomax

This commit was generated by cvs2svn to compensate for changes in r97805,
which included commits to RCS files with non-trunk default branches.


97543 30-May-2002 obrien

Seems we are not ready for revision 1.8.


97532 30-May-2002 obrien

Make our default predefines ANSI clean.


97404 28-May-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r97403,
which included commits to RCS files with non-trunk default branches.


97341 27-May-2002 jmallett

Don't risk catching a signal while handling a signal for a dying child, as we
can then end up not properly clearing wtmp/utmp entries.

PR: bin/37934
Submitted by: Sandeep Kumar <skumar@juniper.net>
Reviewed by: markm
MFC after: 2 weeks


97308 26-May-2002 obrien

The special checks for %b and %D in rev 1.1 were done before skipping over
any characters between the % and the [bD], so only plain %b and %B worked.
This may un-1/2ass our -fformat-extensions support.

Submitted by: bde


97242 24-May-2002 des

This commit was generated by cvs2svn to compensate for changes in r97241,
which included commits to RCS files with non-trunk default branches.


97130 22-May-2002 obrien

1/2assed reimplementation of c-common.c revs 1.2 (-fformat-extensions)
and 1.3 (printf0) for GCC 3.1.


97120 22-May-2002 nectar

Repair a bug where type AAAA answer records were not displayed.
Reference ISC BIND issue:
``1279. [bug] nslookup: partial coversion to similar style outputs
for both -type=aaaa and -type=a.''

Reported by: ume


97119 22-May-2002 nectar

Do not attempt to free static memory.
Reference ISC BIND issue:
``1278. [bug] free() of non-malloced memory in nslookup.''

Reported by: phkmalloc, Mike Tancsa <mike@sentex.net>


97056 21-May-2002 peter

This commit was generated by cvs2svn to compensate for changes in r97055,
which included commits to RCS files with non-trunk default branches.


97052 21-May-2002 peter

Merge ncurses-5.2-20010512 -> ncurses-5.2-20020518 changes onto mainline.


97050 21-May-2002 peter

This commit was generated by cvs2svn to compensate for changes in r97049,
which included commits to RCS files with non-trunk default branches.


96940 19-May-2002 ache

Fix essential typo in usage

Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net>


96823 17-May-2002 obrien

the processed hash file


96736 16-May-2002 ru

MD_EXEC_PREFIX doesn't work for the cross-arch compiler.
The change also makes the `cc -print-search-dirs' output
sane (the pre-3.1 way) in the non-cross case.

Draft reviewed by: obrien


96723 16-May-2002 markm

Perl is no longer in base. Long live the port!


96558 14-May-2002 obrien

Merge c-common.c rev 1.10 into GCC 3.1

Clarify that the "yields only last 2 digits of year in some locales" warning
does not apply to BSD.

Submitted by: ache


96557 14-May-2002 obrien

If you want to not warn on K&R main(); this is how it should be implemented.


96550 14-May-2002 obrien

Merge choose-temp.c rev 1.2 (use /tmp 1st, and then /var/tmp) into GCC 3.1.


96549 14-May-2002 obrien

Add framework for our kernel printf enhancements.


96542 13-May-2002 nectar

Resolve conflicts after import of ISC BIND 8.3.2-T1B documentation.


96540 13-May-2002 nectar

This commit was generated by cvs2svn to compensate for changes in r96539,
which included commits to RCS files with non-trunk default branches.


96538 13-May-2002 nectar

Resolve conflicts after import of ISC BIND 8.3.2-T1B.


96537 13-May-2002 nectar

This commit was generated by cvs2svn to compensate for changes in r96536,
which included commits to RCS files with non-trunk default branches.


96490 13-May-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r96489,
which included commits to RCS files with non-trunk default branches.


96466 12-May-2002 obrien

do-while ASM_OUTPUT_ALIGN to enable its use in more places.


96447 12-May-2002 obrien

Fixes for building a.out bits.

Submitted by: bde


96435 12-May-2002 keramida

CVS_RSH defaults to 'ssh' these days, and not 'rsh'.

PR: docs/37429
Submitted by: Martin v. Löwis <martin@v.loewis.de>
Reviewed by: peter


96385 11-May-2002 alfred

unbreak build:

commands.c, sys_bsd.c: comment out/remove junk after #endif/#else
network.c, terminal.c, utlities.c: include stdlib.h for exit(3)


96372 11-May-2002 obrien

Localize the version number at the request of the GCC developers.


96365 10-May-2002 des

This commit was generated by cvs2svn to compensate for changes in r96364,
which included commits to RCS files with non-trunk default branches.


96362 10-May-2002 obrien

Add tweaks needed when using as the system compiler.


96341 10-May-2002 obrien

Change symbol values to match freebsd.h to avoid warnings.


96331 10-May-2002 obrien

Remove files not part of GCC 3.1.


96330 10-May-2002 obrien

Import data for 3.0.2.


96298 09-May-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r96297,
which included commits to RCS files with non-trunk default branches.


96296 09-May-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r96295,
which included commits to RCS files with non-trunk default branches.


96294 09-May-2002 obrien

Use the stock (3.1 pre) file.


96293 09-May-2002 obrien

Use the stock file for now (but leave a note behind about our OBE changes).


96292 09-May-2002 obrien

Merge rev 1.2 (printf format error fixes) in its 1.8 form into Gcc 3.1 pre.


96291 09-May-2002 obrien

Use the stock (3.1) file.


96290 09-May-2002 obrien

We use the stock (3.1) file.


96289 09-May-2002 obrien

Merge rev 1.2 (-fformat-extensions) and rev 1.7 (optimization downgrade)
into the Gcc 3.1 prerelease.


96288 09-May-2002 obrien

Use the stock (3.1 pre) file.


96287 09-May-2002 obrien

Use the stock (3.1) version.


96286 09-May-2002 obrien

Merge rev 1.2 [_exit() over exit()] into the Gcc 3.1 prerelease.


96285 09-May-2002 obrien

Merge revs 1.{2,15} (FREEBSD_NATIVE); 1.{5,13} (ELF, and objformat support);
1.{16,23,25} (better cross building control); 1.21 ("GCC_OPTIONS")
into the GCC 3.1 prerelease.


96283 09-May-2002 obrien

Merge rev 1.2 (a.out support) into the GCC 3.1 prerelease.


96282 09-May-2002 obrien

Use the stock 3.1 prerelease version of this for now.


96281 09-May-2002 obrien

Use the stock 3.1 prerelease file now. Rev 1.2 (add_bb) just doesn't
cleanly fit in any more.


96280 09-May-2002 obrien

Use the stock (3.1) file.


96279 09-May-2002 obrien

We use the stock (3.1) file now.


96278 09-May-2002 obrien

Use the stock (3.1) file now.
The choosing of TMPDIR has moved to make-temp-file.c.


96276 09-May-2002 obrien

Use the stock 3.1 prerelease file.


96275 09-May-2002 obrien

Use the stock 3.1-prerelease file.


96273 09-May-2002 obrien

Use stock file.


96264 09-May-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r96263,
which included commits to RCS files with non-trunk default branches.


96236 09-May-2002 obrien

sys_nerr should come from standard headers -- not from a coder's guess
of what is right.


96187 07-May-2002 obrien

Alpha MD bits for Gcc 3.1.


96144 07-May-2002 obrien

Comment a knob.


96143 07-May-2002 obrien

The default ASM_OUTPUT_ADDR_DIFF_ELT will now handle our mixed a.out/ELF.


96108 06-May-2002 markm

Fix an external declaration that was causing telnetd to core dump.

MFC after: 1 week
PR: 37766


95979 03-May-2002 des

This commit was generated by cvs2svn to compensate for changes in r95978,
which included commits to RCS files with non-trunk default branches.


95909 02-May-2002 des

This commit was generated by cvs2svn to compensate for changes in r95908,
which included commits to RCS files with non-trunk default branches.


95811 30-Apr-2002 obrien

MI bits for Gcc 3.1.


95810 30-Apr-2002 obrien

i386 MD bits for Gcc 3.1.

These are totally untested. Do these work? Hell if I know, I have yet to
bootstrap using these bits. But people want them, so here they are.


95568 27-Apr-2002 darrenr

This commit was generated by cvs2svn to compensate for changes in r95567,
which included commits to RCS files with non-trunk default branches.


95566 27-Apr-2002 darrenr

This commit was generated by cvs2svn to compensate for changes in r95565,
which included commits to RCS files with non-trunk default branches.


95505 26-Apr-2002 mikeh

This commit was generated by cvs2svn to compensate for changes in r95504,
which included commits to RCS files with non-trunk default branches.


95424 25-Apr-2002 darrenr

resolve conflicts from import


95422 25-Apr-2002 darrenr

This commit was generated by cvs2svn to compensate for changes in r95421,
which included commits to RCS files with non-trunk default branches.


95420 25-Apr-2002 darrenr

This commit was generated by cvs2svn to compensate for changes in r95419,
which included commits to RCS files with non-trunk default branches.


95349 24-Apr-2002 obrien

Style changes to reduce diff to things I did in the FSF repo.


95348 24-Apr-2002 obrien

Fix bug where we were loosing our platform-wide ASM_COMMENT_START
definition due to pollution in i386/unix.h.


95268 22-Apr-2002 sheldonh

This commit was generated by cvs2svn to compensate for changes in r95267,
which included commits to RCS files with non-trunk default branches.


95157 20-Apr-2002 gshapiro

Resolve conflicts from import of post-8.12.3 bug fixes.


95155 20-Apr-2002 gshapiro

This commit was generated by cvs2svn to compensate for changes in r95154,
which included commits to RCS files with non-trunk default branches.


95149 20-Apr-2002 gshapiro

Two more files to keep track of.


94971 17-Apr-2002 des

This commit was generated by cvs2svn to compensate for changes in r94970,
which included commits to RCS files with non-trunk default branches.


94969 17-Apr-2002 des

This commit was generated by cvs2svn to compensate for changes in r94968,
which included commits to RCS files with non-trunk default branches.


94890 16-Apr-2002 des

This commit was generated by cvs2svn to compensate for changes in r94889,
which included commits to RCS files with non-trunk default branches.


94885 16-Apr-2002 des

This commit was generated by cvs2svn to compensate for changes in r94884,
which included commits to RCS files with non-trunk default branches.


94881 16-Apr-2002 des

This commit was generated by cvs2svn to compensate for changes in r94880,
which included commits to RCS files with non-trunk default branches.


94879 16-Apr-2002 des

This commit was generated by cvs2svn to compensate for changes in r94878,
which included commits to RCS files with non-trunk default branches.


94736 15-Apr-2002 des

This commit was generated by cvs2svn to compensate for changes in r94735,
which included commits to RCS files with non-trunk default branches.


94707 15-Apr-2002 des

This commit was generated by cvs2svn to compensate for changes in r94706,
which included commits to RCS files with non-trunk default branches.


94692 14-Apr-2002 des

This commit was generated by cvs2svn to compensate for changes in r94691,
which included commits to RCS files with non-trunk default branches.


94671 14-Apr-2002 des

This commit was generated by cvs2svn to compensate for changes in r94670,
which included commits to RCS files with non-trunk default branches.


94563 12-Apr-2002 des

This commit was generated by cvs2svn to compensate for changes in r94562,
which included commits to RCS files with non-trunk default branches.


94548 12-Apr-2002 obrien

Use the stock 2.12 snapshot version of this.


94547 12-Apr-2002 obrien

Merge rev 1.2 (FreeBSD a.out configuration support) into the
Binutils 2.12_20020410 snap.


94546 12-Apr-2002 obrien

Bring the binutils_2_12_20020410 snap version of this to the HEAD branch.


94545 12-Apr-2002 obrien

Merge the stock 2.12.0 snap version.


94544 12-Apr-2002 obrien

Merge rev 1.6 (ELF_DYNAMIC_INTERPRETER) into Binutils 2.12_20020410 snap.


94543 12-Apr-2002 obrien

Merge rev 1.8 ("ELF_DYNAMIC_INTERPRETER") into Binutils 2.12_20020410 snap.


94542 12-Apr-2002 obrien

Merge our ELF branding into Binutils 2.12_20020410 snapshot.


94537 12-Apr-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r94536,
which included commits to RCS files with non-trunk default branches.


94533 12-Apr-2002 des

This commit was generated by cvs2svn to compensate for changes in r94532,
which included commits to RCS files with non-trunk default branches.


94347 10-Apr-2002 gshapiro

A couple more sendmail-related files


94338 10-Apr-2002 gshapiro

Record sendmail 8.12.3 import


94337 10-Apr-2002 gshapiro

Fix conflicts from sendmail 8.12.3 import


94335 10-Apr-2002 gshapiro

This commit was generated by cvs2svn to compensate for changes in r94334,
which included commits to RCS files with non-trunk default branches.


94260 09-Apr-2002 gshapiro

Found two more files that use the sendmail infrastructure.


94214 08-Apr-2002 des

This commit was generated by cvs2svn to compensate for changes in r94213,
which included commits to RCS files with non-trunk default branches.


94210 08-Apr-2002 des

This commit was generated by cvs2svn to compensate for changes in r94209,
which included commits to RCS files with non-trunk default branches.


94009 07-Apr-2002 ache

Original code bugfixed. This NOT touch old sorting order a bit.

1) Remove \n from COPYRIGHT macro to shut up assembler warning
2) Fix struct sigaction initialization (arguments swap)
3) Fix out of bounds negative indexing for -R arg > 127
4) Remove doubled initialization of vars already initialized statically
5) Convert ctype macros char arg to u_char to prevents sign extension


93983 06-Apr-2002 des

This commit was generated by cvs2svn to compensate for changes in r93982,
which included commits to RCS files with non-trunk default branches.


93976 06-Apr-2002 gshapiro

Another man page that can change as sendmail requirements change.


93969 06-Apr-2002 des

This commit was generated by cvs2svn to compensate for changes in r93968,
which included commits to RCS files with non-trunk default branches.


93967 06-Apr-2002 des

This commit was generated by cvs2svn to compensate for changes in r93966,
which included commits to RCS files with non-trunk default branches.


93859 05-Apr-2002 gshapiro

Add usr.sbin/mailwrapper/Makefile to the list of changed files as
it contains a list of symlinks to make which are normally symlinks
to the sendmail binary.


93857 05-Apr-2002 gshapiro

Add a list of files sendmail importants may affect. This is mostly
for my own reference so I don't miss things on future imports.


93788 04-Apr-2002 des

This commit was generated by cvs2svn to compensate for changes in r93787,
which included commits to RCS files with non-trunk default branches.


93695 02-Apr-2002 des

This commit was generated by cvs2svn to compensate for changes in r93694,
which included commits to RCS files with non-trunk default branches.


93527 01-Apr-2002 des

This commit was generated by cvs2svn to compensate for changes in r93526,
which included commits to RCS files with non-trunk default branches.


93517 01-Apr-2002 murray

Document recent DHCP upgrade.


93513 01-Apr-2002 murray

Resolve conflicts.


93512 01-Apr-2002 murray

Resolve conflicts:
* $FreeBSD$
* connect std{in,out,err} (r1.19).
* prefer strlcpy to strpy (r1.13).
* quiet by default (r1.6).
* document -D option.


93511 01-Apr-2002 murray

Resolve conflicts:
* $FreeBSD$ line.
* Prefer strlcpy to strcpy (r1.6).
* dhclient-script pathname.


93508 01-Apr-2002 murray

This commit was generated by cvs2svn to compensate for changes in r93507,
which included commits to RCS files with non-trunk default branches.


93298 27-Mar-2002 obrien

GCC 3.1 uses crtstuff.c on Alpha now. [yay!]


93263 27-Mar-2002 obrien

Switch register numbers for DWARF2_DEBUG also.


93225 26-Mar-2002 ru

Removed (new in 3.4.25 import) duplicate copies of files already present
in sys/contrib/ipfilter.


93144 25-Mar-2002 ru

Update for GNU texinfo 4.1.


93143 25-Mar-2002 ru

Merge texinfo 4.1 changes onto the trunk.


93142 25-Mar-2002 ru

Use stock (FSF) version of this file.


93140 25-Mar-2002 ru

This commit was generated by cvs2svn to compensate for changes in r93139,
which included commits to RCS files with non-trunk default branches.


92914 21-Mar-2002 markm

Resolve conflicts.


92907 21-Mar-2002 markm

This commit was generated by cvs2svn to compensate for changes in r92906,
which included commits to RCS files with non-trunk default branches.


92841 20-Mar-2002 obrien

Manpages moved into doc/ for 2.12.


92835 20-Mar-2002 obrien

Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints)
into Binutils 2.12.0.


92834 20-Mar-2002 obrien

Use the stock version of this.


92833 20-Mar-2002 obrien

Bring the 2.12.0 release version of this to the HEAD branch.


92831 20-Mar-2002 obrien

Commit the stock 2.12.0 release version.


92829 20-Mar-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r92828,
which included commits to RCS files with non-trunk default branches.


92704 19-Mar-2002 darrenr

For this regression test to pass, you must run ipmon in the Australia/Victoria
(EST-10) timezone to generate the correct timestamps in output.


92702 19-Mar-2002 darrenr

remove because of licence reasons


92691 19-Mar-2002 darrenr

fix conflicts generated by import, completing import of ipf3.4.25


92689 19-Mar-2002 darrenr

This commit was generated by cvs2svn to compensate for changes in r92688,
which included commits to RCS files with non-trunk default branches.


92687 19-Mar-2002 darrenr

This commit was generated by cvs2svn to compensate for changes in r92686,
which included commits to RCS files with non-trunk default branches.


92456 16-Mar-2002 markm

Punt to attic files not in 5.6.1 OR not needed by FreeBSD.


92455 16-Mar-2002 markm

Restore vendor RCS tag.


92454 16-Mar-2002 markm

Update conflict merge for 5.6.1. This is a rotten hack, but it
works for all FreeBSD purposes.


92449 16-Mar-2002 markm

Resolve conflicts.


92445 16-Mar-2002 markm

This commit was generated by cvs2svn to compensate for changes in r92444,
which included commits to RCS files with non-trunk default branches.


92443 16-Mar-2002 markm

This commit was generated by cvs2svn to compensate for changes in r92442,
which included commits to RCS files with non-trunk default branches.


92423 16-Mar-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r92422,
which included commits to RCS files with non-trunk default branches.


92290 14-Mar-2002 des

This commit was generated by cvs2svn to compensate for changes in r92289,
which included commits to RCS files with non-trunk default branches.


92283 14-Mar-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r92282,
which included commits to RCS files with non-trunk default branches.


92216 13-Mar-2002 obrien

Add note about genscripts.sh.


92203 13-Mar-2002 obrien

Remove bogon from bad merge.


91884 08-Mar-2002 des

Say good-bye, Linux-PAM.


91831 07-Mar-2002 des

This commit was generated by cvs2svn to compensate for changes in r91830,
which included commits to RCS files with non-trunk default branches.


91800 07-Mar-2002 des

This commit was generated by cvs2svn to compensate for changes in r91799,
which included commits to RCS files with non-trunk default branches.


91797 07-Mar-2002 des

This commit was generated by cvs2svn to compensate for changes in r91796,
which included commits to RCS files with non-trunk default branches.


91685 05-Mar-2002 des

This commit was generated by cvs2svn to compensate for changes in r91684,
which included commits to RCS files with non-trunk default branches.


91651 05-Mar-2002 obrien

Allow for better control over the GCC front-end when building a cross
compiler.

* Undo the diking out of cross compiler logic from gcc.c rev 1.16.
* Add the `CROSS_STARTFILE_PREFIX' knob.
* Add our own definition of `STANDARD_INCLUDE_DIR'. This should have been
included in freebsd-native.h rev 1.5.


91578 03-Mar-2002 obrien

Allow one to specify a STANDARD_EXEC_PREFIX for GCC (but not BINUTILS) bits.


91561 02-Mar-2002 obrien

Better granularity of the FREEBSD_NATIVE #ifdef's.


91221 25-Feb-2002 obrien

Use the default 'ld' emulation rather than hard coding it.
For FreeBSD, 'ld' 2.12.0 uses a different emulation than in the past.
So this change makes the upgrade easier.


91101 23-Feb-2002 des

This commit was generated by cvs2svn to compensate for changes in r91100,
which included commits to RCS files with non-trunk default branches.


91098 23-Feb-2002 des

This commit was generated by cvs2svn to compensate for changes in r91097,
which included commits to RCS files with non-trunk default branches.


91095 23-Feb-2002 des

This commit was generated by cvs2svn to compensate for changes in r91094,
which included commits to RCS files with non-trunk default branches.


91056 22-Feb-2002 obrien

Explain how I did the binutils_2_12_anoncvs_20020221 import.


91055 22-Feb-2002 obrien

Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints)
into Binutils 2.12_20020221_snap.


91054 22-Feb-2002 obrien

Bring the binutils_2_12_20020221_snap version of this to the HEAD branch.


91053 22-Feb-2002 obrien

Merge rev 1.2 (FreeBSD a.out configuration support) into
Binutils 2.12_20020221_snap.


91052 22-Feb-2002 obrien

Use the stock (2.12_20020221_snap) version of this.


91051 22-Feb-2002 obrien

Use the stock version of this.


91050 22-Feb-2002 obrien

Use the vendor's 2.12_20020221_snap version of this file as in rev 1.4.


91049 22-Feb-2002 obrien

Merge rev 1.6 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere) into Binutils 2.12_20020221_snap.


91048 22-Feb-2002 obrien

Merge rev 1.8 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere) into Binutils 2.12_20020221_snap.


91047 22-Feb-2002 obrien

Merge our ELF branding into Binutils 2.12_20020221_snap.


91042 22-Feb-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r91041,
which included commits to RCS files with non-trunk default branches.


90950 20-Feb-2002 obrien

Reflect the rename of the vendor branch.


90931 19-Feb-2002 nectar

Update build after import of Heimdal Kerberos 2002/02/17.


90924 19-Feb-2002 murray

Add information about the 3.0.1RC6 upgrade.


90921 19-Feb-2002 murray

Resolve conflicts. Remove references to dhcpd from the man page,
since only the client exists in the base system.


90920 19-Feb-2002 murray

Resolve conflicts.


90917 19-Feb-2002 murray

Resolve conflicts.
* Note that option hostname is only honored if the hostname is not
already set. (r1.2)


90916 19-Feb-2002 murray

Resolve conflicts.
* Space the output consistently. (r1.19)
* Use the cleaner "-n" syntax instead of comparing against "". (r1.17)
* Fix arp invocation. (r1.13)


90915 19-Feb-2002 murray

Resolve conflicts.
* $FreeBSD$
* Fix numerous typos.
* Use correct path for dhclient-script.


90914 19-Feb-2002 murray

Resolve conflicts.
* $FreeBSD$
* connect std{in,out,err}. (r1.19)
* prefer strlcpy to strpy. (r1.13)
* quiet by default. (r1.6)
* document -D option.


90913 19-Feb-2002 murray

Resolve conflicts :
* $FreeBSD$ id, obrien copyright.
* Document the -D option. (r1.6)
* Correct man page reference and fix typo. (r1.8)

Reviewed by: obrien


90912 19-Feb-2002 murray

Resolve conflicts :
* $FreeBSD$ line.
* Remove dhcpd and dhcprelay from the SEE ALSO section, since these
are not in the base system.


90911 19-Feb-2002 murray

Resolve conflicts :
* $FreeBSD$ line.
* Prefer strlcpy to strcpy (r1.6).
* dhclient-script pathname.


90909 19-Feb-2002 murray

This commit was generated by cvs2svn to compensate for changes in r90908,
which included commits to RCS files with non-trunk default branches.


90905 19-Feb-2002 des

Really document the import procedure.


90903 19-Feb-2002 des

This commit was generated by cvs2svn to compensate for changes in r90902,
which included commits to RCS files with non-trunk default branches.


90901 19-Feb-2002 des

Document the import procedure.


90900 19-Feb-2002 des

This commit was generated by cvs2svn to compensate for changes in r90899,
which included commits to RCS files with non-trunk default branches.


90899 19-Feb-2002 des

We don't need ths file.


90825 18-Feb-2002 gshapiro

Fix mail.local build for non-sendmail.org code


90810 17-Feb-2002 gshapiro

This commit was generated by cvs2svn to compensate for changes in r90809,
which included commits to RCS files with non-trunk default branches.


90800 17-Feb-2002 gshapiro

Update import instructions for sendmail 8.12.2


90795 17-Feb-2002 gshapiro

Resolve conflicts from sendmail 8.12.2 import


90793 17-Feb-2002 gshapiro

This commit was generated by cvs2svn to compensate for changes in r90792,
which included commits to RCS files with non-trunk default branches.


90447 10-Feb-2002 mp

This commit was generated by cvs2svn to compensate for changes in r90446,
which included commits to RCS files with non-trunk default branches.


90412 08-Feb-2002 obrien

Correct email address for bug reports and patch submissions.

Submitted by: Marco Molteni <molter@tin.it>


90300 06-Feb-2002 nectar

Remove files that shouldn't have been imported.
These will be surgically removed from the repository.

Approved by: markm
(with a CVS Meister hat on)


90292 06-Feb-2002 obrien

Use the stock [3.1-snap] version of this.


90291 06-Feb-2002 obrien

A slightly more general version of rev 1.2 that might be more acceptable
to the GCC maintainers.


90290 06-Feb-2002 obrien

Merge BDE's printf format error fixes (rev 1.2) into GCC 3.1-snap.


90289 06-Feb-2002 obrien

Use the stock GCC 3.1-snap version of this.


90288 06-Feb-2002 obrien

A slightly different version of rev 1.2 that is closer to something the
GCC maintainers might actually accept.


90287 06-Feb-2002 obrien

Merge rev 1.2 (printf format error fixes) into GCC 3.1-snap.


90286 06-Feb-2002 obrien

Use the stock [3.l-snap] version of this.


90285 06-Feb-2002 obrien

Use the stock [3.1-snap] file.


90284 06-Feb-2002 obrien

Use the stock file for now.

The changes from GCC 2.95.3 to 3.1 are large and it is hard to figure
out how to apply our changes. Once BDE can properly test GCC 3.1 he'll
add back in our changes.


90283 06-Feb-2002 obrien

Merge the stock gcc-3.1_snap file onto HEAD.


90282 06-Feb-2002 obrien

Merge rev 1.2 (-fformat-extensions) and rev 1.7 (optimization downgrade)
into GCC 3.1-snap.


90280 06-Feb-2002 obrien

We use the stock [3.1-snap] file.


90277 06-Feb-2002 obrien

Merge revs 1.{2,15} (FREEBSD_NATIVE); 1.{5,13} (ELF, and objformat support);
1.16 (allow specification of TOOLS_PREFIX); 1.21 ("GCC_OPTIONS")
into GCC 3.1-snap.

Note that rev 1.20 was fixed in the stock GCC 3 sources.


90242 05-Feb-2002 sheldonh

Don't use non-signal-safe functions (exit(3) in this case) in
signal handlers. In this case, use _exit(2) instead, following
the call to shutdown(2).

This fixes rare telnetd hangs.

PR: misc/33672
Submitted by: Umesh Krishnaswamy <umesh@juniper.net>
MFC after: 1 month


90239 05-Feb-2002 sheldonh

This commit was generated by cvs2svn to compensate for changes in r90238,
which included commits to RCS files with non-trunk default branches.


90225 04-Feb-2002 nectar

Give the next BIND-importing schmuck some assistance.


90214 04-Feb-2002 nectar

getgrouplist now takes `gid_t' instead of `int'.


90212 04-Feb-2002 nectar

Resolve conflicts after import of ISC BIND 8.3.1-REL.


90210 04-Feb-2002 nectar

This commit was generated by cvs2svn to compensate for changes in r90209,
which included commits to RCS files with non-trunk default branches.


90146 03-Feb-2002 markm

WARNS fix. Zap an unused variable.


90091 01-Feb-2002 obrien

Merge rev 1.2 (a.out support) into GCC 3.1-snap.


90090 01-Feb-2002 obrien

Use the stock 3.1-snap file now.
Until we can figure out how to reimpliment our custom format warnings
since the FSF developers totally revamped them, and took away the hooks
we were using to accomplish our desires.


90087 01-Feb-2002 obrien

Merge rev 1.2 (add_bb) into GCC 3.1-snap.

Note that the "NO_PROFILE_DATA"/"NO_PROFILE_COUNTERS" bits were added
to the stock FSF GCC 2.97 (and thus 3.1) source as i386 Linux needed them
also. (amazing what can get committed to the FSF GCC when needed by Linux...)


90086 01-Feb-2002 obrien

We use the stock [3.1-snap] version of this,
other than having to add $FreeBSD$...


90085 01-Feb-2002 obrien

Use the stock 3.1-snap file now.
I do not think our rev 1.2 changes are needed any longer.


90084 01-Feb-2002 obrien

The stock (3.1-snap) version of this file is used now.
The FreeBSD hacks now apply to `config.gcc'.


90083 01-Feb-2002 obrien

Go back to stock [3.1-snap] file -- our previous mods are OBE.


90082 01-Feb-2002 obrien

We use the stock 3.1-snap file now.
All the -Wformat related code moved to c-format.c.


90081 01-Feb-2002 obrien

Use the stock 3.1-snap file now.
I have folded all our local changes into the FSF CVS repo.


90076 01-Feb-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r90075,
which included commits to RCS files with non-trunk default branches.


90071 01-Feb-2002 sobomax

Add upgrade instructions.


90068 01-Feb-2002 sobomax

This commit was generated by cvs2svn to compensate for changes in r90067,
which included commits to RCS files with non-trunk default branches.


90029 31-Jan-2002 obrien

MFC: gcc.295/config/alpha/freebsd.h revision 1.12:
Remove our definition for FUNCTION_PROFILER as it is wrong.

Note that "jsr $28,_mcount" is a macro for
ldq $27, _mcount($29) !literal!1
jsr $28, ($27), _mcount !lituse_jsr!1

1. The call to _mcount is added by alpha_expand_prologue after we load the gp.
Our _mcount uses $27 for the incoming address, unlike OSF/1 and Linux,
which use $28. This probably doesn't matter since we probably don't use $27
within _mcount itself.
2. You can't use this insn with _mcount because it uses the PLT, which clobbers
the return address in $28. Note that the prologue_mcount pattern carefully
avoids adding the lituse_jsr relocation so that we call through the GOT
directly.

Submitted by: Richard Henderson <rth@redhat.com>


90026 31-Jan-2002 sheldonh

Merge rev 1.1.1.3 from vendor branch: fix refresh / warning deadlock


90023 31-Jan-2002 sheldonh

Merge rev 1.1.1.2 from the vendor branch: fix leftright scrolling for
long lines


90022 31-Jan-2002 sheldonh

Add $FreeBSD$ CVS Id tag so that I can merge rev 1.1.1.2 from the
vendor branch. This file was taken off the vendor branch in 1998,
before we started enforcing the presence of CVS Id tags. :-(


90020 31-Jan-2002 sheldonh

This commit was generated by cvs2svn to compensate for changes in r90019,
which included commits to RCS files with non-trunk default branches.


89963 29-Jan-2002 nectar

*sigh* Misfire. Backout previous commit, as it was meant for
another branch.


89960 29-Jan-2002 nectar

FreeBSD 4.4 doesn't have __FBSDID. Do it the old-fashioned way instead.

Reported by: Steven Farmer <steve@geoenergycorp.com>
Pointy hat to: nectar


89914 28-Jan-2002 obrien

The list of not-wanted and needed files for the binutils_anoncvs_20020127
import.


89913 28-Jan-2002 obrien

Explain how I did the binutils_anoncvs_20020127 import.


89885 27-Jan-2002 peter

This commit was generated by cvs2svn to compensate for changes in r89884,
which included commits to RCS files with non-trunk default branches.


89881 27-Jan-2002 nectar

= Fix temporary file handling.

Obtained from: Immunix Linux

= Garbage collect now-unused temporary file handling functions.
= Add __FBSDID.


89873 27-Jan-2002 obrien

Use these malloc-like bits from libiberty now.


89872 27-Jan-2002 obrien

Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints)
into Binutils 2.12.0_snap.


89871 27-Jan-2002 obrien

Bring the binutils_2_12_cvs_20020127 version of this to the HEAD branch.


89870 27-Jan-2002 obrien

Use the stock 2.12.0_snap version of this.


89869 27-Jan-2002 obrien

Merge rev 1.2 (FreeBSD a.out configuration support) into Binutils 2.12.0_snap.


89868 27-Jan-2002 obrien

Bring the binutils_2_12_cvs_20020127 version of this to the HEAD branch.


89867 27-Jan-2002 obrien

Bring the binutils_2_12_cvs_20020125 version of this to the HEAD branch.


89866 27-Jan-2002 obrien

Use the stock 2.12.0_snap version of this now.


89865 27-Jan-2002 obrien

Use the vendor's 2.12.0_snap vendor version of this file as in rev 1.5.


89864 27-Jan-2002 obrien

Use the vendor's 2.12.0_snap version of this file as in rev 1.4.


89863 27-Jan-2002 obrien

Commit the stock 2.12.0_snap version.


89862 27-Jan-2002 obrien

Merge rev 1.6 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere) into Binutils 2.12.0_snap.


89861 27-Jan-2002 obrien

Merge rev 1.8 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere.) into Binutils 2.12.0_snap.


89860 27-Jan-2002 obrien

Merge our ELF branding into Binutils 2.12.0_snap.


89858 27-Jan-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r89857,
which included commits to RCS files with non-trunk default branches.


89766 24-Jan-2002 ache

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));
...


89758 24-Jan-2002 dwmalone

Resolve conflicts.


89757 24-Jan-2002 dwmalone

Resolve conflicts (our -t option, we'd fixed a bug in a slightly different way).


89756 24-Jan-2002 dwmalone

Resolve conflicts (we have a -t option).


89755 24-Jan-2002 dwmalone

Resolve conflict: We made a fix renaming a structure member error,
but it was renamed errnum on the vendor branch.


89751 24-Jan-2002 dwmalone

This commit was generated by cvs2svn to compensate for changes in r89750,
which included commits to RCS files with non-trunk default branches.


89738 24-Jan-2002 des

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


89702 23-Jan-2002 keramida

dhclient-script.conf lives in /etc and not /sbin.

PR: docs/32008
Submitted by: John E Hein <jhein@timing.com>
Approved by: obrien


89587 20-Jan-2002 markm

WARNS=4 fixes.

OK'ed by: des


89502 18-Jan-2002 ru

MFV: Initialize %I register.


89501 18-Jan-2002 ru

This commit was generated by cvs2svn to compensate for changes in r89500,
which included commits to RCS files with non-trunk default branches.


89398 15-Jan-2002 ru

This commit was generated by cvs2svn to compensate for changes in r89397,
which included commits to RCS files with non-trunk default branches.


89355 14-Jan-2002 ache

This commit was generated by cvs2svn to compensate for changes in r89354,
which included commits to RCS files with non-trunk default branches.


89338 14-Jan-2002 alfred

Backout inclusion of sys/queue.h


89331 14-Jan-2002 alfred

add queue.h, now needed for file.h


89235 10-Jan-2002 ru

MFV: NetBSD style document titles (OS/arch).


89233 10-Jan-2002 ru

This commit was generated by cvs2svn to compensate for changes in r89232,
which included commits to RCS files with non-trunk default branches.


89135 09-Jan-2002 joerg

Make the -a flag to opiekey(1) actually work as advertised.

Reviewed by: ache, audit, security
MFC after: 1 week


89022 07-Jan-2002 ps

Merge vendor changes onto mainline.


89020 07-Jan-2002 ps

This commit was generated by cvs2svn to compensate for changes in r89019,
which included commits to RCS files with non-trunk default branches.


89011 07-Jan-2002 sheldonh

This commit was generated by cvs2svn to compensate for changes in r89010,
which included commits to RCS files with non-trunk default branches.


88845 03-Jan-2002 ache

Repo copied to /usr/src/lib/libopie/


88493 26-Dec-2001 sheldonh

This commit was generated by cvs2svn to compensate for changes in r88492,
which included commits to RCS files with non-trunk default branches.


88457 24-Dec-2001 ru

MFV: FreeBSD 4.4, FreeBSD 4.5, NetBSD 1.6, POSIX.1-2001.


88346 21-Dec-2001 ru

This commit was generated by cvs2svn to compensate for changes in r88345,
which included commits to RCS files with non-trunk default branches.


88343 21-Dec-2001 ru

MFV: Handle long document titles better.


88283 20-Dec-2001 sheldonh

This commit was generated by cvs2svn to compensate for changes in r88282,
which included commits to RCS files with non-trunk default branches.


88238 20-Dec-2001 peter

This commit was generated by cvs2svn to compensate for changes in r88237,
which included commits to RCS files with non-trunk default branches.


88110 18-Dec-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r88109,
which included commits to RCS files with non-trunk default branches.


87882 14-Dec-2001 ru

mdoc(7) police: remove -r from SYNOPSIS, sort -p in DESCRIPTION.


87869 14-Dec-2001 sheldonh

Detail the smbfs-1.4.1 import.


87867 14-Dec-2001 sheldonh

This commit was generated by cvs2svn to compensate for changes in r87866,
which included commits to RCS files with non-trunk default branches.


87558 09-Dec-2001 jkh

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


87469 07-Dec-2001 des

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


87407 05-Dec-2001 des

Fix a bug that made PAM fail if /etc/pam.d/ existed but was empty.

Sponsored by: DARPA, NAI Labs


87405 05-Dec-2001 des

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


87401 05-Dec-2001 des

This file isn't used; it's an older version of include/security/pam_misc.h.

Sponsored by: DARPA, NAI Labs


87358 04-Dec-2001 ru

Fixed bugs from previous revision.

Removed -s from SYNOPSIS and restored -S in DESCRIPTION.


87277 03-Dec-2001 jhay

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


87267 03-Dec-2001 markm

More help for alpha WARNS=2. This code is, erm, unusual. Anyone who
feels like rewriting it will meet no objection from me.


87266 03-Dec-2001 markm

help the alphas out with the WARNS=2 stuff.


87175 01-Dec-2001 markm

Fix namespace pollution by protecting names used as arguments.

Reported by: bde


87155 30-Nov-2001 markm

Damn. The previous mega-commit was incomplete WRT ANSIfication. This
fixes that.


87139 30-Nov-2001 markm

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.


86981 27-Nov-2001 des

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)


86980 27-Nov-2001 des

It's idiotic to return PAM_PERM_DENIED when the item argument is NULL;
PAM_BUF_ERR is much closer to the truth.


86201 09-Nov-2001 rwatson

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


86199 08-Nov-2001 peter

This commit was generated by cvs2svn to compensate for changes in r86198,
which included commits to RCS files with non-trunk default branches.


86042 04-Nov-2001 dwmalone

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


86005 04-Nov-2001 peter

Remove files that were not part of the bc-1.06 import.


85938 03-Nov-2001 obrien

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


85920 02-Nov-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r85919,
which included commits to RCS files with non-trunk default branches.


85915 02-Nov-2001 obrien

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...


85913 02-Nov-2001 obrien

We use the stock 3.1.0 file.


85911 02-Nov-2001 obrien

We use the stock 3.1.0 file now.


85910 02-Nov-2001 obrien

We use the stock 3.1.0 file (other than needing $FreeBSD$).


85908 02-Nov-2001 obrien

Merge revision 1.2 (unspam l10n ranges check) into Gawk 3.1.0.


85907 02-Nov-2001 obrien

Merge revs 1.9 (don't choke on long lines),
rev 1.3 (use srandom(time() ^ getpid())) into Gawk 3.1.0.


85905 02-Nov-2001 obrien

Well spell it "gnuregex.h".


85899 02-Nov-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r85898,
which included commits to RCS files with non-trunk default branches.


85825 01-Nov-2001 obrien

Update to the latest vendor's file.


85824 01-Nov-2001 obrien

Bring the binutils_2_11_cvs_20011031 version of this to the HEAD branch.


85823 01-Nov-2001 obrien

This merges in the changes from the FSF 19-July-2001 snapshot to the
2001 Halloween snapshot.


85822 01-Nov-2001 obrien

This merges in the changes from the FSF anoncvs 19-July-2001 snapshot to
the 2001 Halloween snapshot.


85821 01-Nov-2001 obrien

Update to the latest vendor's file.


85820 01-Nov-2001 obrien

Update to the latest vendor file.


85816 01-Nov-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r85815,
which included commits to RCS files with non-trunk default branches.


85703 29-Oct-2001 jhb

Fix world by trimming an extra comment terminator.


85690 29-Oct-2001 nsayer

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


85600 27-Oct-2001 markm

Diff-reduce these two.

Really, one of them needs to disappear. I'll figure out which
later.

Reported by: bde


85590 27-Oct-2001 obrien

Tell how the import was done.


85588 27-Oct-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r85587,
which included commits to RCS files with non-trunk default branches.


85553 26-Oct-2001 ru

This commit was generated by cvs2svn to compensate for changes in r85552,
which included commits to RCS files with non-trunk default branches.


85526 26-Oct-2001 jkh

Close buffer overflow noted in security advisory DSA-085.
Submitted by: Koga Youichirou <y-koga@jp.FreeBSD.org>
Obtained from: Debian


84866 13-Oct-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r84865,
which included commits to RCS files with non-trunk default branches.


84843 12-Oct-2001 bde

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.


84768 10-Oct-2001 bde

Compensate for "Compensate for header dethreading" by backing it out.


84686 08-Oct-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r84685,
which included commits to RCS files with non-trunk default branches.


84305 01-Oct-2001 markm

Add __FBSDID() to diff-reduce with "base" telnet.


84261 01-Oct-2001 obrien

*** empty log message ***


84019 27-Sep-2001 julian

Quick hack to print out the non-standard pppoe used by 3com


83782 21-Sep-2001 dillon

oops, forgot to commit man page for cvs changes


83653 18-Sep-2001 peter

Userland part of nfs client/server split and cleanup.


83496 15-Sep-2001 dillon

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


83495 15-Sep-2001 dillon

Implement -j for cvs diff, allowing tag:date based diffs (normally date-based
diffs are against the head branch only).

MFC after: 1 week


83099 05-Sep-2001 mp

This commit was generated by cvs2svn to compensate for changes in r83098,
which included commits to RCS files with non-trunk default branches.


83087 05-Sep-2001 obrien

Add the am-utils homepage to SEE ALSO

Submitted by: ru


82825 02-Sep-2001 obrien

Use the native mount and nfs_prot headers.
Also generate nfs_prot_x.c in ANSI-C mode.


82823 02-Sep-2001 obrien

TODO is no longer part of Amd, and we do not need, nor use clnt_sperrno.c.


82822 02-Sep-2001 obrien

Teak -- we were being a little over agressive.


82820 02-Sep-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r82819,
which included commits to RCS files with non-trunk default branches.


82816 02-Sep-2001 obrien

We can use the stock defintion of "MOUNT_NFS3" now.


82815 02-Sep-2001 obrien

Reduce diff from vendor source.


82814 02-Sep-2001 obrien

Update for 6.0.7.


82813 02-Sep-2001 obrien

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.


82811 02-Sep-2001 obrien

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.


82809 02-Sep-2001 obrien

We are returning to the stock (6.0.7) file now.
The security issues were fixed in the vendor sources.


82805 02-Sep-2001 obrien

Merge rev 1.2 (use our native headers for NFSv3), 1.9 (fs header movment)
into Amd 6.0.7.


82804 02-Sep-2001 obrien

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.


82803 02-Sep-2001 obrien

Merge our rev 1.2,3 (use or native files for NFSv3 support)
changes into Amd 6.0.7.


82802 02-Sep-2001 obrien

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.


82801 02-Sep-2001 obrien

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.


82800 02-Sep-2001 obrien

We are returning to the stock (6.0.7) file now.
My "nfsv2" mount option hack was added to the vendor sources.


82799 02-Sep-2001 obrien

We are returning to the stock (6.0.7) file now.
The vendor sources are now POSIX [me harder] compliant.


82798 02-Sep-2001 obrien

We are returning to the stock (6.0.7) file now.
The bufov vulnerability was fixed in the vendor sources.


82797 02-Sep-2001 obrien

Merge rev 1.7 (mount directory change) into Am-utils 6.0.7.


82795 02-Sep-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r82794,
which included commits to RCS files with non-trunk default branches.


82505 29-Aug-2001 roberto

Merge after 4.1.0 import.


82503 29-Aug-2001 roberto

Update for 4.1.0 import.


82502 29-Aug-2001 roberto

Redo the int -> unsigned changes jedgar did. It should have been submitted
back but it was off the vendor branch anyway so...


82499 29-Aug-2001 roberto

This commit was generated by cvs2svn to compensate for changes in r82498,
which included commits to RCS files with non-trunk default branches.


82497 29-Aug-2001 markm

Manually unifdef(1) CRAY, UNICOS, hpux and sun uselsess code.


82495 29-Aug-2001 ache

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


82326 25-Aug-2001 dd

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


82231 23-Aug-2001 asmodai

This commit was generated by cvs2svn to compensate for changes in r82230,
which included commits to RCS files with non-trunk default branches.


82021 21-Aug-2001 gshapiro

Update import information


82020 21-Aug-2001 gshapiro

Resolve conflicts from sendmail 8.11.6 import


82018 21-Aug-2001 gshapiro

This commit was generated by cvs2svn to compensate for changes in r82017,
which included commits to RCS files with non-trunk default branches.


81973 20-Aug-2001 markm

Fix overflow problem when giving a username that is too long.
Also minor declaration/header fixes while auditing the code.


81965 20-Aug-2001 markm

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.


81954 20-Aug-2001 peter

Merge vendor branch onto mainline (try to fix HAVE_KERBEROS)


81867 17-Aug-2001 obrien

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


81749 16-Aug-2001 obrien

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.


81684 15-Aug-2001 ru

MFV: New macro: .Ex.


81683 15-Aug-2001 ru

This commit was generated by cvs2svn to compensate for changes in r81682,
which included commits to RCS files with non-trunk default branches.


81665 15-Aug-2001 horikawa

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


81631 14-Aug-2001 ru

This commit was generated by cvs2svn to compensate for changes in r81630,
which included commits to RCS files with non-trunk default branches.


81622 14-Aug-2001 ru

mdoc(7) police: s/BSD/.Bx/ where appropriate.


81598 13-Aug-2001 peter

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.


81596 13-Aug-2001 ache

Fix uninitialized "force" variable.

PR: 23203
Submitted by: fenner
Approved by: markm


81468 10-Aug-2001 dd

libgmp has been superseded by libmp.


81443 10-Aug-2001 peter

Argh, this could not possibly have worked as it existed in the tree.


81442 10-Aug-2001 peter

Copy our changes from sccs2rcs.csh to sccs2rcs.in


81441 10-Aug-2001 peter

This commit was generated by cvs2svn to compensate for changes in r81440,
which included commits to RCS files with non-trunk default branches.


81438 10-Aug-2001 peter

This commit was generated by cvs2svn to compensate for changes in r81437,
which included commits to RCS files with non-trunk default branches.


81436 10-Aug-2001 peter

This file is gone in cvs-1.11.1p1 (replaced by log.in)


81435 10-Aug-2001 peter

This commit was generated by cvs2svn to compensate for changes in r81434,
which included commits to RCS files with non-trunk default branches.


81428 10-Aug-2001 peter

Re-kill this file. It got whiplash being killed and restored on the
mainline, it is truely dead now.


81427 10-Aug-2001 peter

This commit was generated by cvs2svn to compensate for changes in r81426,
which included commits to RCS files with non-trunk default branches.


81425 10-Aug-2001 peter

This commit was generated by cvs2svn to compensate for changes in r81424,
which included commits to RCS files with non-trunk default branches.


81423 10-Aug-2001 peter

This commit was generated by cvs2svn to compensate for changes in r81422,
which included commits to RCS files with non-trunk default branches.


81421 10-Aug-2001 peter

This commit was generated by cvs2svn to compensate for changes in r81420,
which included commits to RCS files with non-trunk default branches.


81415 10-Aug-2001 peter

This commit was generated by cvs2svn to compensate for changes in r81414,
which included commits to RCS files with non-trunk default branches.


81413 10-Aug-2001 peter

This commit was generated by cvs2svn to compensate for changes in r81412,
which included commits to RCS files with non-trunk default branches.


81408 10-Aug-2001 peter

Tweak for 1.11.1p1


81407 10-Aug-2001 peter

Initial merge of cvs-1.11 -> 1.11.1p1 changes onto mainline. There is
still some suspicious and/or broken stuff to fix yet.


81405 10-Aug-2001 peter

This commit was generated by cvs2svn to compensate for changes in r81404,
which included commits to RCS files with non-trunk default branches.


81341 09-Aug-2001 asmodai

This commit was generated by cvs2svn to compensate for changes in r81340,
which included commits to RCS files with non-trunk default branches.


81251 07-Aug-2001 ru

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.


81187 06-Aug-2001 kris

Don't do unsafe activities inside signal handlers. Just set a flag and
return.

Obtained from: OpenBSD
Reviewed by: audit


80927 01-Aug-2001 obrien

Correct the version number.


80791 01-Aug-2001 gshapiro

Update FreeBSD import information


80789 01-Aug-2001 gshapiro

Resolve conflicts from import of sendmail 8.11.5


80786 01-Aug-2001 gshapiro

This commit was generated by cvs2svn to compensate for changes in r80785,
which included commits to RCS files with non-trunk default branches.


80657 30-Jul-2001 asmodai

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.


80653 30-Jul-2001 asmodai

Resolve conflicts.


80651 30-Jul-2001 asmodai

This commit was generated by cvs2svn to compensate for changes in r80650,
which included commits to RCS files with non-trunk default branches.


80589 30-Jul-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r80588,
which included commits to RCS files with non-trunk default branches.


80509 28-Jul-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r80508,
which included commits to RCS files with non-trunk default branches.


80490 28-Jul-2001 darrenr

fix conflicts created by import


80487 28-Jul-2001 darrenr

This commit was generated by cvs2svn to compensate for changes in r80486,
which included commits to RCS files with non-trunk default branches.


80485 28-Jul-2001 darrenr

This commit was generated by cvs2svn to compensate for changes in r80484,
which included commits to RCS files with non-trunk default branches.


80261 24-Jul-2001 kris

This commit was generated by cvs2svn to compensate for changes in r80260,
which included commits to RCS files with non-trunk default branches.


80234 23-Jul-2001 fenner

Merge tcpdump 3.6.3


80232 23-Jul-2001 fenner

This commit was generated by cvs2svn to compensate for changes in r80231,
which included commits to RCS files with non-trunk default branches.


80224 23-Jul-2001 kris

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.


80038 20-Jul-2001 ru

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.


80018 20-Jul-2001 obrien

This merges in the changes from the 2.11.2 release to the FSF anoncvs
19-July-2001 snapshot.


80017 20-Jul-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r80016,
which included commits to RCS files with non-trunk default branches.


80015 20-Jul-2001 obrien

Update for the Bintuils 2.11.2 import.


79992 19-Jul-2001 ru

vsnprintf() can return a value larger than the buffer size.

Submitted by: assar
Obtained from: OpenBSD


79981 19-Jul-2001 ru

Fixed the exploitable remote buffer overflow.

Reported on: bugtraq
Obtained from: Heimdal, NetBSD
Reviewed by: obrien, imp


79972 19-Jul-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r79971,
which included commits to RCS files with non-trunk default branches.


79969 19-Jul-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r79968,
which included commits to RCS files with non-trunk default branches.


79950 19-Jul-2001 dd

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


79848 18-Jul-2001 ru

This commit was generated by cvs2svn to compensate for changes in r79847,
which included commits to RCS files with non-trunk default branches.


79770 16-Jul-2001 obrien

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


79711 14-Jul-2001 markm

Fix SHA1 hashing.


79710 14-Jul-2001 markm

Usse a better method to get a user's credentials, as uid's may be
legally duplicated.

Requested by: ache


79656 13-Jul-2001 ru

This commit was generated by cvs2svn to compensate for changes in r79655,
which included commits to RCS files with non-trunk default branches.


79653 13-Jul-2001 ru

This page is in man(7) format.


79643 12-Jul-2001 obrien

libiberty file list for the 11-July-2000 import.


79634 12-Jul-2001 ru

Eliminate troff(1) warnings that were hiding some useful text.


79612 12-Jul-2001 ru

Fixed warning:

bc.1:643: warning: numeric expression expected (got `e')


79550 10-Jul-2001 ru

Merge Groff 1.17.2 changes.


79549 10-Jul-2001 ru

Use stock (FSF) version of this file.


79547 10-Jul-2001 ru

This commit was generated by cvs2svn to compensate for changes in r79546,
which included commits to RCS files with non-trunk default branches.


79544 10-Jul-2001 ru

This commit was generated by cvs2svn to compensate for changes in r79543,
which included commits to RCS files with non-trunk default branches.


79528 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


79444 09-Jul-2001 obrien

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


79324 05-Jul-2001 ru

mdoc(7) police: merge all fixes from non-crypto version.


79323 05-Jul-2001 ru

MF non-crypto: 1.13: document -u in usage.


79249 04-Jul-2001 kris

Unbreak "paranoid" host checking, which was broken with the IPv6 code
import.

Submitted by: Tony Finch <dot@dotat.at>


78845 26-Jun-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r78844,
which included commits to RCS files with non-trunk default branches.


78841 26-Jun-2001 obrien

Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints)
into Binutils 2.11.2.


78840 26-Jun-2001 obrien

We use the stock (2.11.2) version of this now.


78839 26-Jun-2001 obrien

Merge rev 1.2 (FreeBSD configuration support) into Binutils 2.11.2.


78838 26-Jun-2001 obrien

We use the stock (2.11.2) version of this file now.


78837 26-Jun-2001 obrien

Use the stock (2.11.2) version of this now.


78836 26-Jun-2001 obrien

Use the vendor's 2.11.2 version of this file as in rev 1.4.


78835 26-Jun-2001 obrien

Merge rev 1.2 (configuration changes to support FreeBSD) into Binutils 2.11.2.


78834 26-Jun-2001 obrien

Really wish this could back on the vendor branch...
Commit the stock 2.11.2 version.


78833 26-Jun-2001 obrien

Merge rev 1.6 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere) into Binutils 2.11.2.


78832 26-Jun-2001 obrien

Merge rev 1.8 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere.) into Binutils 2.11.2.


78831 26-Jun-2001 obrien

Merge our ELF branding into Binutils 2.11.2.


78829 26-Jun-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r78828,
which included commits to RCS files with non-trunk default branches.


78644 23-Jun-2001 ache

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.


78557 21-Jun-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r78556,
which included commits to RCS files with non-trunk default branches.


78461 19-Jun-2001 ru

This commit was generated by cvs2svn to compensate for changes in r78460,
which included commits to RCS files with non-trunk default branches.


78415 18-Jun-2001 ru

Removed duplicate copies of files already present in sys/contrib/ipfilter.

Not objected to by: -arch


78194 14-Jun-2001 peter

Fix libpam's linker set stuff to use the new API (unbreak world), and get
rid of gensetdefs from here as well.


77994 10-Jun-2001 ache

Understand new locale names and Latin15 too


77867 07-Jun-2001 markm

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


77816 06-Jun-2001 ru

Fetch the default maximum TTL value from the net.inet.ip.ttl MIB.

PR: bin/19598
MFC after: 1 week


77725 04-Jun-2001 markm

In the same manner as getpass(3), block SIGINTR and SIGSTP while we are
actually reading the line.


77723 04-Jun-2001 markm

Return an empty string rather than an error at EOF.


77606 02-Jun-2001 obrien

Remove this file that slipped thru FREEBSD-Xlist's actions.


77411 29-May-2001 markm

Bring back from the er, dead some useful PAM modules.


77389 29-May-2001 obrien

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.


77357 28-May-2001 obrien

Update for the Bintuils 2.11.0 import.


77354 28-May-2001 gshapiro

sendmail 8.11.4 has been imported


77352 28-May-2001 gshapiro

Resolve conflicts from 8.11.4 import


77350 28-May-2001 gshapiro

This commit was generated by cvs2svn to compensate for changes in r77349,
which included commits to RCS files with non-trunk default branches.


77319 28-May-2001 obrien

Merge rev 1.2 into Binutils 2.11[.0].
Teach `ld' how to access FreeBSD's ld ELF hints.


77318 28-May-2001 obrien

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.


77317 28-May-2001 obrien

We use the stock version of this file.


77316 28-May-2001 obrien

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.


77315 28-May-2001 obrien

Merge rev 1.2 (FreeBSD configuration support) into Binutils 2.11[.0].


77313 28-May-2001 obrien

Use the stock version of this file now.
I committed our rev 1.2 fix into the FSF/GNU tree.


77312 28-May-2001 obrien

We use the stock version of this file now.
I folded our rev 1.2 localizations into the FSF/GNU tree.


77311 28-May-2001 obrien

Return to the vendor's version of this file.


77310 28-May-2001 obrien

Add a minor tweak for us that I failed to get committed to the stock 2.11.


77309 28-May-2001 obrien

Return to the vendor's version of this file.

(have I mentioned how fscking stupid CVS can be??)


77308 28-May-2001 obrien

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)


77307 28-May-2001 obrien

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...)


77304 28-May-2001 obrien

CVS is too stupid to realize we use the stock version of this file now.


77303 28-May-2001 obrien

Merge rev 1.6 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere) into Binutils 2.11[.0].


77302 28-May-2001 obrien

Merge rev 1.8 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere.) into Binutils 2.11[.0].


77301 28-May-2001 obrien

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.


77299 28-May-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r77298,
which included commits to RCS files with non-trunk default branches.


77193 25-May-2001 obrien

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>


77162 25-May-2001 ru

- sys/msdosfs moved to sys/fs/msdosfs
- msdos.ko renamed to msdosfs.ko
- /usr/include/msdosfs moved to /usr/include/fs/msdosfs


77105 24-May-2001 dillon

Oops, forgot the 'u' in the getopt for the previous commit.


77095 23-May-2001 dillon

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>


76751 17-May-2001 nsayer

Make the PAM user-override actually override the correect thing.


76733 17-May-2001 peter

This commit was generated by cvs2svn to compensate for changes in r76732,
which included commits to RCS files with non-trunk default branches.


76730 17-May-2001 peter

Merge changes from vendor branch to mainline.


76727 17-May-2001 peter

This commit was generated by cvs2svn to compensate for changes in r76726,
which included commits to RCS files with non-trunk default branches.


76712 17-May-2001 peter

Back out last commit. This was already fixed. This should never have
happened, this is why we have commit mail expressly delivered to
committers.


76711 17-May-2001 peter

Fix the latest telnet breakage. Obviously this was never compiled.


76697 16-May-2001 nsayer

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.


76696 16-May-2001 nsayer

Make sure the protocol actively rejects bad data rather than
(potentially) not responding to an invalid SRA 'auth is' message.


76691 16-May-2001 nsayer

srandomdev() affords us the opportunity to radically improve, and at the
same time simplify, the random number selection code.


76690 16-May-2001 nsayer

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


76689 16-May-2001 nsayer

Catch malloc return failures. This should help avoid dereferencing NULL on
low-memory situations.

Submitted by: kris


76677 16-May-2001 markm

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


76616 15-May-2001 peter

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. :-(


76610 15-May-2001 nsayer

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.


76601 14-May-2001 obrien

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.


76499 12-May-2001 obrien

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>


76467 11-May-2001 markm

Add utility PAMs for finer userland control


76339 07-May-2001 nsayer

Pointy hat fix -- reapply the SRA PAM patch. To -current this time.


76241 03-May-2001 markm

Resolve conflicts.


76239 03-May-2001 markm

This commit was generated by cvs2svn to compensate for changes in r76238,
which included commits to RCS files with non-trunk default branches.


76232 03-May-2001 obrien

* 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.


76170 01-May-2001 markm

Compensate for dethreaded headers.
(I have no religion about how this was done. Follow-up commits welcome)


76025 26-Apr-2001 ru

Fix usage of GROFF_BIN_PATH.


75940 25-Apr-2001 obrien

Update for file 3.35.


75938 25-Apr-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r75937,
which included commits to RCS files with non-trunk default branches.


75807 21-Apr-2001 ache

Move manpages to their original location (cvs copy to doc)


75670 18-Apr-2001 ru

mdoc(7) police: normalize .Nd.


75602 17-Apr-2001 ru

Update upgrade instructions.


75598 17-Apr-2001 ru

FreeBSD provides its own version of this OS-specific file.


75591 17-Apr-2001 ru

Removed yacc(1) output files.


75590 17-Apr-2001 ru

Merge Groff 1.17 changes.


75589 17-Apr-2001 ru

Use stock (FSF) version of this file.


75588 17-Apr-2001 ru

This commit was generated by cvs2svn to compensate for changes in r75587,
which included commits to RCS files with non-trunk default branches.


75587 17-Apr-2001 ru

Removed files not present in v1.17 import.


75585 17-Apr-2001 ru

This commit was generated by cvs2svn to compensate for changes in r75584,
which included commits to RCS files with non-trunk default branches.


75583 17-Apr-2001 sobomax

Update/improve Ukrainian translation.

Submitted by: Olexander Kunytsa <kunia@istc.kiev.ua> (author of translation)


75499 14-Apr-2001 obrien

Remove the filename_completion_function() extern that conflicts with the
latest version of this fuction in Readline 4.2


75465 13-Apr-2001 ru

mdoc(7) police: removed hard sentence breaks introduced in rev.1.10.


75446 12-Apr-2001 ache

Activate backward-compatible prototypes


75417 11-Apr-2001 obrien

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


75411 11-Apr-2001 ache

Remove conflicting readline prototype


75409 11-Apr-2001 ache

Merge local changes


75407 11-Apr-2001 ache

This commit was generated by cvs2svn to compensate for changes in r75406,
which included commits to RCS files with non-trunk default branches.


75400 11-Apr-2001 obrien

Remove MIPS support.
It has rotted quite badly and no one has provided updates for it.


75399 10-Apr-2001 obrien

Removed these old 2.9.x files.


75387 10-Apr-2001 ru

psroff(1) has never been a part of Groff.


75337 09-Apr-2001 ru

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


75263 06-Apr-2001 nsayer

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).


75260 06-Apr-2001 jedgar

Do not log every potential exploit attempt since a denial-of-service
may result.


75259 06-Apr-2001 jedgar

- 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)


75236 05-Apr-2001 nsayer

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.


75225 05-Apr-2001 ru

Record -lposix1e death.


75202 04-Apr-2001 phk

Fix a potential ROOT-exploit in NTPD.

PR: 26358
Reviewed by: dima


75148 04-Apr-2001 fenner

This commit was generated by cvs2svn to compensate for changes in r75147,
which included commits to RCS files with non-trunk default branches.


75118 03-Apr-2001 fenner

Merge tcpdump 3.6.2


75116 03-Apr-2001 fenner

This commit was generated by cvs2svn to compensate for changes in r75115,
which included commits to RCS files with non-trunk default branches.


75110 03-Apr-2001 fenner

Merge libpcap 0.6.2


75108 03-Apr-2001 fenner

This commit was generated by cvs2svn to compensate for changes in r75107,
which included commits to RCS files with non-trunk default branches.


75035 31-Mar-2001 obrien

Consistently space the output.


75011 30-Mar-2001 obrien

Change "*coff*" to "coff*" so that the pattern will not dike out xcoffsolib.h.
I'll revisit the pattern on the next import.


75010 30-Mar-2001 gshapiro

Forgot to update this README when I imported 8.11.3


75009 30-Mar-2001 obrien

Remove these MD files that we've never needed.


75008 30-Mar-2001 obrien

Remove this auto-generated file (and isn't part of 5.0 as it shouldn't be).


75007 30-Mar-2001 obrien

Remove these GDB 4.18 docs that did not make it into 5.0.


75004 29-Mar-2001 obrien

Remove this GDB 4.18 file that is no longer part of GDB [5.0].


74787 25-Mar-2001 obrien

Update for file 3.34.


74785 25-Mar-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r74784,
which included commits to RCS files with non-trunk default branches.


74744 24-Mar-2001 obrien

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.


74723 24-Mar-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r74722,
which included commits to RCS files with non-trunk default branches.


74602 21-Mar-2001 ache

Don't attempt to parse %c


74486 19-Mar-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r74485,
which included commits to RCS files with non-trunk default branches.


74484 19-Mar-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r74483,
which included commits to RCS files with non-trunk default branches.


74482 19-Mar-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r74481,
which included commits to RCS files with non-trunk default branches.


74479 19-Mar-2001 obrien

Remove some files that are no longer in the FSF branch.


74478 19-Mar-2001 obrien

Merge gcc-2.95.3 changes onto mainline. Update FreeBSD changes to converge
with changes made in the FSF tree.


74474 19-Mar-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r74473,
which included commits to RCS files with non-trunk default branches.


74411 18-Mar-2001 nsayer

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.


74172 12-Mar-2001 ru

.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'')


74138 12-Mar-2001 assar

enable auto-negotiation of encrypt and decrypt


73570 05-Mar-2001 kris

This commit was generated by cvs2svn to compensate for changes in r73569,
which included commits to RCS files with non-trunk default branches.


73394 03-Mar-2001 kris

This commit was generated by cvs2svn to compensate for changes in r73393,
which included commits to RCS files with non-trunk default branches.


73349 02-Mar-2001 ru

setlocale(3) has been fixed to match POSIX standard:
LC_ALL takes precedence over other LC_* envariables.


73325 02-Mar-2001 obrien

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.


73305 02-Mar-2001 obrien

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.


73304 02-Mar-2001 obrien

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).


73274 01-Mar-2001 ru

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


73273 01-Mar-2001 ru

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


73272 01-Mar-2001 ru

mdoc(7) police: misc fixes.


73243 28-Feb-2001 obrien

Stylistic changes mirroring ones done in the FSF/GNU 3.0 development sources.


73191 28-Feb-2001 gshapiro

Repair 8.11.3 merge conflicts


73189 28-Feb-2001 gshapiro

This commit was generated by cvs2svn to compensate for changes in r73188,
which included commits to RCS files with non-trunk default branches.


73091 26-Feb-2001 ru

Synch with NetBSD and OpenBSD: replace -iso9945-1 with -p1003.1-96.


73089 26-Feb-2001 ru

Revert part of rev 1.2: make -ansiC equivalent to -ansiC-89.


73081 26-Feb-2001 ru

Do not output extra space after .Ef call.

Ported from: mdocNG


73068 26-Feb-2001 kris

Resolve conflicts


73065 26-Feb-2001 kris

This commit was generated by cvs2svn to compensate for changes in r73064,
which included commits to RCS files with non-trunk default branches.


72942 23-Feb-2001 ru

Make ``groff -man'' work again for both man(7) and mdoc(7) manpages.
The new Groff release will support this feature.

Requested by: peter


72936 23-Feb-2001 peter

Flip the default for CVS_RSH to "ssh". I am tired of getting asked this
all the time, and IMHO it is long overdue.


72910 22-Feb-2001 gshapiro

Return to the code as distributed by sendmail.org. This eliminates a
warning on Alphas. It is still not the perfect solution for machines
which sizeof(u_long) != sizeof(void *) but it is as close as we are going
to get for now and consistent with the rest of the code. 8.12 has solved
this problem by providing a portable snprintf() which understands %p.

PR: bin/14142


72849 22-Feb-2001 gshapiro

Document the vacation -d and -l options

PR: docs/22875


72690 19-Feb-2001 ru

Do not output extra comma before "and" for references with two authors.

Example:
.Rs
.%A Author1
.%A Author2
.%B Book
.Re

Produced:
Author1, and Author2, Book.

Now produces:
Author1 and Author2, Book.

Ported from: mdocNG


72572 17-Feb-2001 asmodai

This commit was generated by cvs2svn to compensate for changes in r72571,
which included commits to RCS files with non-trunk default branches.


72570 17-Feb-2001 asmodai

Remove old DNS setup document. We have long past the times where
BIND 4 was the thing of the day.


72566 17-Feb-2001 obrien

Merge rev 1.2 (-fformat-extensions); 1.{7,9} (complain about -O2 on the
Alpha & FORCE_OPTIMIZATION_DOWNGRADE); 1.8 (-Wnon-const-format)
into GCC 2.95.3(RC#3).


72564 17-Feb-2001 obrien

Merge gcc-2.95.3-test3 changes onto mainline. Bump FreeBSD cc version.


72563 17-Feb-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r72562,
which included commits to RCS files with non-trunk default branches.


72532 16-Feb-2001 ru

SEE ALSO is the special name, and should not be taken in quotes,
since -mdoc checks for the "SEE" word only to set its variables.
In the SEE ALSO section, -mdoc automatically emits an empty line
before each new reference.


72478 14-Feb-2001 ru

1. Disable the recognition of the last dot character in the
default .Ar argument as an end-of-sentence character.

Example:
.Ar
foo
Produced:
file ... foo
Now produces:
file ... foo

2. Fixed an off-by-one bug in the .It macro for the -hang lists.

Example:
.Bl -hang -width 8n -compact
.It 1234
OK
.It 1234567
OK
.It 12345678
BUG
.El
Produced:
1234 OK
1234567 OK
12345678 BUG
Now produces:
1234 OK
1234567 OK
12345678 BUG

Ported from: mdocNG


72159 08-Feb-2001 ru

Fixed the .St strings so that no single-character component of
the name could be wrapped, e.g. ``ISO C'' is always printed on
the same line.

Ported from: mdocNG


72158 08-Feb-2001 ru

Fixed the .Xr macro so that it produces the right spacing
and no hyphenation is possible on a dash (`-') character.

Ported from: mdocNG


72151 08-Feb-2001 obrien

Bump __FreeBSD_cc_version to 500002 to show the -pthread option change.


72139 07-Feb-2001 asmodai

Synch: Add $FreeBSD$.


72129 07-Feb-2001 ru

1. Disable hyphenation on a dash (`-') character in macro arguments.
2. Disable recognition of end-of-sentence characters in text-type
macro arguments.
3. Fix the missing space bug when an end-of-sentence character was
followed by another punctuation character.
4. Fix the bug where hyphenation was left disabled after .Re.

Obtained from: mdocNG


72125 07-Feb-2001 ru

Add a missing line-break request so that -ragged
-compact lists always start from the new line.

Example:

foo
.Bd -ragged -compact
bar
.Ed

Produced:

foo bar

Now produces:

foo
bar


72093 06-Feb-2001 asmodai

Fix typo: compatability -> compatibility.

Compatability is not an existing english word.


72089 06-Feb-2001 asmodai

Fix typo: seperate -> separate.

Seperate does not exist in the english language.

Submitted to look at by: kris


72083 06-Feb-2001 asmodai

Fix typo: wierd -> weird.

There is no such thing as wierd in the english language.


72006 04-Feb-2001 darrenr

fix conflicts


72004 04-Feb-2001 darrenr

This commit was generated by cvs2svn to compensate for changes in r72003,
which included commits to RCS files with non-trunk default branches.


71899 01-Feb-2001 ru

mdoc(7) police: split punctuation characters + misc fixes.


71894 01-Feb-2001 ru

Make the exclamation mark (`!') a recognizable punctuation character.

Obtained from: mdocNG


71837 30-Jan-2001 asmodai

Update port_after.h to reflect FreeBSD values.


71759 28-Jan-2001 asmodai

Resolve conflicts after import.


71757 28-Jan-2001 asmodai

This commit was generated by cvs2svn to compensate for changes in r71756,
which included commits to RCS files with non-trunk default branches.


71646 25-Jan-2001 jdp

Make the "-pthread" option work again, now that libc_r has to be
linked in addition to libc rather than instead of libc.

Ideally, "-pthread" would now be equivalent to adding "-lc_r" to the
end of the link command. But it is slightly different in this
implementation. Adding "-lc_r" to the link command would produce a
"ld" command line containing this:

... -lc_r /usr/lib/libgcc.a -lc /usr/lib/libgcc.a ...

but this implementation of the "-pthread" option produces this:

... /usr/lib/libgcc.a -lc_r -lc /usr/lib/libgcc.a ...

It would be possible to make them identical, but that doesn't fit
as nicely into GCC's way of doing things. I don't think the ordering
change will make any difference in practice.


71590 24-Jan-2001 ben

Add entry for libcipher.


71587 24-Jan-2001 ru

-pthread -> -lc_r


71349 21-Jan-2001 gshapiro

Update FreeBSD import README


71348 21-Jan-2001 gshapiro

Repair 8.11.2 merge conflicts


71346 21-Jan-2001 gshapiro

This commit was generated by cvs2svn to compensate for changes in r71345,
which included commits to RCS files with non-trunk default branches.


71263 19-Jan-2001 ru

mdoc(7) police: removed leading whitespaces that are not inside
Bd/Ed; these hardly degrade the quality of the produced output.


71173 17-Jan-2001 ru

Add librpcsvc.


71045 14-Jan-2001 dwmalone

Make tcpwrappers use the magic in syslog.h for getting syslog facility
and level names.

Add FreeBSD tag.

PR: 24218
Approved by: markm


70971 12-Jan-2001 ru

Reduce diffs (mostly whitespace) to mdocNG.

Obtained from: mdocNG through NetBSD


70970 12-Jan-2001 ru

Make .Ft and .Vt macros accept punctuation characters as
arguments, make .Vt usable outside the SYNOPSIS section.

Obtained from: mdocNG (not yet submitted for inclusion)


70920 11-Jan-2001 ru

Fixed the ``undesirable hyphenation'' problem, most noticeable with Xr.

Obtained from: mdocNG


70919 11-Jan-2001 ru

Fixed the bug in D1 macro where it would eat its first (text) argument.

Obtained from: mdocNG


70890 10-Jan-2001 ru

Prepare for mdoc(7)NG.


70886 10-Jan-2001 ru

Prepare for mdoc(7)NG.


70883 10-Jan-2001 ru

Prepare for mdoc(7)NG.


70735 07-Jan-2001 archie

When pcap_compile() detects an error, it longjmp()'s out of the
scanner/parser. FreeBSD recently made 'flex' its default implementation
of 'lex'. One of the incompatibilities of 'flex' vs. 'lex' is that
if you longjmp() out of the scanner, you must call yyrestart()
before doing another scan (as documented in flex(1)). So add an
invocation to yyrestart() in lex_init(). This change should be
backwards compatible with the original 'lex'.

PR: bin/24116


70662 04-Jan-2001 obrien

Upgrade instructions that describe the 11-July-2000 import.


70641 03-Jan-2001 ben

more(3) -> more(1), and add $FreeBSD$

PR: 24033
Submitted by: Rich Morin <rdm@cfcl.com>


70640 03-Jan-2001 obrien

Merge rev 1.2 (-fformat-extensions); 1.{7,9} (complain about -O2 on the
Alpha & FORCE_OPTIMIZATION_DOWNGRADE); 1.8 (-Wnon-const-format)
into GCC 2.95.3(RC#1).


70639 03-Jan-2001 obrien

Merge gcc.2.95.3-test1 changes onto mainline


70638 03-Jan-2001 obrien

Merge gcc 2.95.3-test1 changes onto vendor branch


70636 03-Jan-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r70635,
which included commits to RCS files with non-trunk default branches.


70051 15-Dec-2000 ru

Fixed the ``no space after a .Fl'' problem.

Example:

.Fl flag .
The space is missing.

Obtained from: mdocNG


70033 14-Dec-2000 alfred

Adapt to new struct kinfo_proc and unbreak world.
Apologies to: darrenr who is maintainer


70030 14-Dec-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r70029,
which included commits to RCS files with non-trunk default branches.


70014 14-Dec-2000 ru

Prepare for FreeBSD 4.3, we already have the manpage that refers to it.


69825 10-Dec-2000 assar

(scrub_env): change to only accept a listed set of variables,
including only non-filename contents for TERMCAP


69680 06-Dec-2000 ru

Do not duplicate our efforts checking FreeBSD version. For a new version,
simply define the empty string before the .Fx macro definition, like this:

.ds Fx*4.3


69679 06-Dec-2000 ru

Install the stock (as supplied by groff(1) distribution) tmac.an
and tmac.andoc files. The man(1), catman(1) and bsd.man.mk have
been modified to call groff(1) with -mandoc argument.


69678 06-Dec-2000 ru

Backout rev 1.2 (emulate `:o' and `/o' letters using 'o'),
since they are already emulated in tmac.tty-char.


69671 06-Dec-2000 ru

Reduce the diffs with the stock (FSF) version.


69669 06-Dec-2000 ru

Backout rev 1.2 (workaround for gcc 2.60 expression evaluation
bug) as later versions of gcc have apparently this bug fixed.


69667 06-Dec-2000 ru

Use stock (FSF) version of this file.


69631 05-Dec-2000 ru

Resolve conflicts after v1.16.1 import.


69630 05-Dec-2000 ru

Removed yacc(1) output files.


69629 05-Dec-2000 ru

Removed files not present in v1.16.1 import.


69627 05-Dec-2000 ru

This commit was generated by cvs2svn to compensate for changes in r69626,
which included commits to RCS files with non-trunk default branches.


69483 01-Dec-2000 ru

This commit was generated by cvs2svn to compensate for changes in r69482,
which included commits to RCS files with non-trunk default branches.


69474 01-Dec-2000 sheldonh

Catch up to perl-5.6.0.


69463 01-Dec-2000 obrien

Update the 3-June-2000 import delete list to keep mkdeps.[ch] which
is needed by the new C preprocessor.


69460 01-Dec-2000 obrien

Comment an endif.


69412 30-Nov-2000 ache

This file not present in 6.10


69409 30-Nov-2000 ache

This commit was generated by cvs2svn to compensate for changes in r69408,
which included commits to RCS files with non-trunk default branches.


69389 30-Nov-2000 asmodai

Add more environment variables to be filtered through scrub_env().
Synched from normal telnet.


69387 30-Nov-2000 asmodai

String paranoia fix. Synched from normal telnet.


69384 30-Nov-2000 asmodai

String paranoia. Merged from regular telnet.


69223 26-Nov-2000 kris

Correct definition of MAXHOSTNAMELEN in ifdef'ed code.

Submitted by: Edwin Groothuis <mavetju@chello.nl>
PR: bin/22787


69219 26-Nov-2000 obrien

Information on how I did the import and upgrade instructions.


69217 26-Nov-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r69216,
which included commits to RCS files with non-trunk default branches.


69181 26-Nov-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r69180,
which included commits to RCS files with non-trunk default branches.


69160 25-Nov-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r69159,
which included commits to RCS files with non-trunk default branches.


69158 25-Nov-2000 obrien

Remove binutils 2.9.1 files that are not part of 2.10.x.


69157 25-Nov-2000 obrien

Remove binutils 2.9.1 files that are not part of 2.10.x.


69132 25-Nov-2000 obrien

Remove this binutils 2.8.1 file that was never part of any FreeBSD release.


69131 25-Nov-2000 obrien

Remove this binutils 2.8.1 file that was never part of any FreeBSD release.


69091 23-Nov-2000 obrien

Update for the Bintuils 2.10.1 import.


69087 23-Nov-2000 ben

Add the appropriate magic to make .Fx 4.1.1 work.


69024 22-Nov-2000 ru

Make An macro understand two special arguments, -nosplit
and -split. See the mdoc.samples(7) manpage for details.

Reviewed by: sheldonh


68965 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


68950 20-Nov-2000 sheldonh

Add libcompat record for .Lb macro.


68891 19-Nov-2000 kris

Fix a buffer overflow from a long local hostname.

Obtained from: OpenBSD


68879 18-Nov-2000 ru

While in the SYNOPSIS section, Nm macro always required an
argument to setup indentation for the rest of the synopsis
line and to automatically emit a line break for a non-first
synopsis line. It does not require it anymore.

The following now works as expected:

.Sh NAME
.Nm utility
.Sh SYNOPSIS
.Nm
.Cm start
.Nm
.Cm stop


68858 17-Nov-2000 ru

Return to the stock version of this file as local FreeBSD mods
to it have been made in mdoc(7) format, but now it is again in
man(7) format, and the vendor apparently incorporated our mods.


68856 17-Nov-2000 ru

Fixed Nm macro so that it accepts punctuation characters as argument.
For example, neither of the following worked before:

.Nm , name,
.Nm . name.
.Nm : name:
.Dq Nm ``name''
.Op Nm . [name].


68832 16-Nov-2000 ru

Make the question mark (`?') a valid punctuation character.
One can now, for example, write:

.Sh EXAMPLES
Have you read the
.Xr mdoc 7 ?
.Pp
Do you like
.Fx ?

The mdoc.samples(7) page has been automatically updated to
record this change.


68828 16-Nov-2000 ru

Fix problem with extra space after an Xr, because aZ was being called twice.
Fix the no-space-after-a-period-in-macro problem.

Obtained from: NetBSD


68779 15-Nov-2000 obrien

dyn-string.* moved to libiberty/ and include/.


68778 15-Nov-2000 obrien

Merge rev 1.2 into Binutils 2.10.1.

Teach `ld' about FreeBSD (ie, fix the All the World's Linux) and how to
access our ld ELF hints.


68777 15-Nov-2000 obrien

Merge conflicts. Adds revs 1.2 and 1.3 (FreeBSD configuration support),
and preliminary sparc, strongarm, PPC FreeBSD support to Binutils 2.10.1.


68776 15-Nov-2000 obrien

Merge rev 1.2 (FreeBSD configuration support) into Binutils 2.10.1.


68775 15-Nov-2000 obrien

Merge conflicts into Binutils 2.10.1.
This fixes the i386 config bits, merge in the Alpha bits, and adds
arm32 & sparc bits.


68774 15-Nov-2000 obrien

We use the stock version of this file now.


68773 15-Nov-2000 obrien

Return to the vendor's version of this file as in rev 1.4.


68771 15-Nov-2000 obrien

We use the stock version of this file now.
(Our needs have been addressed by the Binutils maintainers)


68770 15-Nov-2000 obrien

Only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined elsewhere.

FreeBSD does not adhear to the System V 64-bit ABI for the dynamic
[linker] interpreter, and thus must override this value.


68769 15-Nov-2000 obrien

Only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined elsewhere.

FreeBSD does not adhear to the Intel386 System V ABI for the dynamic
[linker] interpreter, and thus must override this value.


68767 15-Nov-2000 obrien

Merge our ELF branding into Binutils 2.10.1.


68766 15-Nov-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r68765,
which included commits to RCS files with non-trunk default branches.


68716 14-Nov-2000 ru

Use Fx macro wherever possible.


68683 13-Nov-2000 ru

Fixed the last-minute bug I have made in previous revision (.ie -> .if).


68679 13-Nov-2000 ru

Really make the Fx macro parsed and callable.


68674 13-Nov-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r68673,
which included commits to RCS files with non-trunk default branches.


68672 13-Nov-2000 obrien

remove files not needed.


68671 13-Nov-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r68670,
which included commits to RCS files with non-trunk default branches.


68601 11-Nov-2000 obrien

Properly format the SUBTARGET_SWITCHES so that ``gcc -v --help'' prints
them out.

PR: 19326
Submitted by: Naohiko Tsuji <yakisoba@f2.dion.ne.jp>


68575 10-Nov-2000 ru

Avoid use of direct troff requests in mdoc(7) manual pages.


68452 07-Nov-2000 obrien

Remove the -kthread option that matched [sort of] the LinuxThreads port.
This option depended on bits not part of the base system and required
people to install the LinuxThreads port in a manner non-consistent with
the workings of our Ports Collection.
The directions for properly linking with LinuxThreads are given by that
port at install time.

Requested by: jasone


68397 06-Nov-2000 asmodai

This commit was generated by cvs2svn to compensate for changes in r68396,
which included commits to RCS files with non-trunk default branches.


68350 05-Nov-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r68349,
which included commits to RCS files with non-trunk default branches.


68333 04-Nov-2000 kris

This commit was generated by cvs2svn to compensate for changes in r68332,
which included commits to RCS files with non-trunk default branches.


68329 04-Nov-2000 obrien

* Consistently use the `make_resolv_conf' function.
* Better handling of the 127.0.0.1 route.
* Minor style tweak to reduce diffs from v3 script and ours.

Obtained from: ISC v3 client script


68326 04-Nov-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r68325,
which included commits to RCS files with non-trunk default branches.


68323 04-Nov-2000 obrien

Fix conflicts.


68321 04-Nov-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r68320,
which included commits to RCS files with non-trunk default branches.


68293 03-Nov-2000 imp

Fix another possible bufer overflow in top.

PR: bin/22496


68076 31-Oct-2000 asmodai

Resolve conflicts.


68074 31-Oct-2000 asmodai

This commit was generated by cvs2svn to compensate for changes in r68073,
which included commits to RCS files with non-trunk default branches.


68070 31-Oct-2000 asmodai

Resolve conflicts.


68069 31-Oct-2000 asmodai

This commit was generated by cvs2svn to compensate for changes in r68068,
which included commits to RCS files with non-trunk default branches.


67965 30-Oct-2000 obrien

Start using crt[in].o to adhear to the ELF ABI
(and crtstuff.c's requirements).


67954 30-Oct-2000 obrien

Catch a left over reference to "/a".


67858 29-Oct-2000 darrenr

fix conflicts created by import


67856 29-Oct-2000 darrenr

This commit was generated by cvs2svn to compensate for changes in r67855,
which included commits to RCS files with non-trunk default branches.


67839 29-Oct-2000 jdp

Fix a bug that shows up when checking out files by date with the
"-D date" command line option. There is code in the original to
handle a special case. If the date search finds revision 1.1 it
is supposed to check whether revision 1.1.1.1 has the same date
stamp, which would indicate that the file was originally brought
in with "cvs import". In that case it is supposed to return the
vendor branch version 1.1.1.1.

However, there is a bug in the code. It actually compares the date
of revision 1.1 for equality with the date given on the command
line -- clearly wrong. This commit fixes the coding bug.

There is an additional bug which is _not_ fixed in this commit.
The date comparison should not be a strict equality test. It should
allow a fudge factor of, say, 2-3 seconds. Old versions of CVS
created the two revisions with two separate invocations of the RCS
"ci" command. We have many old files in the tree in which the
dates of revisions 1.1 and 1.1.1.1 differ by 1 second.

Approved by: peter


67827 29-Oct-2000 kris

Sync with usr.bin/telnet/telnet.c r1.9 - fix buffer overflow in DISPLAY


67682 27-Oct-2000 obrien

Defining usage() "__dead" is just ridiculous. It also won't compile with
a June 2000 GCC 2.96 snapshot.

Reviewed by: bde


67618 26-Oct-2000 darrenr

fix conflicts from rcsids


67616 26-Oct-2000 darrenr

This commit was generated by cvs2svn to compensate for changes in r67615,
which included commits to RCS files with non-trunk default branches.


67148 15-Oct-2000 obrien

Remove GLOBAL -- it has moved to Ports.

Approved by: unanimous response on arch@freebsd.org (June time frame)


67069 13-Oct-2000 obrien

Helper to trim extracted files for use when importing new versions of
gperf. This version coresponds to the gerpf 2.7.2 import.


67065 13-Oct-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r67064,
which included commits to RCS files with non-trunk default branches.


67060 13-Oct-2000 obrien

Helper listing file specs to remove from a FSF/GCC anoncvs checkout
before importing new versions of GCC. This differs from FREEBSD-Xlist
in that this is for use only with anoncvs checkouts, not tarball'ed
releases [snapshots].

This delete list applies to the 3-June-2000 import.


67059 13-Oct-2000 obrien

Upgrade instructions that describe the 3-June-2000 import.


66973 11-Oct-2000 ru

Cleaned up the .St macro.

Obtained from: NetBSD


66967 11-Oct-2000 peter

Merge ncurses vendor changes (v5_1_20000701->v5_1_20001009) onto mainline


66964 11-Oct-2000 peter

This commit was generated by cvs2svn to compensate for changes in r66963,
which included commits to RCS files with non-trunk default branches.


66953 10-Oct-2000 obrien

Add a macro for ISO C99 ("isoC-99").


66949 10-Oct-2000 gshapiro

Add FreeBSD-only options to the getopt string

PR: 21544
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>


66810 08-Oct-2000 kris

Don't write past the end of our fd_set

Obtained from: OpenBSD, via KAME


66809 08-Oct-2000 kris

Format string paranoia.


66749 06-Oct-2000 ru

Fix the `missing footer' problem. See the comment for details.

Obtained from: NetBSD


66644 05-Oct-2000 kris

* Buffer-safe string function cleanup. There are a couple of strcpy()
and strcat()s which would be more difficult to fix, but I think they're
safe anyway.
* Don't crash at runtime by overflowing a buffer with constant data in
print-icmp.c on a long hostname.
* Don't overflow a static buffer by trying to decode an AFS ACL into a buffer
which is way too small for it.

Reviewed by: -audit


66641 04-Oct-2000 imp

display.c: sprintf -> snprintf
top.c: fix from NetBSD/OpenBSD: make sure that new_message() is called
with a format.

Add $FreeBSD$ While I'm here.

These files are already off the vendor branch.


66528 02-Oct-2000 peter

Merge changes from 1.10.7 -> 1.11 into mainline. Note that the old
anoncvs no-password hack is gone and is replaced by the official version.


66526 02-Oct-2000 peter

This commit was generated by cvs2svn to compensate for changes in r66525,
which included commits to RCS files with non-trunk default branches.


66508 01-Oct-2000 gshapiro

Add missing FreeBSD-only flag to the usage statement.


66498 01-Oct-2000 gshapiro

Update FreeBSD import information after sendmail 8.11.1 import


66497 01-Oct-2000 gshapiro

Fix conflicts from merge of sendmail 8.11.1


66495 01-Oct-2000 gshapiro

This commit was generated by cvs2svn to compensate for changes in r66494,
which included commits to RCS files with non-trunk default branches.


66492 01-Oct-2000 gshapiro

Remove Build files -- they rely on the devtools system which isn't imported
(or used)


66361 25-Sep-2000 peter

Missing quote

PR: misc/19745
Submitted by: Tony Finch <dot@dotat.at>


66329 25-Sep-2000 ume

- reject numeric address
- validate scope in sockaddr comparison logic

patch was originally submitted by itojun and slightly modified by me.

Reviewed by: itojun, kris


66297 23-Sep-2000 ume

Don't touch ai_canonname without checking NULL. Current
implementation of getaddrinfo() may return NULL ai_canonname.
There is no consensus how getaddrinfo() should fill ai_canonname
when numeric hostname is given.

Reported by: kris


66238 22-Sep-2000 ru

Removed files not present in v1_15 import.


66171 21-Sep-2000 ru

Fixed the `mysterious blank lines' problem. This was due to unconditional
use of the .ne requests. groff(1) apparently inserts some virtual trap at
the end of each page, and this was causing the .ne request to output extra
lines. Solution is to only use them in troff mode.

Also fixed a related bug in .It macros, where it would insert a page break
in the middle of a sentence.

Removed the end of page trap in nroff mode, as this causes .sp requests to
sometimes eat the space due to the nearby trap.

Removed blank line that appeared as the first line on each nroff-formatted
manual page.

Obtained from: NetBSD


65937 16-Sep-2000 peter

Don't declare ospeed as a common - and it happens to be incorrect as well.
top doesn't use it and it causes a linker warning.


65889 15-Sep-2000 green

Also coerce diff(1) into working the other way (from no-\n to \n).
Taking out the evil warning fixed it one way, but didn't make the
other way any better, so replace it with printing a single \n.


65529 06-Sep-2000 brian

Revert my last change. libutil.h is still required for setusercontext()
and unistd.h is already included.

Requested by: gshapiro


65435 04-Sep-2000 sheldonh

Fix bug that causes gawk to choke when parsing long source files.

Reported by: Tony Fleisher <takhus@takhus.mind.net>
Submitted by: Aharon Robbins <arnold@skeeve.com>


65353 02-Sep-2000 brian

Move setproctitle() from libutil to libc (after a repo-copy)
and bump __FreeBSD_version to 500012 to mark the occasion.

setproctitle() is prototyped in unistd.h as opposed to stdlib.h
where OpenBSD and NetBSD have it.

Reviewed by: peter


65318 01-Sep-2000 ru

Teach .Fx and .Os about FreeBSD 4.2.


65309 01-Sep-2000 obrien

Document change to the default mount dir.


65308 01-Sep-2000 obrien

Since this is off the vendor branch, might as well change the default
mounting directory to what we always specify in /etc/defaults/rc.conf.


65201 29-Aug-2000 phantom

Add libusb record for .Lb macro


65017 23-Aug-2000 kris

This commit was generated by cvs2svn to compensate for changes in r65016,
which included commits to RCS files with non-trunk default branches.


64961 22-Aug-2000 phantom

Ukrainian message catalogs for vi.

Submitted by: Kunytsa Oleksander <kunia@snark.ukma.kiev.ua>


64872 20-Aug-2000 markm

Resolve conflicts.


64867 20-Aug-2000 markm

This commit was generated by cvs2svn to compensate for changes in r64866,
which included commits to RCS files with non-trunk default branches.


64675 15-Aug-2000 sheldonh

Describe the process used for the gawk-3.0.6 update in
FREEBSD-upgrade and remove the config.h which should never
have existed in the contrib area. That file has been moved
into gnu/usr.bin/awk where it belongs.


64669 15-Aug-2000 sheldonh

Merge the vendor release of gawk-3.0.6 onto HEAD.

This addresses one known problem in the PR database.

PR: 13921
Reported by: Jin Guojun <j_guojun@lbl.gov>


64667 15-Aug-2000 sheldonh

This commit was generated by cvs2svn to compensate for changes in r64666,
which included commits to RCS files with non-trunk default branches.


64626 13-Aug-2000 markm

Suidperl fixes.

1) Official patch - remove the whole effort to fork off a process
to run /bin/mail; we don't have a /bin/mail, but this brings our
code in line with mainstream Perl recommendation.

2) Make the "Can't do setuid" message a bit clearer; when our userbase
bumps into our suidperl-with-no-commit-bit, give them a good clue as
to what is going on.


64620 13-Aug-2000 gshapiro

Fix syntax for Received: header after conflict resolution.
Problem noted by: Andrey A. Chernov <ache@FreeBSD.ORG>


64591 13-Aug-2000 darrenr

resolve conflicts


64589 13-Aug-2000 darrenr

This commit was generated by cvs2svn to compensate for changes in r64588,
which included commits to RCS files with non-trunk default branches.


64566 12-Aug-2000 gshapiro

Add a FREEBSD-upgrade file describing what was done for the import
Remove obsolete files after the 8.11.0 import


64565 12-Aug-2000 gshapiro

Fix conflicts from merge of sendmail 8.11.0.

PR: bin/11552 misc/18512 bin/15088


64563 12-Aug-2000 gshapiro

This commit was generated by cvs2svn to compensate for changes in r64562,
which included commits to RCS files with non-trunk default branches.


64458 09-Aug-2000 obrien

Fix conflicts.


64235 04-Aug-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r64234,
which included commits to RCS files with non-trunk default branches.


64232 04-Aug-2000 obrien

These files are for an arch we don't care about.


64141 02-Aug-2000 obrien

Update for GDB 5.0.


64132 02-Aug-2000 obrien

These files are for an arch we don't care about.


63966 28-Jul-2000 marko

Remove reference to non-existent manpage (ctl-amd(8)).

PR: 20091
Submitted by: Bruce A. Mah <bmah@cisco.com>
Approved by: nik


63958 28-Jul-2000 obrien

Use the cleaner "-n" syntax w/in [] rather then compare against `""'.

Submitted by: green


63957 28-Jul-2000 obrien

Prevent 'set' from it interpreting the shell var as an argument.

Submitted by: green


63956 28-Jul-2000 obrien

The result of 'set' gives parameters starting with $1, not $0.

Submitted by: green


63949 28-Jul-2000 green

s/Diggest/Digest/


63813 24-Jul-2000 obrien

Back out rev 1.12 (safe quoting) until I have a chance to rework the change
and get wider testing. Too many people are having problems with the
script in its current form.


63789 24-Jul-2000 green

Get rid of the stupid bug where diff sticks trash in your generated
diff output; there being no trailing newline caused it to bitch and
moan and ruin diffs. That's dumb, if I may say so myself.

Yes, this file is coming off the vendor branch. It hasn't been
updated in 6 years.

Approved by: peter


63697 20-Jul-2000 fenner

This commit was generated by cvs2svn to compensate for changes in r63696,
which included commits to RCS files with non-trunk default branches.


63690 20-Jul-2000 obrien

Fix vendor bogon where one of dhcp_option_ev_name()'s formal parameter
types did not match the prototype.

(Note: this is one bug that an Ada compiler would have found as when you
typedef a new type, the new type is not assignment compatabile with the
type used to make it up. C should only be so featureful.)


63662 20-Jul-2000 ume

Fix buffer size of ALIGNed buffer.

PR: bin/20053
Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>


63653 20-Jul-2000 phantom

Correct default value for -s option.

PR: bin/12946
Submitted by: Matthew D. Fuller <fullermd@over-yonder.net>


63629 20-Jul-2000 obrien

Update to match the upgrade I just performed.


63628 20-Jul-2000 obrien

Careful with long, command-line provided interface names.

Obtained from: OpenBSD (rev 1.5)


63627 20-Jul-2000 obrien

arp(8) invocations fixed -- one does not use "-n" with "-d".

Obtained from: OpenBSD (rev 1.7)


63626 20-Jul-2000 obrien

safe shell quoting

Obtained from: OpenBSD (rev 1.6)


63625 20-Jul-2000 obrien

Make sure we delete the PID file when we exit.

Obtained from: OpenBSD rev 1.3 (this semi-security fix was hidden as a
lease time fix)


63623 20-Jul-2000 obrien

Add yet more options to usage() that the author did not document.


63621 20-Jul-2000 obrien

Careful with long, command-line provided interface names.

Obtained from: OpenBSD (rev 1.7)


63620 20-Jul-2000 obrien

Fix conflicts.


63617 20-Jul-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r63616,
which included commits to RCS files with non-trunk default branches.


63564 19-Jul-2000 darrenr

actually commit merged diffs to the trunk


63537 19-Jul-2000 archie

Fix breakage caused by ether_aton() prototype change.

PR: bin/20033


63532 19-Jul-2000 archie

Fix make world breakage.

Broken by: me


63520 19-Jul-2000 darrenr

fix conflicts


63517 19-Jul-2000 darrenr

This commit was generated by cvs2svn to compensate for changes in r63516,
which included commits to RCS files with non-trunk default branches.


63248 16-Jul-2000 peter

Add missing $FreeBSD$ to files that are NOT still on vendor a branch.


63158 14-Jul-2000 ume

Add IPv6 scoped address support.
It enables us to control link-local connections by interface like
this:

ALL : [fe80::%ed0]/10 : allow
ALL : [fe80::]/10 : deny


63152 14-Jul-2000 dwmalone

Stop the tcp_wrappers ident code sending a request which is split
across several packets. This is done by not turning off buffering
on the stdio stream for the ident connection. Originally this was
done to avoid reading back what you'd just written into the buffer.
However ANSI C gives a list of functions which should allow you to
safely change direction on a stdio stream, and Wietse found that
fseek seemed to be the most portable.

The original patch used a different workaround, but this should be
a real fix.

PR: 16086
Reviewed by: wietse@porcupine.org
(Original version) Approved by: markm


63131 14-Jul-2000 ps

Merge vendor changes onto mainline.


63129 14-Jul-2000 ps

This commit was generated by cvs2svn to compensate for changes in r63128,
which included commits to RCS files with non-trunk default branches.


63120 14-Jul-2000 ps

Make control-c exit when in more compatability mode.

Submitted by: Scott Long <samsco@mho.com>


63041 12-Jul-2000 ben

Mention "amd -H" in the synopsis so that references to the "first form
listed", etc, make sense.

PR: 18592
Submitted by: Patrick Gosling <jpmg@eng.cam.ac.uk>


62958 11-Jul-2000 nsayer

Fix 'telnet -X sra' coredump

PR# 19835


62920 10-Jul-2000 markm

Find pod2man in the right place.

Submitted by: aDe (Amongst others).


62877 10-Jul-2000 kris

Correct security hole in setproctitle(). We don't compile this code, but
having the security hole there makes my skin itch.


62868 10-Jul-2000 kris

Don't call printf with no format string.


62805 08-Jul-2000 ume

Make telnet -s work. It is corresponding to EAI_NONAME -> EAI_NODATA
change (getaddrinfo.c rev 1.12).


62786 07-Jul-2000 ghelmer

Document the -S flag (added in rev. 1.4) in the usage() function.

PR: bin/18153
Prompted by: Nathan Ahlstrom <nrahlstr@winternet.com>


62773 07-Jul-2000 itojun

sync with usr.bin/telnet/commands.c 1.21 -> 1.22. pierre.dampure@alveley.org


62687 06-Jul-2000 obrien

Upgrade to Binutils 2.10.0.


62476 03-Jul-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r62475,
which included commits to RCS files with non-trunk default branches.


62455 03-Jul-2000 peter

Fix a merge glitch - put our FREEBSD_NATIVE hack back in the original
place. The author saw fit to reindent the code which messed this up.


62453 03-Jul-2000 peter

Merge vendor changes onto mainline


62452 03-Jul-2000 peter

Merge conflicting vendor changes onto mainline. This essentially reverts
this file to the vendor version except for the added $FreeBSD$.
(The rev 1.2 IEXTEN change has been implemented more cleanly)


62450 03-Jul-2000 peter

This commit was generated by cvs2svn to compensate for changes in r62449,
which included commits to RCS files with non-trunk default branches.


62140 26-Jun-2000 obrien

Change $FreeBSD$ placement.


62139 26-Jun-2000 obrien

Removed the doubled $FreeBSD$.


62115 26-Jun-2000 markm

Yuck. Hack round a bootstrapping issue.


62109 26-Jun-2000 obrien

Merge in rev 1.2 ("-1"), and rev 1.6 (be quiet).


62105 26-Jun-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r62104,
which included commits to RCS files with non-trunk default branches.


62091 25-Jun-2000 markm

Grr..
Fix FUBARred conflict-merge. This fixes "make world".


62080 25-Jun-2000 markm

Resolve conflicts.


62079 25-Jun-2000 markm

Resolve conflicts.


62077 25-Jun-2000 markm

This commit was generated by cvs2svn to compensate for changes in r62076,
which included commits to RCS files with non-trunk default branches.


61851 20-Jun-2000 obrien

Merge conflicts. Adds revs 1.2 and 1.3 (FreeBSD configuration support),
and preliminary sparc, strongarm, PPC FreeBSD support.


61850 20-Jun-2000 obrien

Merge conflicts. This fixes the i386 config bits, merge in the Alpha bits,
and adds arm32 & sparc bits.


61849 20-Jun-2000 obrien

Merge conflicts. This fixes the i386 config bits, merge in the Alpha bits,
and adds arm32 & sparc bits.


61848 20-Jun-2000 obrien

Binutils now properly supports our ELFness with this file.
(use the stock file now that it is offically part of Binutils)


61847 20-Jun-2000 obrien

Use the stock file now. The Binutils maintainers accepted our rev 1.2
changes (don't use "/" to start a comment).


61846 20-Jun-2000 obrien

Merge in our rev 1.2 changes (but do it in a way the Binutils maintainers
accepted): Restore traditional behavior by acknowledging tabs in strings.


61845 20-Jun-2000 obrien

Merge in our ELF branding.


61844 20-Jun-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r61843,
which included commits to RCS files with non-trunk default branches.


61841 20-Jun-2000 obrien

None of these files are used in our build, nor do I really believe
anyone is going to read them. Many were new with the
"sourceware_binutils-2_10-branch_anoncvs_20000512" import. Others have
been around since 2.8.1.


61840 20-Jun-2000 obrien

Remove these Binutils 2.8.1 files.


61808 18-Jun-2000 obrien

Upgrade instructions for the sourceware_binutils-2_10-branch_anoncvs_20000512
Binutils import.


61807 18-Jun-2000 obrien

List of files to delete from the Sourceware Binutils' CVS 2_10-branch
on 12-May-2000.


61806 18-Jun-2000 obrien

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 Binutils anoncvs repo
rather than a release tarball.


61525 10-Jun-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r61524,
which included commits to RCS files with non-trunk default branches.


61522 10-Jun-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r61521,
which included commits to RCS files with non-trunk default branches.


61520 10-Jun-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r61519,
which included commits to RCS files with non-trunk default branches.


61516 10-Jun-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r61515,
which included commits to RCS files with non-trunk default branches.


61424 08-Jun-2000 wollman

Fix a couple of mdoc errors.


61242 04-Jun-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r61241,
which included commits to RCS files with non-trunk default branches.


61240 04-Jun-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r61239,
which included commits to RCS files with non-trunk default branches.


60970 27-May-2000 obrien

Fix conflicts.


60968 27-May-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r60967,
which included commits to RCS files with non-trunk default branches.


60944 26-May-2000 darrenr

define CSUM_DELAY_DATA to match merge


60943 26-May-2000 asmodai

Resolve conflicts.


60941 26-May-2000 asmodai

This commit was generated by cvs2svn to compensate for changes in r60940,
which included commits to RCS files with non-trunk default branches.


60925 25-May-2000 darrenr

fix up #ifdef jungle for FreeBSD


60923 25-May-2000 darrenr

remove duplicate prototypes


60868 24-May-2000 peter

This commit was generated by cvs2svn to compensate for changes in r60867,
which included commits to RCS files with non-trunk default branches.


60845 24-May-2000 darrenr

fix conflicts


60842 24-May-2000 darrenr

This commit was generated by cvs2svn to compensate for changes in r60841,
which included commits to RCS files with non-trunk default branches.


60816 23-May-2000 ps

Forgot one small more(1) compat patch.

Obtained from: NetBSD


60814 23-May-2000 ps

Allow less to work on > 2GB files.


60812 23-May-2000 ps

Make less act like more(1) when it is invoked as more.

Obtained from: NetBSD


60787 22-May-2000 ps

This commit was generated by cvs2svn to compensate for changes in r60786,
which included commits to RCS files with non-trunk default branches.


60776 22-May-2000 obrien

Do not use DWARF2 unwinding mechanisms for C++ exceptions on all of our
platforms.


60735 20-May-2000 obrien

Revert rev 1.10 as I took the bug report too much on face value. The bug
submitter has been refered to the ISC to determine if there his problems
are due to a bug in the script.

As a side note, `man 8 ifconfig' does not show "ifconfig -alias" as being
acceptable, but it is and does server a purpose.


60733 20-May-2000 obrien

Our `ifconfig' syntax uses "alias" not "-alias".

Submitted by: Per Kristian Hove <Per.Hove@math.ntnu.no>


60731 20-May-2000 obrien

ASM_DECLARE_OBJECT_NAME and ASM_FINISH_DECLARE_OBJECT are ELF MI routines
to generate the special .type and .size directives which are used to set
the corresponding fields of the linker symbol table entries in the ELF
object file. As such they are not i386-specific and thus belong in our
MI header. Otherwise on the Alpha we don't properly give the type and
size of dynamic symbols. Bintuil versions past 2.9.1 warn of this and
w/o this change, `ld' generates a lot of warnings during a `make world'.


60680 18-May-2000 asmodai

This commit was generated by cvs2svn to compensate for changes in r60679,
which included commits to RCS files with non-trunk default branches.


60667 17-May-2000 obrien

These files were part of GDB 4.16, but not version 4.18 (that we
currently use).


60572 15-May-2000 kris

Add some extra functions adapted from OpenBSD, in preparation for
OpenSSH OPIE support.


60530 13-May-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r60529,
which included commits to RCS files with non-trunk default branches.


60526 13-May-2000 obrien

Merge rev 1.2 (configuration changes to support FreeBSD)


60525 13-May-2000 obrien

Merge in rev 1.2 (ld was kinly looking up the Linux /etc/ld.so.conf so teach
it about the FreeBSD equivalent) This version of that patch selects the
Linux code only if the case is Linux. This puts the Linux code on par with
the FreeBSD code.


60524 13-May-2000 obrien

Tweaks for i386, add alpha, ppc, sparc, and strongarm support.


60523 13-May-2000 obrien

Use the stock vendor version of this file now.


60522 13-May-2000 obrien

Merge in revs 1.2 and 1.3 (FreeBSD configuration support)
Add preliminary sparc, strongarm, PPC FreeBSD support.


60521 13-May-2000 obrien

Merge in rev 1.2 (FreeBSD configuration support)


60520 13-May-2000 obrien

Merge in rev 1.2 (balance the brackets; PR-docs/8505)


60519 13-May-2000 obrien

Merge in rev 1.2 (don't use "/" to start a comment).


60518 13-May-2000 obrien

Merge in rev 1.2 which provides some FreeBSD a.out support.


60517 13-May-2000 obrien

Fix the i386 config bits, merge in the Alpha bits, and add arm32 and
sparc bits.


60516 13-May-2000 obrien

Fix the i386 config bits, merge in the Alpha bits, and add arm32 and
sparc bits.


60515 13-May-2000 obrien

Return to the vendor's version of this file.


60514 13-May-2000 obrien

Return to the vendor's version of this file as in rev 1.4.


60513 13-May-2000 obrien

Merge in our rev 1.2 changes: Restore traditional behavior by acknowledging
tabs in strings.


60512 13-May-2000 obrien

Return this file to the vendor's file.


60511 13-May-2000 obrien

Return this file back to the stock version.
The big fixed in rev 1.2 has also been fixed by the Bintuils maintainers.


60510 13-May-2000 obrien

Merge in rev 1.3 changes (Make the default dynamic linker pathname correct
for FreeBSD.)


60509 13-May-2000 obrien

Merge in rev 1.4 changes (Make the default dynamic linker pathname correct
for FreeBSD.)


60508 13-May-2000 obrien

Merge in our ELF branding.


60485 12-May-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r60484,
which included commits to RCS files with non-trunk default branches.


60410 11-May-2000 ache

Better fix for strftime/mktime bug, now more compatible since local timezone
name and offset restored for compatibility with standard perl


60258 09-May-2000 sheldonh

Fix miscellaneous mdoc macro argument limit infringements.

PR: 18465
Reported by: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>


60138 07-May-2000 ache

Remove stale file - moved to new location


59990 04-May-2000 phantom

Update my copyright. Add license.


59953 04-May-2000 phantom

Set `Er' default value to 17n (length("EPROTONOSUPPORT") + 1)

Discussed long time ago at -committers


59902 02-May-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r59901,
which included commits to RCS files with non-trunk default branches.


59844 01-May-2000 phantom

Add libipsec to the list of known libraries for .Lb macro


59724 28-Apr-2000 phantom

Fix typo

Noticed by: jasone


59675 27-Apr-2000 phantom

Suggest to use -pthreads instead of -lc_r

Noticed by: John-Mark Gurney <gurney_j@efn.org>


59578 23-Apr-2000 obrien

Don't refer to non-existent automount(8).

Submitted by: Alexey M. Zelkin <phantom@cris.net>


59547 23-Apr-2000 phantom

Add note about synchronization of .Lb macro code and its section
in mdoc.samples(7)


59500 22-Apr-2000 phantom

Teach .Lb macro about other libraries.


59459 21-Apr-2000 phantom

Introduce new mdoc macro -- Lb. It will be used to define library ownership
for function. For example: for stat(2) syscall (owned by libc) we will add
following code:

.Sh LIBRARY
.Lb libc

and it will be rendered to:

LIBRARY
Standard C Library (libc, -lc)

Suggested by: mpp
Idea obtained from: NetBSD


59431 20-Apr-2000 obrien

Revert this file back to its FSF/Cygnus virgin state.
With jb's rev 1.2 commit to usr.bin/lorder/lorder.sh we don't depend on
the 4.4BSD's ``nm -o'' behavior.

Previous to 4.3BSD-Reno, ``nm -o'' did not output the .o's filename on a
line by itself. The change occurred between CSRG's nm.c rev 4.8 (1987) and
rev 5.1 (in 1989), which was "new version from Hans Huebner hans@garp.mit.edu,
huebner@db0tui6.BITNET". The Binutils maintainers would rather cater to
a loud boisterous user of 4.3BSD VAXen which has its own native toolchain,
rather than a modern Unix with multiple orders of magnitude more users
and in which Binutils *is* the native toolchain.


59420 20-Apr-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r59419,
which included commits to RCS files with non-trunk default branches.


59416 20-Apr-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r59415,
which included commits to RCS files with non-trunk default branches.


59397 19-Apr-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r59396,
which included commits to RCS files with non-trunk default branches.


59379 18-Apr-2000 obrien

Rev 1.3 which resolved conflicts in the 2.9.1 import, used a comment from
2.8.1 rather than the new one in 2.9.1. This commit fixes that, is purely
cosmetic, and reduces the diff of our hacks to 2.9.1.


59376 18-Apr-2000 obrien

Clarify that the "yields only last 2 digits of year in some locales" warning
does not apply to BSD.

Submitted by: ache


59347 18-Apr-2000 obrien

From FSFChangeLog: (tfaff): Now a function, not a string. All users changed.
I did not catch this on the EGCS 1.1.x --> GCC 2.95 upgrade.
So propogate this change to our custom hacks.

PR: 15549
Submitted by: Naohiko Tsuji <yakisoba@osaka.interq.or.jp>
Patrick Bihan-Faou <patrick@mindstep.com>


59344 18-Apr-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r59343,
which included commits to RCS files with non-trunk default branches.


59342 18-Apr-2000 obrien

Change our ELF binary branding to something more acceptable to the Binutils
maintainers.

After we established our branding method of writing upto 8 characters of
the OS name into the ELF header in the padding; the Binutils maintainers
and/or SCO (as USL) decided that instead the ELF header should grow two new
fields -- EI_OSABI and EI_ABIVERSION. Each of these are an 8-bit unsigned
integer. SCO has assigned official values for the EI_OSABI field. In
addition to this, the Binutils maintainers and NetBSD decided that a better
ELF branding method was to include ABI information in a ".note" ELF
section.

With this set of changes, we will now create ELF binaries branded using
both "official" methods. Due to the complexity of adding a section to a
binary, binaries branded with ``brandelf'' will only brand using the
EI_OSABI method. Also due to the complexity of pulling a section out of an
ELF file vs. poking around in the ELF header, our image activator only
looks at the EI_OSABI header field.

Note that a new kernel can still properly load old binaries except for
Linux static binaries branded in our old method.

*
* For a short period of time, ``ld'' will also brand ELF binaries
* using our old method. This is so people can still use kernel.old
* with a new world. This support will be removed before 5.0-RELEASE,
* and may not last anywhere upto the actual release. My expiration
* time for this is about 6mo.
*


59326 17-Apr-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r59325,
which included commits to RCS files with non-trunk default branches.


59300 17-Apr-2000 kris

Allow applications to disable the installation of the atexit() handler
which cleans up OPIE lockfiles. This is required for pam_opie.

Submitted by: Jim Bloom <bloom@acm.org>


59244 15-Apr-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r59243,
which included commits to RCS files with non-trunk default branches.


59161 12-Apr-2000 obrien

Slight cleaner code that may be more palatable to the Binutils maintainers.


59160 12-Apr-2000 obrien

Slightly cleaner branding code that may be more palatable to the Binutils
maintainers.


59121 10-Apr-2000 kris

Resolve conflicts


59119 10-Apr-2000 kris

This commit was generated by cvs2svn to compensate for changes in r59118,
which included commits to RCS files with non-trunk default branches.


59067 06-Apr-2000 obrien

Sparc64 configure section.

Submitted by: steve


59025 05-Apr-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r59024,
which included commits to RCS files with non-trunk default branches.


58835 30-Mar-2000 shin

Correct FreeBSD id place. Also correct vendor rcsid.

Specified by: bde

Reviewed by: bde


58810 30-Mar-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r58809,
which included commits to RCS files with non-trunk default branches.


58804 30-Mar-2000 shin

Bypass IPsec for traceroute invoked by root.

PR: bin/17606
Submitted by: Louis Mamakos <louie@TransSys.COM


58654 27-Mar-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r58653,
which included commits to RCS files with non-trunk default branches.


58651 27-Mar-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r58650,
which included commits to RCS files with non-trunk default branches.


58599 26-Mar-2000 obrien

Yell about -O2 on the Alpha. Forceably downgrade -O2+ if
"FORCE_OPTIMIZATION_DOWNGRADE" is defined when GCC is built.


58555 25-Mar-2000 kris

Zap old files no longer included in gperf 2.7


58552 25-Mar-2000 kris

This commit was generated by cvs2svn to compensate for changes in r58551,
which included commits to RCS files with non-trunk default branches.


58478 23-Mar-2000 obrien

Clean up the FreeBSD configuration files -- includes removing the usage
of svr4.h on the i386, and moving all the shared arch neutral bits into
the FreeBSD general config header.


58469 23-Mar-2000 obrien

This is FreeBSD version 5.0.


58314 19-Mar-2000 ache

Merge conflicts


58311 19-Mar-2000 ache

This commit was generated by cvs2svn to compensate for changes in r58310,
which included commits to RCS files with non-trunk default branches.


58022 13-Mar-2000 ru

Teach Fx and Os about FreeBSD 4.1 and FreeBSD 5.0.


57849 09-Mar-2000 obrien

Merge conflicts.


57845 09-Mar-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r57844,
which included commits to RCS files with non-trunk default branches.


57823 08-Mar-2000 cracauer

Turn a warning into an error. Occurances of that warning generate bad
-fpic code that damages symbol locations at runtime.

The only know occurance in our tree (src and ports) was locatime.c,
which was just changed to generate code that doesn't trigger the
problem.

This is a workaround, the real cause is that our gas doesn't
understand code our gcc generates for some -O -fpic code. They are
expected to be back in sync soon, but until then (including
4.0-RELEASE) we need to prevent people from using bad -fpic code.

PR: avoids such things as in bin/16862
Submitted by: bde
Approved by: jkh


57809 08-Mar-2000 fenner

Include ip6.h from <netinet/>, not <netinet6/>.

Submitted by: Yoshinobu Inoue <shin@nd.net.fujitsu.co.jp>
Approved by: jkh


57763 04-Mar-2000 fenner

Merge updated file for 0.5 release: handle "ip host foo" and
"ip6 host foo" when foo has both IP and IP6 addresses.

PR: bin/17083
Approved by: jkh


57739 03-Mar-2000 roberto

This commit was generated by cvs2svn to compensate for changes in r57738,
which included commits to RCS files with non-trunk default branches.


57724 03-Mar-2000 shin

CMSG_XXX macros alignment fixes to follow RFC2292.

Approved by: jkh


57666 01-Mar-2000 nik

Fix errors in .Xr usage.

PR: docs/17057
Submitted by: Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de>


57442 24-Feb-2000 markm

Get crypto from libcrypto, not libdes.


57414 24-Feb-2000 markm

Freefall/Internat diff reducer.


57406 24-Feb-2000 jdp

Make the default dynamic linker pathname correct for FreeBSD.

I had resisted this for a while because I didn't want to take these
file off the vendor branch. But it turns out they were already off
the vendor branch anyway.

PR: gnu/9987
Submitted by: Vladimir Kushnir <kushn@mail.kar.net>
Approved by: jkh


57343 19-Feb-2000 shin

Use static buffer to save source route hostnames.

Approved by: jkh


57342 19-Feb-2000 shin

Print "Trying ..." for each host. Also cleanups for error printing.

Approved by: jkh

Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>


57278 17-Feb-2000 fenner

Fix nybble-order bug in PIM printer.

Approved by: jkh


57233 15-Feb-2000 shin

Fix bugs in telnet.

Sorry there were still several bugs.
-error retry at af missmatch was incomplete.
-af matching for source addr option was wrong
-socket was not freed at retry.

Approved by: jkh


57125 10-Feb-2000 shin

Add more dual stack consideration.

-Should retry as much as possible when some of source
routing intermediate hosts' address families missmatch
happened.
(such as when a host has only A record, and another host
has each of A and AAAA record.)

-Should retry as much as possible when dest addr and
source addr(specified with -s option) address family
missmatch happend

Approved by: jkh


57110 10-Feb-2000 peter

Remove files not in the v3_3_8 import.


57109 10-Feb-2000 peter

Not in this commit: Many spammed deltas have been removed to restore
back to the vendor branch.

Re-merge changes from the vendor branch.

Undo the local spammed changes that I could find. There are probably
more local fixes that were clobbered that I've missed.


57094 09-Feb-2000 guido

This commit was generated by cvs2svn to compensate for changes in r57093,
which included commits to RCS files with non-trunk default branches.


57016 07-Feb-2000 shin

Fix telnet core dump at invalid service name specified.
Added an error check to avoid it.

Approved by: jkh

Submitted by: Robert Muir <rmuir@gibralter.net>


56977 03-Feb-2000 shin

Missing tcp_wrapper IPv6 support seemed to be a bug, so commit it.

Now when tcp_wrapper is enabled by inetd -wW,
several accesses which should be permitted are refused only for IPv6,
if hostname is used to decide the host to be allowed.
IPv6 users will be just upset.

About security related concern.
-All extensions are wrapped by #ifdef INET6, so people can completely
disable the extension by recompile libwrap without INET6 option.
-Access via IPv6 is not enabled by default.
People need to enable IPv6 access by changing /etc/inetd.conf at first,
by adding tcp6 and/or tcp46 entries.
-The base of patches are from KAME package and are actually daily used
for more than a year in several Japanese IPv6 environments.
-Patches are reviewed by markm.

Approved by: jkh

Submitted by: Hajimu UMEMOTO <ume@mahoroba.org>
Reviewed by: markm
Obtained from: KAME project


56945 02-Feb-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r56944,
which included commits to RCS files with non-trunk default branches.


56907 30-Jan-2000 obrien

Retire Bison as it is not need to build GCC any more.

Ok'ed by: JKH


56896 30-Jan-2000 fenner

Merge tcpdump 3.5


56894 30-Jan-2000 fenner

This commit was generated by cvs2svn to compensate for changes in r56893,
which included commits to RCS files with non-trunk default branches.


56891 30-Jan-2000 fenner

Merge libpcap 0.5


56890 30-Jan-2000 fenner

This commit was generated by cvs2svn to compensate for changes in r56889,
which included commits to RCS files with non-trunk default branches.


56870 29-Jan-2000 shin

Add NI_NAMEREQD flag to getnameinfo() call. Without this flag,
getnameinfo() don't return error at name resolving failure.
But it is used at doaddrlookup(-N) case in telnet, error need to be
returned to correctly initialize hostname buffer.

Discovered at checking recent KAME repository change, noticed by itojun.


56861 29-Jan-2000 markm

Force installs. This is to allow (semi-)automatic garbage removal by
"find /usr/libdata -ctime -N -delete".


56816 29-Jan-2000 bde

Fixed IEXTEN handling in raw mode again. The effect of IEXTEN when
ICANON is off is implementation-defined. Under BSD, IEXTEN is
independent of ICANON, so it must be turned off to get "raw" mode.

This was first fixed in rev.1.4 (1995/10/21) of libncurses/lib_raw.c,
but the change was lost in the downgrade to the contrib version.

The fix here is the same as in the old rev.1.4, less style bugs. A
better fix would use cfmakeraw(3) to actually handle all of the
complications for switching to raw mode.


56810 29-Jan-2000 obrien

Fix our -mprofiler-epilogue code.

"The problem is that egcs/gcc-2.95's reorganisation of the prologue and
epilogue code to use rtl instead of output_asm_insn() completely broke our
hooks. rtl is emitted in a different order, only after optimisation, while
output_asm_insn() is emitted immediately. rtl is presumably used so that
the prologue and epilogue can be optimised.

I couldn't find any good examples to copy. gcc's own
FUNCTION_BLOCK_PROFILER still uses output_asm_insn() and seems to be
completely broken. One of the XXX comments points to this.

IIRC, the hacks here basically arrange to emit magic label names; then when
the magic names are output, they are transformed into prologue and epilogue
code."

Submitted by: bde


56751 28-Jan-2000 roberto

Update for ntp 4.0.99b.


56749 28-Jan-2000 roberto

Merge conflicts with the import of 4.0.99b.


56747 28-Jan-2000 roberto

This commit was generated by cvs2svn to compensate for changes in r56746,
which included commits to RCS files with non-trunk default branches.


56700 27-Jan-2000 obrien

Bump __FreeBSD_version and __FreeBSD_cc_version due to the C++ ABI change
in GCC 2.95.2 from -fvtable-thunks to -fno-vtable-thunks by default.


56684 27-Jan-2000 joerg

Fix a problem that caused the generation of an (almost) empty first
page of -mdoc manual pages in troff mode. The problem has been
introduced in rev 1.12; apparently ending a line inside a macro
definition with \c doesn't behave as Bill expected, and troff was
fooled to believe previous output was already pending thus a new page
needed to be emitted. Using a troff comment .\" instead of \c seems
to solve this, alas the brain^Wnice sed(1) magic needs to be taught to
_not_ strip those comments now.

I think -stable is not affected by this.


56668 27-Jan-2000 shin

another tcp apps IPv6 updates.(should be make world safe)
ftp, telnet, ftpd, faithd
also telnet related sync with crypto, secure, kerberosIV

Obtained from: KAME project


56649 26-Jan-2000 archie

Document the -X flag.


56648 26-Jan-2000 archie

Add the -X flag to dump the buffer in "emacs-hexl" style,
that is, with ASCII character decoding.

Obtained from: OpenBSD


56643 26-Jan-2000 peter

Revision 1.3 is now taken care of in the base ncurses source.


56640 26-Jan-2000 peter

This commit was generated by cvs2svn to compensate for changes in r56639,
which included commits to RCS files with non-trunk default branches.


56576 25-Jan-2000 obrien

Do not use "DEFAULT_VTABLE_THUNKS". The bugs that have existed since
EGCS 1.x have not been worked out. And with 4.0 RELEASE comming quickly
we need C++ to be stable and usable.


56535 24-Jan-2000 ru

Quietly delete duplicate Info entries with --quiet.

Reviewed by: bde


56392 22-Jan-2000 obrien

Merge in fixes from the GCC anoncvs tree.


56391 22-Jan-2000 obrien

Merge in the restore pic register fix from the vendor branch.

PR: 3441
Submitted by: Mark Diekhans <markd@Grizzly.COM>


56386 22-Jan-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r56385,
which included commits to RCS files with non-trunk default branches.


56297 19-Jan-2000 chris

- Use proper markup for a section header.
- Replace nonexistent OPIE_PROMPT_MAX with OPIE_CHALLENGE_MAX

PR: 16209
Submitted by: Tetsuro Furuya <tfuruya@ppp142197.asahi-net.or.jp>


56174 17-Jan-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r56173,
which included commits to RCS files with non-trunk default branches.


56171 17-Jan-2000 ru

Add upgrade instructions and helper file.


56167 17-Jan-2000 ru

Update for GNU texinfo 4.0


56165 17-Jan-2000 ru

Merge our changes into GNU texinfo 4.0


56164 17-Jan-2000 ru

This is the stock GNU texinfo 4.0 file


56163 17-Jan-2000 ru

Remove files not present in last import


56161 17-Jan-2000 ru

This commit was generated by cvs2svn to compensate for changes in r56160,
which included commits to RCS files with non-trunk default branches.


56107 16-Jan-2000 obrien

Update this for the recient import.


56105 16-Jan-2000 obrien

Merge rev 1.2 into BC 1.0.5a, which fixes a spelling error.


56104 16-Jan-2000 obrien

GNU has figured out they should fix the bug we fixed in rev 1.2 themselves.
So return this file back to the stock version.


56102 16-Jan-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r56101,
which included commits to RCS files with non-trunk default branches.


56071 15-Jan-2000 obrien

Only log when there is a real change to the configuration state.

Requested and Tested by: unfurl


55987 14-Jan-2000 bde

Removed redundant declarations again. Fixed in rev.1.5, broken in rev.1.8.


55986 14-Jan-2000 bde

Fixed bitrot in K&R support (3 missing __P(())'s defeated the point of 7
non-missing ones in <com_err.h> which includes this file).


55984 14-Jan-2000 bde

Fixed bitrot in K&R support (1 missing __P(()) defeated the point of 7
non-missing ones).

Removed private declaration of __P(()) while I'm here. Include
<sys/cdefs.h> to get the system definition. The privation declaration
would break the system definition if it were different.


55925 13-Jan-2000 guido

This commit was generated by cvs2svn to compensate for changes in r55924,
which included commits to RCS files with non-trunk default branches.


55920 13-Jan-2000 asmodai

Fix dhclient-exit-hooks location. (PR 14253)
Add $FreeBSD$ CVS identifier.

PR: 14253
Submitted by: Arcady Genkin


55847 12-Jan-2000 asmodai

The groff package is not maintained by jjc@jclark.com anymore.
Reflect this change in the upgrade file.


55844 12-Jan-2000 asmodai

Fix conflicts which arose during import, also add $FreeBSD$.


55840 12-Jan-2000 asmodai

This commit was generated by cvs2svn to compensate for changes in r55839,
which included commits to RCS files with non-trunk default branches.


55738 10-Jan-2000 kris

10 X's in mkstemp().


55735 10-Jan-2000 kris

Use X x X's in mkstemp().


55553 07-Jan-2000 phantom

Teach .Os macro about 3.4-RELEASE and 3.5-RELEASE.
Allow to specify major version number only (like ``.Os FreeBSD 3''.


55552 07-Jan-2000 phantom

Teach .Fx macro about 3.4-RELEASE and 3.5-RELEASE


55519 06-Jan-2000 peter

I believe this fixes the problem certain people have been seeing when doing
checkouts from a local repo and committing via remote cvs. A cvs -d
override of the mismatched CVS/Root files was missing. This is a client
side fix, I'd appreciate it if the folks having trouble with this would
update their cvs client and pay particular attention next time..


55507 06-Jan-2000 ache

Oops, fix typo in prev commit


55506 06-Jan-2000 ache

Don't set \(hy to char173 for koi8-r


55309 02-Jan-2000 obrien

Since this has left the vendor branch, sort this incredably disorganized
manpage.


55220 29-Dec-1999 obrien

Allow the specification of a prefix for gcc to find all the various bits.
If one wishes to anchor the compiler toolchain tree somewhere other than /,
all one needs to do is set "TOOLS_PREFIX" to a different rooting.

Submitted by: marcel (in a different format and reworked by me)


55056 23-Dec-1999 sheldonh

Fix zero-padding for printf formats which include a precision or
width.

This is a vendor-supplied patch.

Requested by: bde
Submitted by: Aharon Robbins <arnold@skeeve.com>


54990 22-Dec-1999 obrien

Reduce the FreeBSD custom hacks to gcc.c by using the GCC provided methods
of changing the search dirs. This also removes an used search dir,
removes unneeded redundancy, and a bugus dir we enherited on the i386
by baseing off of svr4.h.

We went from:
install: /usr/libexec/(null)
programs: /usr/libexec/<OBJFORMAT>/:/usr/libexec/:/usr/bin/:/usr/libexec/
libraries: /usr/libdata/gcc/:/usr/libexec/:/usr/ccs/lib/:/usr/lib/

to:
install: /usr/libexec/(null)
programs: /usr/libexec/<OBJFORMAT>/:/usr/libexec/
libraries: /usr/libexec/:/usr/lib/


54893 20-Dec-1999 phantom

s/tcpdump/traceroute

PR: docs/14523
Submitted by: Adam Morrison <adam@xpert.com>


54836 19-Dec-1999 obrien

Install sendmail.cf into /etc/mail.

The current offical Sendmail Inc. version uses /var/mail/ and when we upgrade
our repository to that version, we will get the change. It is best to make
the path change in 4.0-R (which may not have the latest Sendmail Inc. version,
than to change in mid-4.x stream when we may upgrade.

Ok'ed by: Peter (quite a while ago)


54813 19-Dec-1999 obrien

Use symbolic values rather than constants in TARGET_DEFAULT.

Submitted by: bde on -current


54807 19-Dec-1999 obrien

Use a unified CPP_SPEC.


54778 18-Dec-1999 obrien

Provide complete coverage in switch statement to quiet -Wall.


54709 17-Dec-1999 grog

Change location of temporary file from /tmp to /var/tmp. This is a
repeat of an earlier commit which apparently got lost with the last
import. It helps solve the frequently reported problem

pid 4032 (mail.local), uid 0 on /: file system full

(though there appears to be a lot of space) caused by idiots sending
30 MB mail messages.

Most-recently-reported-by: jahanur <jahanur@jjsoft.com>

Add $FreeBSD$ so that I can check the file back in.

Rejected-by: CVS


54665 16-Dec-1999 obrien

Fix my CPP_SPEC synatax screwup.

Totally pissed at self: obrien


54630 15-Dec-1999 obrien

Remove the defining of __i486__ baesd on TARGET_CPU_DEFAULT and !m386 or m486.


54570 13-Dec-1999 ache

Fix bug with internal functions when locale is active

PR: 15370
Reviewed by: no responce from maintainer
Obtained from: perl development sources


54555 13-Dec-1999 peter

Oops. HAVE_INET6_STRUCTS was supposed to be HAS_INET6_STRUCTS. Luckily
it was implicitly on because we had AF_INET6 defined.


54455 12-Dec-1999 obrien

Do not add routes for localhost to the `dhclient' controlled interface.
Doing so is bogus if the loop-back interface was not configured.

Typically ``network_interfaces="auto"'' will return the list of
interfaces such that "lo0" is not first. Thus there are times when
`dhclient' configs an interface before "lo0" is configured.

Under BSD4.4, there's no need to add the above route, as it will be
automatically generated by the kernel.

PR: conf/14098, misc/15183
Submitted by: luoqi (true identification of the problem)


54441 11-Dec-1999 peter

Unmangle cvs's MD5* calls.


54440 11-Dec-1999 peter

Take a shot at using mkstemp() since we have a __warn_references() on
the other temporary file creation functions..


54434 11-Dec-1999 peter

Merge error. rcs_lockfile is freed after unlock.


54433 11-Dec-1999 peter

Update for 1.10.7 update.


54432 11-Dec-1999 peter

Merge cyclic changes from 1.10.7 into our mainline. I did this seperately
as cvs update -j had kittens over the whole thing and I ended up merging
it by hand.


54431 11-Dec-1999 peter

Merge cyclic changes for 1.10.7 only our mainline.


54430 11-Dec-1999 peter

Revert to vendor version. Sigh, this left the vendor branch because
of a fix for a y2k non-problem. :-(


54428 11-Dec-1999 peter

This commit was generated by cvs2svn to compensate for changes in r54427,
which included commits to RCS files with non-trunk default branches.


54364 09-Dec-1999 roberto

This is the list of files excluded from the original tarball.

Reviewed by: peter, obrien


54363 09-Dec-1999 roberto

Commit a fix several warnings on alpha for sysctlbyname arguments. It could
have resulted in stack corruption. A patch has been sent to the ntp author
for inclusion in next version.

Obtained from: peter


54362 09-Dec-1999 roberto

Please all welcome the long-awaited upgrade from our ancient xntpd 3.4f
to a brand new and shiny ntpd 4.0.98f.

I got tired of waiting for 4.1.0 and there is the feature freeze deadline
so here it is. This is the contrib/ part of the upgrade. The Makefile glue
will be added very soon in usr.sbin.

It builds and runs on both i386 and alpha (Thanks Peter!).

The bad news is that manpages no longer exist, everything is in HTML. I'll
commit the text version of each HTML file in /usr/share/doc/ntp soon to have
at least the help files w/o needing to get the entire contrib/ntp tree.

I'll commit FREEBSD-Xlist as soon as I can skip over $FreeBSD$ checks...

Reviewed by: peter, obrien
Pushed by: phk


54360 09-Dec-1999 roberto

This commit was generated by cvs2svn to compensate for changes in r54359,
which included commits to RCS files with non-trunk default branches.


54319 08-Dec-1999 peter

Add maintainer tag, and add a description of a few more things we've
added/changed locally for FreeBSD.


54288 08-Dec-1999 obrien

Style nit.


54287 08-Dec-1999 obrien

Document what "X" in the table means.


54125 04-Dec-1999 marcel

When a Makefile.PL is evaluated in a subdirectory (ext/SDBM_Files/sdbm)
do not prepend '../' to PERL and FULLPERL. It breaks cross-building.

Approved by: markm


54117 04-Dec-1999 obrien

Call isspace() directly to get rid of an objectionable include.


54112 04-Dec-1999 peter

Document the .cvsrc "cvs" option for global options.


54107 04-Dec-1999 obrien

Support the environtmental var "CVS_OPTIONS". Which can hold a set of
default options for cvs. These options are interpreted first and can be
overwritten by explicit command line parameters.

Obtained from: GNU Grep 2.3


53923 30-Nov-1999 peter

Hardwire HAVE_INET6_STRUCTS rather than probe at compile time. -current
has the structures that probe_ipv6 tested for, so this will always be
defined if the standard tests are run.


53918 30-Nov-1999 peter

Files not in 8.2.2.p5


53917 30-Nov-1999 peter

Files gone from 8.2.2.p5


53916 30-Nov-1999 peter

Files removed in 8.2.2.p5


53914 30-Nov-1999 peter

Merge changes from vendor branch onto HEAD.


53911 30-Nov-1999 peter

This commit was generated by cvs2svn to compensate for changes in r53910,
which included commits to RCS files with non-trunk default branches.


53878 29-Nov-1999 obrien

* Use getobjformat() rather than manually do what it does.
* Don't conditional based on i386, but generalize to all FreeBSD arch's.
* Don't be a.out-centric, but generalize to handle other possible future
formats.

Submitted by: marcel (partial)


53774 27-Nov-1999 brian

Pass the pppoe packets into do_ppp_print correctly.


53703 26-Nov-1999 obrien

* Support the environtmental var "DIFF_OPTIONS". Which can hold a set of
default options for diff. These options are interpreted first and can be
overwritten by explicit command line parameters.
* Add the "-o" option to specify old-traditional output style.
* Add utility functions for env vars obtained from GNU Grep 2.3h.


53697 25-Nov-1999 peter

This commit was generated by cvs2svn to compensate for changes in r53696,
which included commits to RCS files with non-trunk default branches.


53661 24-Nov-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r53660,
which included commits to RCS files with non-trunk default branches.


53658 24-Nov-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r53657,
which included commits to RCS files with non-trunk default branches.


53655 24-Nov-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r53654,
which included commits to RCS files with non-trunk default branches.


53598 22-Nov-1999 peter

Fix (I believe) Bill Paul's core dump when using gdb on shared executables.
This is an addition to rev 1.5. If lm == NULL, new->lm is uninitialized.


53262 17-Nov-1999 obrien

* Remove a trailing ";" from a macro.
* Style cleanup.


53260 17-Nov-1999 obrien

This temperary file can die now.


53188 15-Nov-1999 obrien

Fix a minor bogon.


53179 15-Nov-1999 obrien

Undo rev 1.13 (define "OBSTACK_CHUNK_SIZE" as getpagesize()).
It causes internal compiler errors and sig 11's with GCC 2.95.2.


53178 15-Nov-1999 obrien

Upgrade support file for GCC 2.95.2.


53177 15-Nov-1999 obrien

Add rev 1.2 profiling tweaks, to GCC 2.95.2.


53176 15-Nov-1999 obrien

Use the stock 2.95.2 file here.

I cannot determine if our previous (rev 1.2) changes for ObjC are still
appropriate.


53175 15-Nov-1999 obrien

Bump __FreeBSD_cc_version due to the compiler upgrade.


53149 14-Nov-1999 obrien

Make cross-compilation work for Alpha on i386 machines.
Note that the optimizer has a bug somewhere. This means that only -O0
works at this time.

Submitted by: marcel


53148 14-Nov-1999 obrien

Remove 'SET_ASM_OP' macro, which is unused now and rather harmful
for recent Egcs 1.1.x.

Submitted by: simokawa


53147 14-Nov-1999 obrien

Changes for Alpha and EGCS.
* Commonalities with i386, moved to a FreeBSD wide config file.
* Major additions to this file were adapted from Hidetoshi Shimokawa
<simokawa@FreeBSD.ORG>'s Alpha suppliment to the Egcs 1.1.2 port.


53146 14-Nov-1999 brian

Support PPPoE.
Add a missing comma to the lcp config options table.


53143 14-Nov-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r53142,
which included commits to RCS files with non-trunk default branches.


53141 14-Nov-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r53140,
which included commits to RCS files with non-trunk default branches.


53129 13-Nov-1999 ache

Fix time printing bug

PR: 14813
Submitted by: idea by netch@lucky.net (Valentin Nechayev)


53110 12-Nov-1999 marcel

Make cross-compilation work for Alpha on i386 machines. Note that
the optimizer has a bug somewhere. This means that only -O0 works
at this time.


53025 08-Nov-1999 guido

This commit was generated by cvs2svn to compensate for changes in r53024,
which included commits to RCS files with non-trunk default branches.


52902 05-Nov-1999 obrien

Merge vendor changes into our version of this.


52898 05-Nov-1999 obrien

Update for the 6.0.3s1 import.


52897 05-Nov-1999 obrien

Fix conflicts.


52895 05-Nov-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r52894,
which included commits to RCS files with non-trunk default branches.


52893 05-Nov-1999 obrien

Get the tar arguments right.


52879 04-Nov-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r52878,
which included commits to RCS files with non-trunk default branches.


52877 04-Nov-1999 obrien

Merge rev 1.2 [_exit() over exit()] into GCC 2.95.1.


52876 04-Nov-1999 obrien

Merge rev 1.2 (use /tmp 1st, and then /var/tmp) into GCC 2.95.1.


52875 04-Nov-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r52874,
which included commits to RCS files with non-trunk default branches.


52840 03-Nov-1999 obrien

Structure field name changed.


52769 01-Nov-1999 obrien

This brings rev 1.2 (reality check and document profiling extensions)
into GCC 2.95.2.


52768 01-Nov-1999 obrien

This adds rev 1.2 (-fformat-extensions) to GCC 2.95.2.


52763 01-Nov-1999 obrien

Merge rev 1.2 (a.out support) into GCC 2.95.2.


52762 01-Nov-1999 obrien

Add Alpha and proper x86 support to GCC 2.95.2.
[ Functionally speaking, this covers revs 1.{2,3} ]


52761 01-Nov-1999 obrien

Merge our -fformat-extensions and printf0() into GCC 2.95.2.


52751 01-Nov-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r52750,
which included commits to RCS files with non-trunk default branches.


52747 01-Nov-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r52746,
which included commits to RCS files with non-trunk default branches.


52745 01-Nov-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r52744,
which included commits to RCS files with non-trunk default branches.


52743 01-Nov-1999 obrien

Change quote style.


52742 01-Nov-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r52741,
which included commits to RCS files with non-trunk default branches.


52740 01-Nov-1999 obrien

Tell others how I did this.


52739 01-Nov-1999 obrien

This file came from elsewhere and there was a little turd left.


52738 01-Nov-1999 obrien

Describe how I did this.


52737 01-Nov-1999 obrien

Update for gcc 2.95.2.


52561 27-Oct-1999 obrien

Use the stock file for now.


52560 27-Oct-1999 obrien

s brings rev 1.2 (document printf0()) into GCC 2.95.1.


52559 27-Oct-1999 obrien

This brings rev 1.2 (reality check and document profiling extensions)
into GCC 2.95.1.


52558 27-Oct-1999 obrien

This adds rev 1.2 (-fformat-extensions) to GCC 2.95.1.


52557 27-Oct-1999 obrien

Use the stock file.


52521 26-Oct-1999 obrien

Use the stock file now.


52520 26-Oct-1999 obrien

Merge the FREEBSD_NATIVE and ELF/a.out support into GCC 2.95.1.


52519 26-Oct-1999 obrien

Fix conflicts.


52518 26-Oct-1999 obrien

Merge rev 1.2 (a.out support) into GCC 2.95.1.


52517 26-Oct-1999 obrien

Merge our changes - this brings rev 1.2 (fix stabs ordering for a.out)
into GCC 2.95.1.


52516 26-Oct-1999 obrien

Merge our changes - this brings rev 1.2 (-fformat-extensions)
into GCC 2.95.1.


52515 26-Oct-1999 obrien

Merge our changes - this brings revs 1.{2,3} minus rev 1.4 into GCC 2.95.1.


52513 26-Oct-1999 obrien

Fix conflicts. (dist src now contains our rev 1.1->1.2 changes)


52479 25-Oct-1999 peter

If running on the client side of a remote commit, don't reject root when
trying to do a commit. The server side will use the correct name, and the
client side restriction is just an annoyance.

Requested by: lots of folks


52302 16-Oct-1999 obrien

Add Alpha and proper x86 support to GCC 2.95.1.
[ Functionally speaking, this covers revs 1.{2,3} ]


52301 16-Oct-1999 obrien

Merge rev 1.2 (FreeBSD native support -- do not search the multitude of
extended include file paths that do not exist) into GCC 2.95.1.


52300 16-Oct-1999 obrien

Go back to stock file -- our mods are OBE.


52299 16-Oct-1999 obrien

Merge our -fformat-extensions and printf0() into GCC 2.95.1.


52298 16-Oct-1999 obrien

Stick with the stock version of this.


52297 16-Oct-1999 obrien

Use this stock version of this.


52296 16-Oct-1999 obrien

Use the stock file here. I cannot determine if our previous (rev 1.2)
changes for ObjC are still appropriate.


52295 16-Oct-1999 obrien

Use stock file here.


52294 16-Oct-1999 obrien

Bring our profiling tweaks from rev 1.2 into GCC 2.95.1.


52293 16-Oct-1999 obrien

Merge BDE's printf format error fixes into GCC 2.95.1.


52292 16-Oct-1999 obrien

Use the stock file here.


52291 16-Oct-1999 obrien

Use the stock GCC 2.95.1 file here. Our previous (rev 1.2) changes are OBE.


52290 16-Oct-1999 obrien

Merge rev 1.2 into GCC 2.95.1.


52289 16-Oct-1999 obrien

Fix conflicts.


52288 16-Oct-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r52287,
which included commits to RCS files with non-trunk default branches.


52285 16-Oct-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r52284,
which included commits to RCS files with non-trunk default branches.


52280 16-Oct-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r52279,
which included commits to RCS files with non-trunk default branches.


52278 16-Oct-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r52277,
which included commits to RCS files with non-trunk default branches.


52272 15-Oct-1999 obrien

Grrrrr. Put the $FreeBSD$ in a Bad Place.


52269 15-Oct-1999 obrien

Register the fact we want expand_main_function() to invoke __main.


52268 15-Oct-1999 obrien

Merge rev 1.2 (a.out support) into EGCS 1.1.2.


52212 13-Oct-1999 obrien

Return these files back to their stock versions.
These files aren't used in either building GCC or with a GCC installation
in the "FreeBSD native" case.


52144 12-Oct-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r52143,
which included commits to RCS files with non-trunk default branches.


52142 12-Oct-1999 obrien

Remove a useless blank line, I accidently added.


52113 10-Oct-1999 obrien

Move RCS tag to our normal place.


52112 10-Oct-1999 obrien

Style cleanups:
* be consistant on protecting "#define FOO"s with "#undef FOO".
* be consistant that macro params are upper case, and commas are followed
by a space in the macro definition
* protect macro param expansion by ()'s
* break long lines
* line continuations chars to consistant column
* remove trailing spaces


52111 10-Oct-1999 obrien

Remove things common to all FreeBSD platforms. They will now live in a
FreeBSD wide config file.

This includes "WORD_SWITCH_TAKES_ARG" & "SWITCH_TAKES_ARG". Platforms
such as FreeBSD/MIPS will need to override these two defintions, but it
can #undef them and define them approapiately.


52081 10-Oct-1999 mharo

Correct typo, Welcom -> Welcome
and add $FreeBSD$


51949 05-Oct-1999 obrien

Fully document -q.
Restore original $Header$.


51923 04-Oct-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r51922,
which included commits to RCS files with non-trunk default branches.


51921 04-Oct-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r51920,
which included commits to RCS files with non-trunk default branches.


51900 03-Oct-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r51899,
which included commits to RCS files with non-trunk default branches.


51886 02-Oct-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r51885,
which included commits to RCS files with non-trunk default branches.


51884 02-Oct-1999 obrien

* We have /var/tmp, not /usr/tmp. So use that where EGCS used the latter.
* In the absence of the env vars TMPDIR, TMP, TEMP (which override this
ordering), attempt to create temperary files in /tmp, P_tmpdir (/var/tmp),
/usr/tmp, and . until successful.


51849 02-Oct-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r51848,
which included commits to RCS files with non-trunk default branches.


51732 27-Sep-1999 sheldonh

Update the upgrade instructions for awk 3.0.4.


51731 27-Sep-1999 sheldonh

Fix conflicts. Add $FreeBSD$ as needed.


51729 27-Sep-1999 sheldonh

This commit was generated by cvs2svn to compensate for changes in r51728,
which included commits to RCS files with non-trunk default branches.


51622 24-Sep-1999 phantom

Mention -p and -t options.


51607 23-Sep-1999 phantom

Learn nroff about -p and -t options. It allows to preprocess
file with pic(1) and tbl(1).

Not objected to: mpp


51595 23-Sep-1999 obrien

Fix conflicts.

Version 6.0.2s2 gives us a better fix a buffer overflow problem in
real_plog(). It also gives us a few code cleanups to quiet `gcc -Wall'.


51592 23-Sep-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r51591,
which included commits to RCS files with non-trunk default branches.


51582 23-Sep-1999 ache

moved to tmac/locale


51575 22-Sep-1999 phantom

Allow .Rv macro to be used in 7th section also. This patch
will fix "Usage: .Rv ..." error at mdoc.samples.7

Ok'ed by: mpp


51564 22-Sep-1999 phantom

Allow "Alpha" as 2nd argument for .Dt macro. So, we can go
with "Alpha architecture" manpages.


51495 21-Sep-1999 sheldonh

Add the ``blacklist'' feature, which allows a path to a filename to
be used as a valid pattern in the access control language.

Patch obtained from ftp://ftp.porcupine.org/pub/security/ .

Requested by: markm


51412 19-Sep-1999 obrien

Bring BDE's printf format error fixes into EGCS.


51411 19-Sep-1999 obrien

Bring our profiling tweaks into EGCS 1.1.2.


51410 19-Sep-1999 obrien

"COMMENT_BEGIN" is no longer used.


51409 19-Sep-1999 obrien

Support linking against libgcc_r.

Submitted by: Luoqi Chen <luoqi@chen.ml.org>


51408 19-Sep-1999 obrien

This should get us the same functionality we had with GCC 2.7.2.1.

* Support for our dual ELF/a.out building ability
* Our custom ASM_* definitions
* Our custom debugger and profiling related definitions
* Our custom STARTFILE/ENDFILE specs

* The stock EGCS 1.1.2 freebsd-elf.h file depended on
egcs-1.1.2/gcc/config/linux.h, which included "svr4.h". We will
include "svr4.h" via our "tm.h" definition. So add the few bits
from "linux.h" we actually needed.

* Using our current crtbegin.o/crtend.o we cannot support the DWARF2
unwinding mechanisms. In the future we will switch to the
non-sjlj-exceptions type exception machanism. However the `make world'
bootstrap problems with the EGCS crtstuff.c must be overcome first.

* Our a.out gas doesn't "know" to use NOP's for aligns while in the text
section. Thus the a.out alignment generation needed tweaking from
what we did with GCC 2.7.2. [from BDE]

* The definition of SUPPORTS_ONE_ONLY prevents the compiler from trying
to use "linkonce" sections for a.out. The definition of
NO_DBX_FUNCTION_END we had causes it to avoid .stabs symbols that the
assembler cannot handle for a.out. [from JDP]

* The previous "EXCEPTION_SECTION_FUNCTION" is the wrong name for EGCS.
It also needed tweaking for EGCS. [from JDP]

Also bump __FreeBSD_cc_version to 400002 in case we need to know we are
using EGCS at some point.


51406 19-Sep-1999 obrien

Use the stock EGCS version of this.


51405 19-Sep-1999 obrien

Document the new i386 family options.

Obtained from: invoke.texi


51403 19-Sep-1999 obrien

Document -Os optimization. Add to -O{0,2} documentation.

Obtained from: invoke.texi


51402 19-Sep-1999 obrien

Merge revs 1.2-1.11 (doc fixes and updates to reflect reality) into the
EGCS 1.1.2 manpage.


51395 19-Sep-1999 obrien

Merge rev 1.2 docs fixes into EGCS 1.1.2's manpage.


51386 19-Sep-1999 obrien

Update for GCC 2.95.1's bundled libf2c.


51385 19-Sep-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r51384,
which included commits to RCS files with non-trunk default branches.


51383 19-Sep-1999 obrien

Tell people how this work was done.


51366 18-Sep-1999 obrien

Fix conflicts. This has a small part of rev 1.2 in it.


51365 18-Sep-1999 obrien

Fix conflicts. This merges revs 1.{2,3} with EGCS 1.1.2.


51364 18-Sep-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r51363,
which included commits to RCS files with non-trunk default branches.


51362 18-Sep-1999 obrien

Update the support files from the 6.0.1 import.


51347 17-Sep-1999 jmas

Re-encode spanish messages using ISO-8859-1.
Patches also sent to bostic@bostic.com.

PR: bin/5966
Submitted by: Jose M. Alcaide <jose@we.lc.ehu.es>


51300 15-Sep-1999 obrien

Fix conflicts.


51293 15-Sep-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r51292,
which included commits to RCS files with non-trunk default branches.


51287 15-Sep-1999 peter

Fix warning: return type of `main' is not `int'


51277 14-Sep-1999 ru

Fix a coredump when commands in ~/.exrc prepended with addresses.

PR: 13000


51232 13-Sep-1999 bde

Merge from ../egcs/gcc/gcc.c rev.1.5:
Don't exclude directories that the linker is "known" to search (/lib
and /usr/lib) when deciding whether to pass certain paths to the
linker. Under FreeBSD, the linker is actually known to never search
/lib and to only search /usr/lib in the elf case. Not passing the
paths causes at best causes confusing differences for cross compiling.
This change is conditional on FREEBSD_NATIVE but should be absolute.


51182 11-Sep-1999 ache

pick up locales from locale subdir

Submitted by: "Alexey Zelkin" <phantom@crimea.edu>


51180 11-Sep-1999 ache

koi8-r mandoc tweaks

Submitted by: "Alexey Zelkin" <phantom@crimea.edu>


51178 11-Sep-1999 ache

source hyphen.us-ru from locale subdir


51152 11-Sep-1999 obrien

Document -R.


51085 08-Sep-1999 obrien

Add FreeBSD tag.


51083 08-Sep-1999 obrien

Don't -ko anymore.
Add FreeBSD tag.


51082 08-Sep-1999 obrien

Don't -ko anymore.


51081 08-Sep-1999 obrien

Don't use -ko any more.


51069 07-Sep-1999 imp

MFS: amd mount disabling and overflow protection.

Reported by: gallatin@freebsd.org


51055 07-Sep-1999 ru

Add FreeBSD 3.3 to the Fx and Os macros.


51043 07-Sep-1999 simokawa

Update the author's address and Global's home page.

PR: misc/13589
Submitted by: Shigio Yamaguchi <shigio@tamacom.com>


50964 05-Sep-1999 peter

$Id$ -> $FreeBSD$


50880 04-Sep-1999 markm

Fix up this for the build; some compatibility files have been added -
these will be submitted back to KTH for inclusion.


50850 03-Sep-1999 luoqi

Remove GCC_UNUSED under FREEBSD_NATIVE option.

Requested by: ache


50829 03-Sep-1999 luoqi

Restore documented tgetstr() behavior.


50786 02-Sep-1999 peter

Take a shot at getting this to compile under newpnp.


50785 02-Sep-1999 obrien

Document that dhclient-script will only set the hostname if it is unset.

Submitted by: John Baldwin <jobaldwi@vt.edu>


50765 01-Sep-1999 markm

This commit was generated by cvs2svn to compensate for changes in r50764,
which included commits to RCS files with non-trunk default branches.


50759 01-Sep-1999 markm

Termcap header no longer needed.


50654 30-Aug-1999 obrien

Use the stock EGCS 1.1.2 file here. Our previous changes are OBE.
(code change by rev 1.3 has been removed, and 1.2 is not needed since
contrib/gcc/cp/except.c is now the stock one)


50650 30-Aug-1999 obrien

Use the stock EGCS 1.1.2 file here. I cannot determine if our previous
changes for ObjC are still appropriate.


50647 30-Aug-1999 obrien

This brings rev 1.2 into EGCS 1.1.2. Also tweaks gleemed from EGCS
ChangeLog's. Note that rev 1.3 changes (HOST_PTR_PRINTF) was not
brought into EGCS 1.1.2 as that is the default.


50645 30-Aug-1999 obrien

Fix conflicts.


50643 30-Aug-1999 obrien

Use the stock EGCS 1.1.2 file here. Our previous changes are OBE.


50641 30-Aug-1999 obrien

This add Alpha and proper x86 support to EGCS 1.1.2. Functionally speaking,
this covers revs 1.{2,3}.


50621 30-Aug-1999 obrien

This brings rev 1.2 (reality check and document profiling extensions)
into EGCS 1.1.2.


50620 30-Aug-1999 peter

Tweaks for using natively under FreeBSD (with native termcap)


50618 30-Aug-1999 obrien

This brings rev 1.2 (document printf0()) into EGCS 1.1.2.


50617 30-Aug-1999 obrien

Fix conflicts.


50615 30-Aug-1999 obrien

Fix conflicts.
This adds rev 1.2 (-fformat-extensions) to EGCS 1.1.2.


50605 30-Aug-1999 obrien

Fix conflict.


50600 30-Aug-1999 obrien

Fix conflicts.


50599 29-Aug-1999 obrien

This brings rev 1.2 (FREEBSD_NATIVE) and rev 1.5 (mixed ELF/aout support)
into EGCS 1.1.2.


50598 29-Aug-1999 obrien

Correct vfork()/exit() to vfork()/_exit().

Also return "1" rather than "-1". According to bde: -1 is unrepresentable.
Exit statuses must be >= 0 and <= 255, at least if chars are 8 bits and
shorts are 16 bits. This seems to only be documented indirectly in exit.2
by referring to wait.2. WEXITSTATUS() throws away all except the low 8 bits
of the status returned by _exit(), and the kernel actually only stores 8
bits of it (if chars are 8 bits, etc.), so wait() can't return any more bits.

Obtained from: rev 1.4 of contrib/gcc/gcc.c


50514 28-Aug-1999 lile

Add source routing support.


50506 28-Aug-1999 obrien

Fix conflicts.
This brings rev 1.2 (-fformat-extensions) into EGCS 1.1.2.


50503 28-Aug-1999 obrien

Fix conflicts.
This brings revs 1.{2,3} minus rev 1.4 into EGCS 1.1.2.


50499 28-Aug-1999 obrien

Fix conflicts.


50495 28-Aug-1999 obrien

Fix conflicts. This brings rev 1.2 (fix stabs ordering for a.out) into
EGCS 1.1.2.


50479 28-Aug-1999 peter

$Id$ -> $FreeBSD$


50455 27-Aug-1999 obrien

Fix conflicts. This brings in rev 1.2 (FreeBSD native support -- do not
search the multitude of extended include file paths that do not exist)
into EGCS 1.1.2.


50453 27-Aug-1999 obrien

Fix conflicts. This brings the "printf0" addition into EGCS 1.1.2.


50451 27-Aug-1999 obrien

Don't accept %q length specifiers in the kernel (more precisely,
if compiling with -fformat-extensions). Gcc's format checker never
actually supported %q length specifiers. It treats %q as an alias
for %ll, which is correct if quad_t is long long (e.g., on i386's)
and broken otherwise (e.g., on alphas).

quad_t's currently should be printed in the same way that they
already need to be printed to avoid compiler warnings on all
supported systems: cast them to a standard type that is at least
as large (long or long long) and use the length specifier for that
(%l or %ll). This is problematic since long long isn't standard
yet. C9x's intmax_t should be implemented soon.

Don't accept %L length specifiers in the kernel either. The only
legitimate ones are for long doubles, but the kernel doesn't even
support plain doubles. (gcc bogusly accepts %Ld as an alias for
%lld, and it sometimes prints "q" in error messages about "ll" and
"L" length specifiers, becauses it represents all these specifiers
as 'q'.)

Submitted by: bde


50450 27-Aug-1999 obrien

Fixed kernel format checking:
- plain %r and %z were disallowed. The hard NULs in the warnings were
hopefully caused by disallowing of plain formats being nonsense.
- new formats for shortening to a byte were allowed, but even the libc
printf doesn't support them.
- old %hr and %hz formats were allowed, but the kernel printf doesn't
support them. The kernel doesn't support %hd either, but this is
harder to fix.

Submitted by: bde


50449 27-Aug-1999 obrien

Fix conflicts.
This brings revs 1.2 (-fformat-extensions) and 1.3 (printf0())
into EGCS 1.1.2.


50448 27-Aug-1999 obrien

Fix conflicts.


50398 26-Aug-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r50397,
which included commits to RCS files with non-trunk default branches.


50366 25-Aug-1999 obrien

Don't getopt -M option and don't process it unless ENABLE_AMQ_MOUNT is on.

Obtained from: am-utils-6.0.1s11


50277 24-Aug-1999 peter

This commit was generated by cvs2svn to compensate for changes in r50276,
which included commits to RCS files with non-trunk default branches.


50142 22-Aug-1999 hoek

Fix potential buffer overflow when using gtags.

Submitted by: Shigio Yamaguchi [3]shigio@wafu.netgate.net (gtags author)
PR: bin/7607


50080 20-Aug-1999 obrien

* Consistantly surround macro parameters with ()
* Consistantly put spaces after "," in macro param lists
* Consistantly align continuation characters.
* Don't need to supply all variations of __FOO__ in CPP_PREDEFINES,
gcc will do that for us.


50072 20-Aug-1999 grog

Reduce default timeout on remote serial debugging sessions from 20
seconds to 1 second. This fixes a problem where gdb would appear to
hang on flaky serial connections. There's a theoretical problem that
the relatively short timeout could cause problems on slow links, but
you can override the default value with the 'set remotetimeout'
command.

Approved-by: dfr


50048 19-Aug-1999 obrien

Move two of the DBX config directives to the common configuration header.
Also simply CPP_PREDEFINES a little.


50042 19-Aug-1999 mdodd

Use el_source() so we pick up .editrc


50039 19-Aug-1999 mdodd

Add support for command line editing and history.

Remove src/contrib/bind/bin/nslookup/commands.c as it is generated by lex
from commands.l.

Submitted by: lpc/cdcontrol patches originally by msmith.
Reviewed by: msmith (in theory)


50000 18-Aug-1999 chris

Fix a bunch of broken cross-references


49901 16-Aug-1999 nsayer

According to Mark Murray, Makefiles do not belong here. I guess we're
going to have to figure something else out.


49887 16-Aug-1999 nsayer

Add SRA authentication to src/crypto/telnet.

SRA does a Diffie-Hellmen exchange and then DES-encrypts the
authentication data. If the authentication is successful, it also
sets up a session key for DES encryption.

SRA was originally developed at Texas A&M University.

This code is probably export restricted (despite the fact that I
originally found it at a University in Germany).

SRA is not perfect. It is vulnerable to monkey-in-the-middle attacks
and does not use tremendously large DH constants (and thus an individual
exchange probably could be factored in a few days on modern CPU
horsepower). It does not, however, require any changes in user or
administrative behavior and foils session hijacking and sniffing.
The goal of this commit is that telnet and telnetd end up in the DES
distribution and that therefore an encrypted session telnet becomes
standard issue for FreeBSD.


49861 16-Aug-1999 nsayer

Fix int function without return (make consistent with neighbors)


49854 15-Aug-1999 obrien

Move "WORD_SWITCH_TAKES_ARG" & "SWITCH_TAKES_ARG" to the general spec file
since their definitions were identical. FreeBSD/MIPS will need to override
these two defintions, but it can #undef them and define them approapiately.


49853 15-Aug-1999 obrien

Move "LIBGCC_SPEC" to freebsd-native.h as it is not approapiate for
submitting to the GCC mainainers for folding into the stock GCC.


49809 14-Aug-1999 obrien

Document how I imported this.


49801 14-Aug-1999 obrien

Add "--broken-undeftoken-init" option. This makes Bison 1.28 bug compatable
with version 1.25.

Bison 1.28 fixed a bug in the initialization of the `undefined' symbol
table entry. Unfortunately something about the way we are compiling
egcs-1.1.2's cc1plus breaks with this bugfix.

"--broken-undeftoken-init" is needed when compiling cc1plus. Otherwise
/usr/libexec/cc1plus cannot compile libgcc.


49800 14-Aug-1999 obrien

Fix conflicts.


49799 14-Aug-1999 obrien

Fix conflicts, ensure rev 1.2 changes are made to v1.28.


49798 14-Aug-1999 obrien

Use stock v1.28 bison.simple.
Bison 1.28 has our bison.simple rev 1.2 change, but due to code movement,
``cvs'' didn't realize this.


49796 14-Aug-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r49795,
which included commits to RCS files with non-trunk default branches.


49794 14-Aug-1999 chris

Bad reference of uname(2) -> uname(3)


49597 10-Aug-1999 obrien

Check to see if /usr/bin/logger exists before using it. Use "echo" if
/usr/bin/logger is not available.

Noticed from: error messages in -CURRENT's sysinstall Alt-F2 debug screen


49457 06-Aug-1999 brian

Set the close-on-exec flag when we lock the file we're editing.
This prevents any background sub-command executed from inheriting
the descriptor & lock (and making vi think that someone else is
editing the file when it re-edits).

Remembered from: An OpenBSD commit message from May '99


49408 04-Aug-1999 obrien

Log hostname settings/changes.

Submitted by: John Baldwin <jobaldwi@vt.edu>


49406 04-Aug-1999 obrien

Back out rev 1.2. The correct type of host-name is `X'. There was a problem
with options.c which was fixed in ISC's version 2.0 (rev 1.1.1.2 --> 1.1.1.3).

I have tested host-name with both types `X' and `t' and things work fine
either way. I would prefer to match the offical sources when easily possible.

PR: 12205
Submitted by: John Baldwin <jobaldwi@vt.edu>


49403 04-Aug-1999 obrien

MFS: use logger(1) instead of plain echo(1).
(some how these local changes made it out of my local tree into the
repository, so lets do it right)


49401 04-Aug-1999 obrien

Support the setting of hostname via DHCP.

Submitted by: myself & Ted Lemon <mellon@isc.org>


49324 31-Jul-1999 ache

Tune table since 0200-0206 is not available, add more chars


49322 31-Jul-1999 ache

bad news: chars 0200-0206 used internally in troff, make them back illegal


49318 31-Jul-1999 ache

make all chars above 127 legal


49316 31-Jul-1999 ache

change prev. commit: emulate latin1 on ascii if latin1 chars are
in the text as groff authors suppose


49313 31-Jul-1999 ache

Add more koi8-r chars


49309 31-Jul-1999 ache

Pick hardcoded latin1 chars definitions only if -Tlatin1


49299 30-Jul-1999 nik

Document the "skey" command in telnet(1).

PR: docs/12360
Submitted by: kjm@rins.ryukoku.ac.jp (KOJIMA Hajime)
Nagged by: markm :-)


49296 30-Jul-1999 nik

dhclient-lease(8) -> dhclient.leases(5)

PR: docs/12619
Submitted by: Mikhail Teterin <mi@aldan.algebra.com>


49295 30-Jul-1999 nik

Correct reference to dhclient.conf(5) (was dhclient.conf(8)), as pointed
out in the PR. Correct typo on the same line, which was not pointed
out by the PR.

PR: docs/12619
Submitted by: Mikhail Teterin <mi@aldan.algebra.com>


49289 30-Jul-1999 obrien

If "YYPARSE_PARAM" is defined, we need a different prototype for yyparse().

PR: gnu/12868
Submitted by: Vadim Chekan <vadim@gc.lviv.ua>
Obtained from: bison-1.26a (identical change was made there)


49287 30-Jul-1999 ache

Sense $LANG only if $LC_CTYPE is not set


49261 30-Jul-1999 mpp

Teach the .At macro about releases v2, v3, v4, and v5 of AT&T UNIX.


49241 30-Jul-1999 imp

Force safer mode of operation for man's use of *roff.

Obtained from: OpenBSD's nroff.sh 1.2 by aaron@openbsd.org


49175 28-Jul-1999 n_hibma

bc core dumped when a value with between 128 and 255 (mod 256) digits
was entered.

PR: 12550
Submitted by: Vladimir Tchoukharev chu@gpi.ru
Reviewed by: Phil Nelson <phil@cs.wwu.edu> (maintainer of bc)


48910 19-Jul-1999 markm

Fix a problem where commands in backticks `` wont get executed in taint
mode because of an insecure path.

Reported by: George Cox


48890 19-Jul-1999 jkh

Fix type of host-name option. Partial fix for referenced PR.

Submitted by: John Baldwin <jobaldwi@vt.edu>
PR: 12205


48850 17-Jul-1999 dfr

Merge some patches from RedHat-6.0. The most important change fixes a bug
when linking large shared libraries where the linker missed out some of
the dynamic relocations from the output. This prevents libqt from linking
properly among other packages.

Obtained from: RedHat-6.0


48744 10-Jul-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r48743,
which included commits to RCS files with non-trunk default branches.


48561 04-Jul-1999 bde

Fixed style bugs in FreeBSD changes. KNF style doesn't apply to gnu
sources.


48534 03-Jul-1999 jdp

Remove the soft-updates sources from their original location. They
have been repository-copied to "src/sys/contrib/softupdates".


48475 02-Jul-1999 obrien

* The OBSTACK_CHUNK_SIZE #define was in the "Code generation parameters"
section rather than the "Miscellaneous parameters" where it belongs.

* Clarify what we are locating using the -m rule.

Submitted by: bde


48474 02-Jul-1999 obrien

The GNU standard about putting 2 spaces after sentences in comments
was not consistantly followed.

Submitted by: bde


48334 29-Jun-1999 mckusick

No longer need to set B_ASYNC flag since BUF_KERNPROC now
unconditionally sets the identity of the buffer.


48302 28-Jun-1999 obrien

Define "OBSTACK_CHUNK_SIZE" as getpagesize().
Our malloc can allocte pagesized blocks efficiently and the EGCS default size
of 4072 bytes is not optimal.

Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>


48276 27-Jun-1999 peter

Keep the inlines for <sys/buf.h> happy..


48258 26-Jun-1999 mpp

Actually describe all of the command line options in fsinfo(8).
Most of the text was take from the fsinfo section in info(1).
Also included a pointer to that information, since there is
so much detail about the format of the configuration files there.


48225 26-Jun-1999 mckusick

Convert buffer locking from using the B_BUSY and B_WANTED flags to using
lockmgr locks. This commit should be functionally equivalent to the old
semantics. That is, all buffer locking is done with LK_EXCLUSIVE
requests. Changes to take advantage of LK_SHARED and LK_RECURSIVE will
be done in future commits.


48223 25-Jun-1999 obrien

Sort options.
Add options in usage() not documented.


48222 25-Jun-1999 obrien

Fix -1 (onetry) fails, exit(2) rather than exit(1) so an error from this
option is distingishable from other errors.


48221 25-Jun-1999 archie

Fix bug (introduced by me) where UDP port numbers were starting at 1 instead
of 33435 like before.

Reported by: John Polstra <jdp@polstra.com>


48164 24-Jun-1999 obrien

Clean up conflicts.


48149 23-Jun-1999 obrien

Update for latest vendor import.


48147 23-Jun-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r48146,
which included commits to RCS files with non-trunk default branches.


47973 17-Jun-1999 ru

Merge from non-crypto version:
- "-N" option
- "-E" security fix
- "-s src_addr" option

Requested by: markm


47964 16-Jun-1999 mckusick

Add a vnode argument to VOP_BWRITE to get rid of the last vnode
operator special case. Delete special case code from vnode_if.sh,
vnode_if.src, umap_vnops.c, and null_vnops.c.


47940 15-Jun-1999 mckusick

Get rid of the global variable rushjob and replace it with a function in
kern/vfs_subr.c named speedup_syncer() which handles the speedup request.
Change the various clients of rushjob to use the new function.


47866 10-Jun-1999 simokawa

Remove 'SET_ASM_OP' macro, which is unused now and rather harmful
for recent egcs.


47828 07-Jun-1999 ache

Fix -T doubling


47600 29-May-1999 nik

Fix typo which causes an unnecessary line break.

PR: docs/11561
Submitted by: Norihiro Kumagai <kuma@nk.rim.or.jp>


47574 28-May-1999 ache

fix End key name


47564 28-May-1999 ache

describe process


47563 28-May-1999 ache

merge


47559 28-May-1999 ache

This commit was generated by cvs2svn to compensate for changes in r47558,
which included commits to RCS files with non-trunk default branches.


47405 22-May-1999 dfr

Port pnpinfo to alpha.


47387 22-May-1999 dfr

Fix a coredump when debugging corefiles from static programs.


47381 22-May-1999 julian

Cosmetic changes to make it compile without errors in gcc -Wall


47352 21-May-1999 jdp

Fix typo (#unset where #undef was meant).


47333 20-May-1999 obrien

Consistantly protect "#define FOO ..." with "#undef FOO".


47191 14-May-1999 fenner

Add 3.2 to the list of legal FreeBSD versions for the .Os FreeBSD macro.


47190 14-May-1999 fenner

Add 3.2 to the list of legal FreeBSD versions for the .Fx macro.


47164 14-May-1999 jkoshy

Complete the list of FreeBSD version numbers accepted by the .Fx macro.

PR: docs/11705
Submitted by: Stephen J. Roznowski <sjr@home.net>


47131 14-May-1999 mckusick

Add a hook to ffs_fsync to allow soft updates to get first chance at doing
a sync on the block device for the filesystem. That allows it to push the
bitmap blocks before the inode blocks which greatly reduces the number of
inode rollbacks that need to be done.


47071 12-May-1999 archie

Add a min TTL flag to go along with the max TTL flag. That is, this flag
allows you to start tracing at a hop number other than 1.

Submitted by: Stefan `Sec` Zehl <sec@42.org>


46893 10-May-1999 peter

Don't assume branch heads are alive.. (related to previous change to the
older 1.9.26 baseline)


46827 09-May-1999 mckusick

Put back changes that might be causing trouble on Alpha.


46711 08-May-1999 obrien

Update this with reality.


46665 08-May-1999 jdp

Revive the pam_deny and pam_permit modules from Linux-PAM. They are
simple enough to be trusted.

Add account management functionality to the pam_unix module.

These changes should make it possible to use PAM in some ports.

Submitted by: Max Khon <fjoe@iclub.nsu.ru>


46618 07-May-1999 mckusick

Whitespace cleanup.


46616 07-May-1999 mckusick

Get rid of random debugging cruft; sync up with latest version.


46609 07-May-1999 mckusick

Severe slowdowns have been reported when creating or removing many
files at once on a filesystem running soft updates. The root of
the problem is that soft updates limits the amount of memory that
may be allocated to dependency structures so as to avoid hogging
kernel memory. The original algorithm just waited for the disk I/O
to catch up and reduce the number of dependencies. This new code
takes a much more aggressive approach. Basically there are two
resources that routinely hit the limit. Inode dependencies during
periods with a high file creation rate and file and block removal
dependencies during periods with a high file removal rate. I have
attacked these problems from two fronts. When the inode dependency
limits are reached, I pick a random inode dependency, UFS_UPDATE
it together with all the other dirty inodes contained within its
disk block and then write that disk block. This trick usually
clears 5-50 inode dependencies in a single disk I/O. For block and
file removal dependencies, I pick a random directory page that has
at least one remove pending and VOP_FSYNC its directory. That
releases all its removal dependencies to the work queue. To further
hasten things along, I also immediately start the work queue process
rather than waiting for its next one second scheduled run.


46554 06-May-1999 jkoshy

Fix spelling and typos.

PR: docs/11506
Submitted by: Norihiro Kumagai <kuma@jp.freebsd.org>


46542 06-May-1999 archie

Add the capability for traceroute(8) to send packets of any IP protocol
instead of just UDP; an alternate protocol is specified by '-P proto'.
This is useful for finding routers that are blocking packets based on
IP protocol. New handlers can be added fairly easily to do protocol-
specific things.


46422 04-May-1999 luoqi

Uninitialized variable. Do not assume certain endianess.


46369 03-May-1999 dfr

GC some unused files from gdb and add them to the exclude list for future
imports.


46319 02-May-1999 dfr

Resurrect a file for alpha support in GDB and add some minor FreeBSD tweaks.

Magic wand waved by: Peter Wemm <peter@netplex.com.au>


46317 02-May-1999 dfr

Delete parts of gdb which are now shared with binutils.


46313 02-May-1999 markm

Merge conflicts. More elegant improvements will follow in a couple
of days.


46308 02-May-1999 markm

This commit was generated by cvs2svn to compensate for changes in r46307,
which included commits to RCS files with non-trunk default branches.


46293 02-May-1999 dfr

The maximum pagesize for alpha is 64k, not 1Mb.


46292 02-May-1999 dfr

Add upgrade instructions to facilitate future gdb imports.


46289 02-May-1999 dfr

Merge local changes into gdb-4.18 and add changes for FreeBSD/alpha.


46284 02-May-1999 dfr

This commit was generated by cvs2svn to compensate for changes in r46283,
which included commits to RCS files with non-trunk default branches.


46279 02-May-1999 obrien

Fix conflicts.


46278 02-May-1999 obrien

junk from the last import


46276 02-May-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r46275,
which included commits to RCS files with non-trunk default branches.


46211 30-Apr-1999 obrien

Turn DEFAULT_VTABLE_THUNKS back on. It caused problems with undefined symbols
in libstdc++.

Until I have a chance to look at what that problem is and to carefully consider
the upgrade issues of turning it back on at a later date if we leave it turned
off for any extended peroid of time.


46157 28-Apr-1999 obrien

Rather than hack config/freebsd.h to contain our hacks for a native compiler,
just include them in tm.h (as built from cc/cc_tools/Makefile).

This will reduce the diffs from the vendor sources.

Excellent idea by: jdp


46122 27-Apr-1999 obrien

Simplify the definition of FBSD_SWITCH_TAKES_ARG, and make sure
SWITCH_TAKES_ARG isn't defined (which svr4.h does) when we assign our
definition to it.


46118 27-Apr-1999 obrien

Wait until EGCS 1.2 to use more efficient ``thunks'' to implement C++ vtables.
While I have yet to hear of any problems with us using thunks. The EGCS
mailing list notes some have problems with it and not using them are a
safer default. People wanting to use them, can set the appropiate
compiler flag.


45941 22-Apr-1999 obrien

Use new `FBSD_SWITCH_TAKES_ARG' and `FBSD_WORD_SWITCH_TAKES_ARG'.


45940 22-Apr-1999 obrien

Move `SWITCH_TAKES_ARG' to `FBSD_SWITCH_TAKES_ARG' and `WORD_SWITCH_TAKES_ARG'
to `FBSD_WORD_SWITCH_TAKES_ARG' which allows architectures to tweak these
values if needed.


45684 14-Apr-1999 nik

Fix typos.

PR: docs/8682
Submitted by: hnokubi@yyy.or.jp
Reviewed by: nik


45674 14-Apr-1999 obrien

Document the "-D" option (UTSL).


45670 14-Apr-1999 obrien

Support linking against libgcc_r.

Submitted by: Luoqi Chen <luoqi@chen.ml.org>


45559 10-Apr-1999 nik

Fixed one typo ("[[=e]]" -> "[[=e=]]") and two occurences of whitespace
before a macro.

PR: docs/7833
Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.jp>


45558 10-Apr-1999 nik

.sp -> .Pp

"... Pa /etc/resolv.conf" -> "...\n.Pa /etc/resolv.conf"

.Po and .Pc reported as broken, replaced with "(" and ")"

PR: docs/7819
Submitted by: yohta@bres.tsukuba.ac.jp


45557 10-Apr-1999 nik

ipfstat is now in section 8 of the manual.

PR: 7791
Submitted by: Stefan Eggers <seggers@semyam.dinoco.de>


45521 09-Apr-1999 obrien

Did not mean to import these with 2.0b1pl17
(was the docs/ dir in previous ISC distfiles)


45493 08-Apr-1999 brian

MF libexec/telnetd: Determine the host name using an array size of
MAXHOSTNAMELEN and call trimdomain() before implementing
the -u option.


45474 08-Apr-1999 bde

Removed unconditional definitions of __ELF__. They were redundant for
elf and wrong for i386-aout.


45468 08-Apr-1999 simokawa

Change default entry point from `__start' to `_start' which is in crt1.o.
Cc doesn't need to pass `-e _start' to ld anymore.

Agreed by: gallatin and dfr


45458 08-Apr-1999 obrien

Merge shared LIB_SPEC into share config header.


45457 08-Apr-1999 obrien

merge alpha/freebsd-elf.h into alpha/freebsd.h

Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>


45428 07-Apr-1999 brian

MF libexec/telnetd: MAXHOSTNAMELEN & -u fixes.


45395 06-Apr-1999 brian

Use realhostname().


45379 06-Apr-1999 obrien

Mispelled global option in usage.


45377 06-Apr-1999 brian

MF src/libexec/telnetd: Verify the reverse DNS lookup
ala rlogind.
Suggested by: markm


45331 05-Apr-1999 peter

Zap files not in cvs-1.10


45330 05-Apr-1999 peter

Stray files that used to be in 1.9.x that are not in 1.10


45328 05-Apr-1999 obrien

libg++ is OBE.


45317 04-Apr-1999 obrien

Fix space padding that was causing a problem in creating the final
CPP_PREDEFINES.


45277 03-Apr-1999 obrien

* Protect ourselves from any previously defined options.
* Turn on DEFAULT_VTABLE_THUNKS. (it is the default anyway, I'm just being
explicit about it, in case it causes us trouble it might be easier for
someone to notice it this way)


45257 03-Apr-1999 bde

Fixed printf format errors.


45256 03-Apr-1999 ache

Since our inetd wrapped now, treat all its services as tcpd-prefixed
for tcpdchk


45253 03-Apr-1999 obrien

Bump __FreeBSD_cc_version to 400002 in case we need to know we are using
EGCS at some point.

Submitted by: jdp


45249 02-Apr-1999 obrien

Be quiet by default.


45159 30-Mar-1999 obrien

Our ping doesn't have the ``-w'' option.

Submitted by: Kevin Street <street@iname.com>


45137 30-Mar-1999 obrien

Alpha architecture config files.

Obtained from: adapted from Hidetoshi Shimokawa <simokawa@FreeBSD.ORG>'s
alpha suppliment to the Egcs port.


45135 30-Mar-1999 obrien

Base configuration file for all FreeBSD targets.


44934 22-Mar-1999 obrien

fix conflicts.


44933 22-Mar-1999 obrien

Update to latest version.


44931 22-Mar-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r44930,
which included commits to RCS files with non-trunk default branches.


44923 21-Mar-1999 phk

Remove the linker-set hack we used for BB profiling.


44905 20-Mar-1999 billf

mdoc fixes

PR: docs/7864
Submitted by: Yoshihiko OHTA <yohta@bres.tsukuba.ac.jp>


44856 18-Mar-1999 peter

Merge cvs-1.9.xx -> 1.10 changes onto mainline.

Changes of significance include the top level CVS directory being optional
and defaulting to off..


44855 18-Mar-1999 peter

Merge cvs-1.9.xx -> 1.10 changes onto mainline.

The merge turned up a long-standing bug in local additions. I'm not
quite sure it's right yet. (the code in question is dealing with
diffs relative to "HEAD" and dead revisions).


44853 18-Mar-1999 peter

This commit was generated by cvs2svn to compensate for changes in r44852,
which included commits to RCS files with non-trunk default branches.


44783 15-Mar-1999 obrien

Fix conflicts.


44778 15-Mar-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r44777,
which included commits to RCS files with non-trunk default branches.


44744 14-Mar-1999 markm

This commit was generated by cvs2svn to compensate for changes in r44743,
which included commits to RCS files with non-trunk default branches.


44423 02-Mar-1999 bde

Restored rev.1.2, which was clobbered by rev.1.4 (don't print "Making
info file ..." except in verbose mode).


44398 02-Mar-1999 mckusick

Reorganize locking to avoid holding the lock during calls to bdwrite
and brelse (which may sleep in some systems).

Obtained from: Matthew Dillon <dillon@apollo.backplane.com>


44383 02-Mar-1999 mckusick

Ensure that softdep_sync_metadata can handle bmsafemap and mkdir entries
if they ever arise (which should not happen as softdep_sync_metadata is
currently used).


44366 01-Mar-1999 imp

This commit was generated by cvs2svn to compensate for changes in r44365,
which included commits to RCS files with non-trunk default branches.


44350 28-Feb-1999 imp

Remove *mip* and *decstation* from the filter, per FREEBSD-updating.

This, and the previous import were approved by jdp.


44349 28-Feb-1999 imp

This commit was generated by cvs2svn to compensate for changes in r44348,
which included commits to RCS files with non-trunk default branches.


44347 28-Feb-1999 imp

We've been using 2.9.1 tools for some time now, so reflect that in the
example of how to add things to the FreeBSD tree.

Approved by: jdp


44342 28-Feb-1999 obrien

fix conflicts


44341 28-Feb-1999 obrien

Break a paragraph into two.


44338 28-Feb-1999 obrien

update for latest import


44336 28-Feb-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r44335,
which included commits to RCS files with non-trunk default branches.


44193 21-Feb-1999 jdp

Fix bug: If gdb couldn't find the dynamic linker's "r_debug_state"
symbol, it aborted with "virtual memory exhausted." Now it warns
about the problem and proceeds.


44165 20-Feb-1999 julian

World, I'd like you to meet the first FreeBSD token Ring driver.
This is for various Olicom cards. An IBM driver is following.
This patch also adds support to tcpdump to decode packets on tokenring.
Congratulations to the proud father.. (below)

Submitted by: Larry Lile <lile@stdio.com>


44116 18-Feb-1999 fenner

Make .Os behave as defined (unrecognized arguments displayed as given).
Add a warning for unknown BSD versions.
Make ".Os FreeBSD" work without a warning (fix bug in previous commit).


44102 17-Feb-1999 mckusick

fix double LIST_REMOVE; other cosmetic changes to match version 9.32.
Obtained from: Jeffrey Hsu <hsu@FreeBSD.ORG>


44086 16-Feb-1999 des

Better fix for the traceroute flood bug.

Submitted by: bde


44057 15-Feb-1999 des

If the user provided a large enough argument to the -w option, the sum
would overflow and you'd end up doing select() with a negative timeout.


44055 15-Feb-1999 fenner

Change .Fx macro to always display "FreeBSD" and its argument, whether
the argument is a known FreeBSD version or not.
Output an nroff error if .Fx is used with an unknown FreeBSD version.
Change .Nx and .Ox macros to always display the argument, whether
the argument is a known version or not. This eliminates much of the
need to syncrhonize .Nx and .Ox with their source OS's -- only the
exceptions (like ".Nx 1.2a" -> "NetBSD 1.2A") where the argument is
not directly copied to the output need to be added.


44054 15-Feb-1999 fenner

Always define oS to be "FreeBSD $2", no matter whether or not we
know the version number given as the argument to ".Os FreeBSD xxx".
Output nroff warning when we see a version number that we don't
know about.


43963 13-Feb-1999 obrien

Fix ufs mounting support

PR: 10044
Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>


43895 11-Feb-1999 obrien

fix conflicts


43893 11-Feb-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r43892,
which included commits to RCS files with non-trunk default branches.


43891 11-Feb-1999 obrien

update for latest import


43861 10-Feb-1999 obrien

add -1 option: Try once, if we fail, EXIT

Obtained from: OpenBSD


43860 10-Feb-1999 obrien

remove cruft I meant to remove


43858 10-Feb-1999 obrien

* fix paths in manpages
* sort references


43839 10-Feb-1999 obrien

use /sbin/dhclient-script rather than /etc/dhclient-script

Obtained from: OpenBSD


43837 10-Feb-1999 obrien

patch-ac from ports/net/isc-dhcp2

date: 1997/06/03 06:24:11; author: pst
current apparently defines INADDR_LOOPBACK


43836 10-Feb-1999 obrien

Information on how I did the import.

I still have reservations about choosing the ISC client over the WIDE client,
but I believe the FreeBSD community in general seems to prefer this choice.
Also OpenBSD uses this version and msmith showed that the ISC client gives
us more choices in how we hook the client into sysinstall and /etc/rc*


43830 10-Feb-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r43829,
which included commits to RCS files with non-trunk default branches.


43734 07-Feb-1999 peter

Remove the standalone buildtools stuff, we don't use it here and it
clutters things up. (Suggested by wollman)


43733 07-Feb-1999 peter

Merge 8.9.2+patches -> 8.9.3 changes into mainline.


43731 07-Feb-1999 peter

This commit was generated by cvs2svn to compensate for changes in r43730,
which included commits to RCS files with non-trunk default branches.


43724 07-Feb-1999 yokota

- Add FreeBSD 2.2.7, 2.2.8, 3.1, and 4.0 to the Fx and Os macros.
- Add 2.2.1 and 2.2.2 missing in a couple of places too.

(This is an interim measure and a better way of redefining these macros
is in discussion.)


43579 04-Feb-1999 peter

Restore rev 1.2 and 1.3 after they got spammed and backed out in rev 1.7
and 1.8 as those features are used by the ports tree.

(RELENG_3 candidate)


43578 04-Feb-1999 peter

Restore rev 1.2 after it got spammed in rev 1.3 and 1.4.


43158 24-Jan-1999 obrien

Fix logic surrounding the noconn option.
(this should also shutup the warning message everybody sees)

Submitted by: David Wolfskill <dhw@whistle.com>


43151 24-Jan-1999 peter

Merge changes from vendor branch into our version


43149 24-Jan-1999 peter

This commit was generated by cvs2svn to compensate for changes in r43148,
which included commits to RCS files with non-trunk default branches.


43052 22-Jan-1999 obrien

Update __FreeBSD__ and __FreeBSD_cc_version to be consistant with
__FreeBSD_version

Forgotten by: Eivind and Some anonymous release engineer


43044 22-Jan-1999 dg

Gutted softdep_deallocate_dependencies and replaced it with a panic. It
turns out to not be useful to unwind the dependencies and continue in
the face of a fatal error.
Also changed the log() to a printf() in softdep_error() so that it will
be output in the case of a impending panic.
Submitted by: Kirk McKusick <mckusick@mckusick.com>


42917 20-Jan-1999 jdp

Make it possible to use PAM in statically-linked applications.


42840 19-Jan-1999 jdp

Correct the previous Y2K "fix". It caused man page dates to come
out like "January 19, 99+1900".


42791 18-Jan-1999 simokawa

Merge from verdor branch (v_3_4_2) and remove obsolete files.


42789 18-Jan-1999 simokawa

This commit was generated by cvs2svn to compensate for changes in r42788,
which included commits to RCS files with non-trunk default branches.


42721 16-Jan-1999 danny

y2k nit: date +%y -> date +%Y


42719 16-Jan-1999 peter

a.out is default


42701 15-Jan-1999 peter

Unbreak previous commit..


42700 15-Jan-1999 markm

Fix CVS merge breakage.


42699 15-Jan-1999 markm

Break cvs merge


42697 15-Jan-1999 peter

Fix(?) an apparent merge glitch. Half of xrealloc() was missing..


42696 15-Jan-1999 markm

Sigh. Fix broken merges. I hate CVS.


42695 15-Jan-1999 danny

Tidy logic in sccs2rcs,
Fix y2kbug "19$year" in log.pl
PR: 9501
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>


42688 15-Jan-1999 markm

Add a file that I forgot to "cvs add", and remove a lot of stuff that is
no longer a part of texinfo-3.12.
Pointed out by: dg (partially)


42685 15-Jan-1999 danny

Yet another y2k bug. (printf("19%s %s", $3, $4);)


42664 14-Jan-1999 markm

Resove conflicts.


42661 14-Jan-1999 markm

This commit was generated by cvs2svn to compensate for changes in r42660,
which included commits to RCS files with non-trunk default branches.


42659 14-Jan-1999 obrien

Didn't get all the mods on the fixup.


42633 13-Jan-1999 obrien

Fix conflicts.


42630 13-Jan-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r42629,
which included commits to RCS files with non-trunk default branches.


42586 12-Jan-1999 peter

These files were replaced by symlinks in 8.9.2...


42580 12-Jan-1999 peter

Merge sendmail 8.9.1 -> 8.9.2 changes into mainline. Some of our changes
were submitted back to sendmail.org (stage 1) and were incorporated.


42576 12-Jan-1999 peter

This commit was generated by cvs2svn to compensate for changes in r42575,
which included commits to RCS files with non-trunk default branches.


42447 09-Jan-1999 obrien

uptime display more in style with original code


42374 07-Jan-1999 bde

Don't pass unused unused timestamp args to UFS_UPDATE() or waste
time initializing them. This almost finishes centralizing (in-core)
timestamp updates in ufs_itimes().


42372 07-Jan-1999 peter

ld was kinly looking up the Linux /etc/ld.so.conf (which we don't have).
Teach it about the FreeBSD equivalent, because there are some funny things
going on with -rpath that I can't quite get a handle on. It looks like
setting an rpath on a new shared object overrides all the implicit
DT_RPATH's from the dependencies, causing them to fail at link time
(but not runtime).


42354 06-Jan-1999 bde

UFS_UPDATE() takes a boolean `waitfor' arg, so don't pass it the value
MNT_WAIT when we mean boolean `true' or check for that value not being
passed. There was no problem in practice because MNT_WAIT had the
magic value of 1.


42258 03-Jan-1999 wollman

Add a macro for ISO/IEC 9945-1: 1996, the official designation of the most
recent POSIX.1 standard.


42156 30-Dec-1998 billf

remove non-existant references, correct spelling errors.

PR: docs/7963, docs/7790
Submitted by: Stefan Eggers seggers@semyam.dinoco.de
Norihiro Kumagai kuma@jp.freebsd.org


42140 29-Dec-1998 billf

Remove bogus reference to mkfilters(1)

PR: docs/7790
Submitted by: Stefan Eggers seggers@semyam.dinoco.de


42138 29-Dec-1998 billf

Remove bogus reference.

PR: docs/8430
Submitted by: jkb


41943 19-Dec-1998 obrien

Display uptime in upper right corner.

Submitted by: Andy Farkas <andyf@speednet.com.au>
Obtained from: freebsd-current list


41858 16-Dec-1998 peter

Old stuff laying around: Don't use getstr which can conflict with some
curses/termcap/terminfo implementations and causes recursion.


41856 16-Dec-1998 peter

Old stuff from a source tree: copy (verbatum) the code to expand the
%s/%m in the default /etc/gettytab.


41839 16-Dec-1998 peter

Make this work with the perl5 in the source tree - the API has "evolved"
and some code glitches had to be fixed.


41825 15-Dec-1998 cracauer

Compile threaded proframs with -D_THREAD_SAFE, not -D_THREADSAFE


41786 14-Dec-1998 mckay

Restore traditional behaviour by allowing tabs in strings. In deference
to the new age of internationalisation, I used isblank() instead of a
literal '\t'.


41659 10-Dec-1998 julian

Remove some compiler warnings.


41642 10-Dec-1998 steve

Another directive nit.

PR: 8144
Submitted by: NOKUBI Hirotaka <hnokubi@yyy.or.jp>


41641 10-Dec-1998 steve

Remove @code directive around --change-leading-char.

PR: 8143
Submitted by: NOKUBI Hirotaka <hnokubi@yyy.or.jp>


41640 10-Dec-1998 steve

Comment out empty "BUGS" section.

PR: 8121
Submitted by: Norihiro Kumagai <kuma@jp.freebsd.org>


41639 10-Dec-1998 steve

Remove duplicate entries for -N and -S commandline switches.

PR: 8120
Submitted by: Horihiro Kumagaio <kuma@jp.freebsd.org>


41634 10-Dec-1998 steve

Typo fix: "whether on not" -> "whether or not".

PR: 8102
Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org>


41626 10-Dec-1998 steve

Typo fix.

PR: 8034
Submitted by: NOKUBI Hirotaka <hnokubi@yyy.or.jp>


41605 08-Dec-1998 billf

Balance the brackets.

PR: docs/8505
Submitted by: Kazuo Horikawa <horikawa@jp.FreeBSD.org>


41554 06-Dec-1998 obrien

The \*(td string macro, which is supposed to display today's date in the form
"October 14, 1998". A Y2k fix makes it now display "October 14, 98+1900".
Appears you can perform arithmetic in a string definition.

PR: gnu/8321
Reviewed by: Andrew J. Korty <ajk@purdue.edu>


41485 03-Dec-1998 billf

The explanation shows "-V" as being 'verbose' correct this to "-v"

PR: docs/8892
Submitted by: Hirayama Issei <iss@mail.wbs.ne.jp>


41482 03-Dec-1998 dillon

Fixed typo in previous commit. oops.


41481 03-Dec-1998 dillon

Reviewed by: "Jordan K. Hubbard" <jkh@zippy.cdrom.com>, cvs-all@freebsd.org

Add '-g' main option to cvs to better support shared-group access
to a common checked-out *working* set by multiple users. See manual
page for details.


41433 30-Nov-1998 billf

".Mn mountd" -> ".Nm mountd" which now makes the instructions accurate.

PR: docs/8525
Submitted by: Norihiro Kumagai <kuma@jp.FreeBSD.org>


41428 30-Nov-1998 billf

Grammer fix and style nits.

PR: docs/8879
Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org>


41336 25-Nov-1998 jdp

Remove files that we don't use and are unlikely to use. You can
still get them with "cvs upd -r pam_unpruned" if you want to look at
them.


41325 25-Nov-1998 dfr

Port top to the alpha.

Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>


41268 20-Nov-1998 obrien

xfer typo

PR: docs/8723
Submitted by: Junji SAKAI <sakai@jp.freebsd.org>


41267 20-Nov-1998 obrien

amq.8 contains typos

PR: docs/8433
Reviewed by: Kazuo Horikawa <horikawa@jp.freebsd.org>


41264 20-Nov-1998 obrien

Not part of AM-UTILS any longer. Should be build from fixrmtab.in.


41226 18-Nov-1998 jdp

Eliminate a setreuid() call that doesn't make sense for FreeBSD.
We don't use this module, but still I don't want to leave this call
in the code.


41225 18-Nov-1998 jdp

Fix #includes for FreeBSD.


41224 18-Nov-1998 jdp

Don't call openlog() and closelog(). Assume that the application
takes care of that.


41223 18-Nov-1998 jdp

s/Linux-PAM/PAM/g


41221 18-Nov-1998 jdp

This commit was generated by cvs2svn to compensate for changes in r41220,
which included commits to RCS files with non-trunk default branches.


41219 18-Nov-1998 jdp

Initial revision


41197 16-Nov-1998 nectar

vmunix -> kernel
PR: port/8543
Submitted by: jkb@best.com


41172 15-Nov-1998 ache

Prevent MakeMaker to produce /usr/local/local/bin path for
INSTALLSCRIPT and INSTALLBIN: it broke ports


41146 14-Nov-1998 obrien

update for latest vendor import


41145 14-Nov-1998 obrien

Clean up conflicts.


41143 14-Nov-1998 obrien

This commit was generated by cvs2svn to compensate for changes in r41142,
which included commits to RCS files with non-trunk default branches.


40791 31-Oct-1998 peter

Change dirty block list handling to use TAILQ macros.


40736 29-Oct-1998 jdp

Per request from ache, change the numbering scheme of __FreeBSD_cc_version.
Its form is now like __FreeBSD_version, with the FreeBSD revision in
the top digits.


40715 29-Oct-1998 jdp

Add a new predefined preprocessor symbol "__FreeBSD_cc_version",
with a numeric value that describes the feature level of the
compiler. This can be used to check for the presence/absence of
FreeBSD-specific compiler features. The value is a decimal number
whose digits have the form VRRRRFF, where:

V = Compiler vendor. 0 (elided) means gcc.
RRRR = Vendor's version number, e.g., 2721 for the current
gcc version (2.7.2.1).
FF = FreeBSD-specific revision level. 00 means the stock
compiler from the vendor.

The value of "__FreeBSD_cc_version" is hard-coded in
"src/contrib/gcc/config/i386/freebsd.h" and must be incremented
when new FreeBSD-specific compiler features are added. I considered
simply picking up the value of FreeBSD_version from <osreldate.h>.
But that would break cross compiles of gcc.

PR: Part of the fix for gnu/8452
Suggested by: bde


40692 28-Oct-1998 jkh

Clarify a rather ambiguous debugging message.


40654 25-Oct-1998 obrien

update to match reality


40624 24-Oct-1998 thepish

PR: 8429
Submitted by: jkb@FreeBSD.ORG
correct typo in example


40498 17-Oct-1998 bde

"Fixed" a printf format error. Use bogus casts to avoid using %p so that
the output doesn't change (unless the old format caused runtime errors).


40497 17-Oct-1998 bde

Fixed printf format errors.


40494 17-Oct-1998 bde

Fixed the type of a signal handler.


40230 11-Oct-1998 markm

Fix minor bogon pointed out by perl5's own perldoc.


40229 11-Oct-1998 markm

Cleanup. No need to install manpages here; no other system module
does it, and it is done /in toto/ elsewhere.


40043 07-Oct-1998 des

By popular request, mention that mailq responds to the same options as
sendmail(8).

PR: i386/8149


39949 04-Oct-1998 obrien

-v to show compiled in paths doesn't seem to exist.
PR: docs/7912
Submitted by: Stephen J. Roznowski <sjr@home.net>


39933 03-Oct-1998 nate

Fix 'noatime' bug that was unrelated to use of noatime.

The problem is caused when a directory block is compacted. When this
occurs, softdep_change_directoryentry_offset() is called to relocate each
directory entry and adjust its matching diradd structure, if any, to match
the new location of the entry. The bug is that while
softdep_change_directoryentry_offset() correctly adjusts the offsets of
the diradd structures on the pd_diraddhd[] lists (which are not yet ready
to be committed to disk), it fails to adjust the offsets of the diradd
structures on the pd_pendinghd list (which are ready to be committed to
disk). This causes the dependency structures to be inconsistent with
the buf contents. Now, if the compaction has moved a directory entry to
the same offset as one of the diradd structures on the pd_pendinghd list
*and* a syscall is done that tries to remove this directory entry before
this directory block has been written to disk (which would empty
pd_pendinghd), a sanity check in newdirrem() will call panic() when it
notices that the inode number in the entry that it is to be removed doesn't
match the inode number in the diradd structure with that offset of that
entry.

Reviewed by: Kirk McKusick <mckusick@McKusick.COM>
Submitted by: Don Lewis <Don.Lewis@tsc.tdk.com>


39867 01-Oct-1998 markm

Fix default location of *.ph file install.

Asked-for-by: ache


39866 01-Oct-1998 markm

Whitespace cleanup. Probable patch cut 'n paste.


39645 25-Sep-1998 dfr

Rewrite the bits of the solib code to handle implentations where dlopen
may insert into the list of loaded libraries (ours is one) instead of
appending to the end of the list. Also cope with dlclose() removing
libraries from the list.


39629 24-Sep-1998 markm

Part #1 of suidperl repair.


39623 24-Sep-1998 luoqi

Eliminate a race in VOP_FSYNC() when softupdates is enabled.
Submitted by: Kirk McKusick <mckusick@McKusick.COM>
Two minor changes are also included,
1. Remove gratuitious checks for error return from vn_lock with LK_RETRY set,
vn_lock should always succeed in these cases.
2. Back out change rev. 1.36->1.37, which unnecessarily makes async mount
a little more unstable. It also keeps us in sync with other BSDs.
Suggested by: Bruce Evans <bde@zeta.org.au>


39494 19-Sep-1998 jdp

Fix segmentation violation that sometimes occurred when warning
symbols were used.

PR: bin/7980
Submitted by: Doug Rabson <dfr>


39411 17-Sep-1998 phk

s/the the/to the/
PR: 7922
Reviewed by: phk
Submitted by: Kaneda Hiloshi <vanitas@ma3.seikyou.ne.jp>


39300 15-Sep-1998 fenner

Merge tcpdump 3.4

PR: bin/7877


39298 15-Sep-1998 fenner

This commit was generated by cvs2svn to compensate for changes in r39297,
which included commits to RCS files with non-trunk default branches.


39294 15-Sep-1998 fenner

Merge libpcap version 0.4

PR: bin/7877


39292 15-Sep-1998 fenner

This commit was generated by cvs2svn to compensate for changes in r39291,
which included commits to RCS files with non-trunk default branches.


39268 15-Sep-1998 markm

Fix for the 2.2.7 a.out --> 3.0 ELF cross-build.

I need report backs on this one, guys!!


39193 14-Sep-1998 jdp

Bring core-regset.c back to life. It is needed for handling ELF
core dumps.


39159 14-Sep-1998 obrien

Support our "nfsv2" option. (originally added to old amd/amd/host_opts.c
rev 1.5)
The "nfsv2" option is equivant to "proto=udp,vers=2". It is debatable
whether NFS v2 should force "proto=udp" but I figure that is what most people
will expect. Note, I can get the new Amd to mount a 2.2-STABLE box with
"proto=tcp,vers=2". RFC 1094 does not disallow such behavior.


39144 13-Sep-1998 eivind

Support PnP compatibility IDs. This allow e.g. the ed driver to pick
up any PnP NE2000 compatible card, instead of forcing us to always
update ID lists.

Submitted by: Ugo Paternostro <paterno@dsi.unifi.it>


39116 12-Sep-1998 wollman

Add a .St -p1003.1g.


39103 12-Sep-1998 alex

Typo fix.

PR: 7906
Submitted by: Yoshihiko OHTA <yohta@bres.tsukuba.ac.jp>


39101 12-Sep-1998 alex

Typo fixes.

PR: 7904
Submitted by: Issei Hirayama <iss@mail.wbs.ne.jp>


39087 12-Sep-1998 obrien

Merge our older Amd manpages with the new am-utils manpages.
The am-utils manpages were un-mandocafied, un4.4BSD'ed with CSRG
copyrights regressed to 1989.

This work was done by Brian Handy who I am very greatful to.
(only a few minor tweaks by me)

Submitted by: Brian Handy <handy@lambic.physics.montana.edu>


39012 09-Sep-1998 imp

sprintf -> snprintf


39011 09-Sep-1998 imp

Add alpha-*=freebsd* to configure


39010 09-Sep-1998 imp

Use readlink correctly


39007 09-Sep-1998 obrien

Fully use our own generated files for NFSv3.


38999 09-Sep-1998 markm

Minimalist fixes to make BMaked perl build.


38981 09-Sep-1998 markm

This commit was generated by cvs2svn to compensate for changes in r38980,
which included commits to RCS files with non-trunk default branches.


38928 07-Sep-1998 jdp

Make profiling work for ELF. gprof now autodetects the format of
the executable file, so it will work for both a.out and ELF format
files. I have split the object format specific code into separate
source files. It's cleaner than it was before, but it's still
pretty crufty.

Don't cheat on your make world for this update. A lot of things
have to be rebuilt for it to work, including the compiler and all
of the profiled libraries.


38917 07-Sep-1998 alex

Added .St -susv2 --> Version 2 of the Single UNIX Specification


38891 06-Sep-1998 jdp

Resolve conflicts from import of binutils-2.9.1.

Submitted by: Doug Rabson <dfr>


38890 06-Sep-1998 jdp

This commit was generated by cvs2svn to compensate for changes in r38889,
which included commits to RCS files with non-trunk default branches.


38858 05-Sep-1998 asami

Remove tcl from src/contrib.


38842 05-Sep-1998 obrien

More sorting of references.


38840 05-Sep-1998 obrien

MFO: rev 1.3 - correct man page xrefs.


38839 05-Sep-1998 obrien

compare getopt() with -1, not EOF


38838 05-Sep-1998 obrien

MFO rev 1.4 - sort cross references


38831 05-Sep-1998 obrien

With the change to the 4.4Lite2 mount interface we don't need special
conf files.


38803 04-Sep-1998 obrien

Don't utilize the pre-4.4Lite2 INITMOUNTNAMES compatibility cruft.
(bde will remove it soon)


38790 04-Sep-1998 obrien

Don't assume that time_t is long.
(from rev 1.4 by bde of old AMD)


38762 02-Sep-1998 brian

This is AMD.CONF, not AMQ.CONF


38728 01-Sep-1998 gpalmer

Remove redundant decl. of time(). Causes problems on alpha


38657 30-Aug-1998 jb

Change /etc/objectformat to /etc/objformat. Last chance 'cause it's E-day.

Suggested by: jdp


38638 30-Aug-1998 thepish

PR: 7741
Submitted by: Hellmuth Michaelis <hm@kts.org>
add LCP/PAP/CHAP/IPCP frame printing functionality


38598 28-Aug-1998 jdp

This file has been renamed to FREEBSD-upgrade in accordance with the
Policies section of the Handbook.

Submitted by: "David O'Brien" <obrien>


38597 28-Aug-1998 jdp

This file has been renamed to FREEBSD-upgrade in accordance with the
Policies section of the Handbook.

Submitted by: "David O'Brien" <obrien>


38578 27-Aug-1998 obrien

rpcgen our own mount.h, nfs_prot.h, mount_xdr.c, and nfs_prot_x.c
for NFSv3 support


38577 27-Aug-1998 obrien

accidently changed some white space


38575 27-Aug-1998 obrien

Properly create db files vs. dbm files.

Obtained from: NetBSD


38510 24-Aug-1998 bde

Support printf format checking of FreeBSD kernel formats %[Dbrz].
This is enabled by the undocumented option -fformat-extensions.
This option should be named better and/or give more control over
the extensions.

Fixed a message - don't warn about the field width when it's the
precision that has the wrong type. Didn't fix excessive checking
for the precision relative to the type - ANSI requires both to be
ints, but gcc permits the field width to be either int or unsigned
int.


38500 23-Aug-1998 obrien

* Check getopt()'s return with -1, not EOF
* protect a few potential buffer overflows

Obtained from: NetBSD


38499 23-Aug-1998 obrien

more files we don't need.


38498 23-Aug-1998 obrien

Two more files FreeBSD doesn't need.


38497 23-Aug-1998 obrien

upgrade instructions.


38495 23-Aug-1998 obrien

This commit was generated by cvs2svn to compensate for changes in r38494,
which included commits to RCS files with non-trunk default branches.


38459 20-Aug-1998 jb

Use %p and void * casts to print pointers.
Cast the hash value returned to long instead of int.


38416 18-Aug-1998 jb

Add #include string.h to get prototypes.


38415 18-Aug-1998 jb

Add #include string.h to get prototypes.

Cast a pointer to u_long instead of u_int32_t to avoid a warning. This
is cosmetic because the code is just looking for the remainder.


38291 12-Aug-1998 julian

Handle the case of moving a directory onto the top of a sibling's
child of the same name.

Submitted by: Kirk Mckusick with fixes from luoqi Chen
Obtained from: Whistle test tree.


38279 12-Aug-1998 des

Add missing .TP in "INTERACTIVE MODE" section.


38278 12-Aug-1998 wosch

Merge from stable: support for the o, order, command


38151 07-Aug-1998 phk

None of the header files for the packet capture library
are suitable to include in a C++ file.

PR: 7229
Reviewed by: phk
Submitted by: Craig Spannring <cts@internetcds.com>


38090 04-Aug-1998 des

Add -t option ('t' in interactive mode) to make top(1) ignore itself.
Attempts to contact the author of top(1) (William LeFebvre) have so
far been unsuccessful.

PR: 7253
Submitted by: Yours Truly


38089 04-Aug-1998 peter

I obviously cannot read. I misread the ifdef in the Makefile - DONT_FSYNC
was not on by default.. Back previous change out.


38086 04-Aug-1998 peter

Invert the sense of the -s flag (local addition). Instead of compiling
in the behavior via the previously default #define DONT_FSYNC, use the
-s flag to turn the fsync() behavior on. This can be configured in
sendmail.cf without recompiling mail.local.


38084 04-Aug-1998 peter

Copy original revs 1.2,1.3 - nofsync/nobiff support, usage update.


38083 04-Aug-1998 peter

Copy original revs 1.2,1.3 - sort xrefs, document new -b and -s flags.


38082 04-Aug-1998 peter

Copy original rev 1.2 - fix usage line to match reality.


38081 04-Aug-1998 peter

Copy original rev 1.2 - path updates for 4.4BSD so smrsh is more useable.


38080 04-Aug-1998 peter

Copy original rev 1.2 - immediate delivery rather than queueing and -Wall.


38079 04-Aug-1998 peter

Copy original revs 1.19,1.15 - setusercontext() support and __FreeBSD__>=2
Copy original revs 1.9,1.8,1.7 - set PS_STRINGS correctly.


38078 04-Aug-1998 peter

Copy original rev 1.3 - fix cosmetic typo in example
Copy original rev 1.2 - sort xrefs


38077 04-Aug-1998 peter

Copy original rev 1.5 - sort/fix xrefs
Copy original rev 1.4 - correct path to /usr/share/misc/sendmail.hf


38076 04-Aug-1998 peter

Copy respective revisions from usr.sbin/sendmail/*/* - use -1 with getopt.


38075 04-Aug-1998 peter

Copy rev 1.2 of usr.sbin/sendmail/cf/sh/makeinfo.sh: Use `LC_TIME=C date`.


38074 04-Aug-1998 peter

Copy across rev 1.2 of usr.sbin/sendmail/cf/ostype/bsd4.4.m4:
Remove the legacy -d option from the arguments to mail.local in 4.4bsd.


38073 04-Aug-1998 peter

Copy across rev 1.2 of usr.sbin/sendmail/cf/m4/cfhead.m4: Record envelope
sender in each Received: header along the way. Great for spammer hunting.


38033 03-Aug-1998 peter

This commit was generated by cvs2svn to compensate for changes in r38032,
which included commits to RCS files with non-trunk default branches.


38024 02-Aug-1998 bde

Fixed printf format errors.


38022 02-Aug-1998 bde

Fixed printf format errors.


38021 02-Aug-1998 bde

Fixed printf format errors. gcc should have a macro HOST_PTR_PRINTF_TYPE
to go with its HOST_PTR_PRINTF[_FORMAT], since if %p is wrong for the
format then `void *' is probably wrong for the type.


37654 15-Jul-1998 jdp

Add support for a new archetype "printf0" for the "format" function
attribute. It is like the existing "printf" archetype, except that
it doesn't complain if the format string is a null pointer. See
the node "Function Attributes" in the GCC info pages if you don't
know what this is all about.

This change will allow us to add format string checking for the
err(3) family of functions.


37508 08-Jul-1998 dt

Add XPG4.2.


37453 06-Jul-1998 bde

Fixed printf format errors.


37451 06-Jul-1998 bde

Declared version_string() properly (1970's style).


37313 30-Jun-1998 bde

Fixed printf format errors.


37312 30-Jun-1998 bde

Fixed printf format errors.


37310 30-Jun-1998 bde

Fixed (1970's/old-GNU style) a missing declaration of a function that
doesn't return int.


37305 30-Jun-1998 bde

Fixed printf format errors.


37304 30-Jun-1998 bde

Fixed printf format errors.


37260 29-Jun-1998 bde

Don't assume that time_t is long. Don't assume that time_t's can be
represented by ints. Keep assuming that time_t's can be represented
by longs.


37259 29-Jun-1998 bde

Don't assume that time_t is long.


37078 20-Jun-1998 peter

Merge 3.2.3 -> 3.2.7 changes into mainline.


37075 20-Jun-1998 peter

This commit was generated by cvs2svn to compensate for changes in r37074,
which included commits to RCS files with non-trunk default branches.


36982 14-Jun-1998 steve

'They They' -> 'They'

PR: 6912
Submitted by: Stefan Eggers <seggers@semyam.dinoco.de>


36936 12-Jun-1998 julian

Note which version of Kirk's sources this corresponds to.


36935 12-Jun-1998 julian

Fix the case when renaming to a file that you've just created and deleted,
that had an inode that has not yet been written to disk, when the inode of the
new file is also not yet written to disk, and your old directory entry is not
yet on disk but you need to remove it and the new name exists in memory
but has been deleted but the transaction to write the deleted name to disk
exists and has not yet been cancelled by the request to delete the non
existant name. I don't know how kirk could have missed such a glaring
problem for so long. :-) Especially since the inconsitency survived on
the disk for a whole 4 second on average before being fixed by other code.
This was not a crashing bug but just led to filesystem inconsitencies
if you crashed.

Submitted by: Kirk McKusick (mckusick@mckusick.com)


36900 11-Jun-1998 julian

Add B_NOCACHE to several cases where BSD4.4 only required a B_INVAL.
Change worked out by john and kirk in consort.


36899 11-Jun-1998 peter

Zap the T_UID,T_GID and T_UINFO stuff, it doesn't exist in the bind8
headers. As I understand it, it was for some really ancient athena stuff
that has long been replaced.


36885 11-Jun-1998 peter

Merge conflicting changes (all 1 line! :-) from 8.1.2.


36883 11-Jun-1998 peter

This commit was generated by cvs2svn to compensate for changes in r36882,
which included commits to RCS files with non-trunk default branches.


36871 10-Jun-1998 julian

Fix for "live inode" panic.
Submitted by: Kirk McKusick <mckusick@McKusick.COM>
Reviewed by: yeah right...


36866 10-Jun-1998 julian

Remove buggy debugging code.


36769 08-Jun-1998 jb

Add LIB_SPEC (same as on i386) so that gcc knows about libc_r.


36753 08-Jun-1998 jkoshy

Spelling fixes.

Submitted by: Josh Gilliam <josh@quick.net>
PR: 6880


36713 06-Jun-1998 jb

Fix an alignment problem on alpha by doing a bytewise copy.


36692 06-Jun-1998 jkoshy

Spelling corrections.

PR: 6868
Submitted by: Josh Gilliam <josh@quick.net>


36649 04-Jun-1998 steve

Fix a bunch of spelling errors.

PR: 6856
Submitted by: Josh Gilliam <josh@quick.net>


36637 04-Jun-1998 bde

Removed generated files. named used the wrong version of ns_parser.h.


36629 04-Jun-1998 dfr

Add support for baudrates higher than 37800.


36601 03-Jun-1998 jkoshy

Spelling corrections.

PR: 6829
Submitted by: Josh Gilliam <josh@quick.net>


36580 02-Jun-1998 julian

Add a reference to the Ganger/Patt paper


36477 30-May-1998 steve

Typo: Tile -> Title

PR: 6798
Submitted by: Josh Gilliam <josh@quick.net>


36427 27-May-1998 peter

If we are logging into a cvs pserver with the username of "anoncvs",
and we have not done an explicit 'cvs login', then use a default password
of "anoncvs". This allows things like:
setenv CVSROOT :pserver:anoncvs@anoncvs.freebsd.org:/cvs
cvs checkout src (without doing the normal 'cvs login' for pserver mode)
but this runs over the :pserver: protocol rather than the more troublesome
rsh. Naturally, the server had better be running in -R (readonly) mode :-)


36422 27-May-1998 peter

Make cvs really ignore a pserver password when the passwd field of the
CVSROOT/passwd file is empty. A 'cvs login' still seems to be required
since the cvs client doesn't seem to believe it's possible to not need
a password (yet :-). This is intended for cheap anoncvs use.


36421 27-May-1998 peter

It would help if it compiled. *blush*


36418 27-May-1998 peter

Add a new long flag that causes cvs to ignore the CVSROOT/passwd file.
This is mostly intended for use on freefall where we'd like to provide
a passwd file for easy anoncvs mirroring access, but don't want to open
up the pserver on freefall itself.

While here, some initial tweaks intended for allowing an empty pserver
password. I'm not sure that this works yet.


36417 27-May-1998 peter

Remove my hacks for capturing stdout/stderr through the protocol channel
while calling libdiff. It's too ugly and not worth the recursion problems
when there is a malloc failure (which writes to stderr - now diverted via
the buf system, which calls malloc, which causes another error message etc).

We can live with the standard artificial slowdown, but reduce the time a
bit and only delay when we really need to (ie: when running as a server).
The usleep time could probably use some tuning, it basically needs to
replace the time that it used to take to fork a large process, exec gnudiff
and the time that gnudiff took before writing the initial output.

This eliminates a whole mess of other hacks I was considering that changed
use of xmalloc to alloca() etc. It was going too fast in the wrong
direction.


36404 27-May-1998 julian

A fix to a debug test from Kirk.


36328 24-May-1998 des

Hopefully fix behaviour of libreadline when prompt is longer than
screen width and contains invisible characters.

PR: gnu/6701
Submitted-by: Chet Ramey chet@po.cwru.edu


36234 19-May-1998 julian

Bring up-to-date with Whistle's current version
Includes some debugging code.


36232 19-May-1998 julian

Merge with Kirk's version as of Feb 20

His version 9.23 == our version 1.5 of ffs_softdep.c
His version 9.5 == our version 1.4 of softdep.c


36225 19-May-1998 julian

Merge in Kirk's changes to stop softupdates from hogging all of memory.


36212 19-May-1998 julian

Change to stop a silly panic. This should be understood better.
Change a buffer swizzle trick to a bcopy. It would be nice if the efficient
trick could be used in the future.


36210 19-May-1998 julian

First published FreeBSD version of soft updates Feb 5.


36206 19-May-1998 julian

Import the next version received from kirk after some
FreeBSD feedback.


36201 19-May-1998 julian

Import the earliest version of the soft update code that I have.


36027 13-May-1998 jb

Make a bit of FreeBSD-specific code a bit more specific => i386 only.


36014 13-May-1998 phk

.Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENT

PR: 6599
Reviewed by: phk
Submitted by: Josh Gilliam <josh@quick.net>


35936 11-May-1998 steve

Fix spelling error.

PR: 6572
Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org>


35634 03-May-1998 peter

Update for some -current quirks, and some other things taken from the
*bsd bind-8 ports.
(our setpwent() was changed to return void, but our setgrent() returns
int still!)


35633 03-May-1998 peter

Old files moved/replaced/obsoleted by bind-8


35630 03-May-1998 peter

This commit was generated by cvs2svn to compensate for changes in r35629,
which included commits to RCS files with non-trunk default branches.


35619 02-May-1998 peter

This commit was generated by cvs2svn to compensate for changes in r35618,
which included commits to RCS files with non-trunk default branches.


35616 02-May-1998 ache

Back out complex and semi-correct workaround and commit one line fix
for 'echo' problem instead


35613 02-May-1998 jb

If not interactive, we need the traditional behaviour of the input
not being echoed to the output. So as a _hack_ to get the world building
again, redirect the readline rl_outstream to stderr when not interactive.

The proper way to handle non-interactive mode is to read from stdin
and don't worry about edit mode, but this is GNU so it's not worth the
time thinking about. I'm already pissed off that I even had to look
at this "nice code".


35562 30-Apr-1998 peter

partially revert rev 1.2 spammage. This file is broken as shipped and
depends on the typo in the #ifdef in order to work.. Since the line has
been touched, leave a note there so that nobody else tries to "fix" it
again.

PR: 2035


35554 30-Apr-1998 ache

Remove generated bc.h


35537 30-Apr-1998 ache

Add removed files to the removed list


35534 30-Apr-1998 ache

Remove junk files that occupes space: Flex/Bison output and TeX macros


35533 30-Apr-1998 dfr

Use the dynamic symtab of the runtime linker when looking for places to set
breakpoints. It may have been installed stripped.


35519 29-Apr-1998 andreas

Added short instruction for FreeBSD how to import


35517 29-Apr-1998 andreas

This commit was generated by cvs2svn to compensate for changes in r35516,
which included commits to RCS files with non-trunk default branches.


35493 28-Apr-1998 ache

Fix merge errors


35489 28-Apr-1998 ache

Merge local changes


35487 28-Apr-1998 ache

This commit was generated by cvs2svn to compensate for changes in r35486,
which included commits to RCS files with non-trunk default branches.


35168 13-Apr-1998 peter

-pg was causing a link with -lc_r... :-]

Submitted by: Dmitry Khrustalev <dima@xyzzy.machaon.ru>
PR: 6287


35134 11-Apr-1998 peter

Argh!.. Spot the deliberate mistake that was probably causing the
leftover files in /tmp.. (this commit brought to you by 'cvs update -j')


35116 10-Apr-1998 jb

Document the FreeBSD specific options from LIB_SPEC.


34912 27-Mar-1998 bde

Removed yacc output files so that it is impossible to mix them with
new ones that we generate.


34911 27-Mar-1998 bde

Removed yacc output files so that it is impossible to mix them with
new ones that we generate. We used to always mix the old header with
the new .cc file. This worked because Cygnus's yacc is surprisingly
compatible with our yacc.


34752 21-Mar-1998 peter

Some tweaks to get this to compile for the userland tools.


34740 21-Mar-1998 peter

This commit was generated by cvs2svn to compensate for changes in r34739,
which included commits to RCS files with non-trunk default branches.


34570 14-Mar-1998 jb

Ouch, my local cvs walloped the version I thought I was committing.
Here is what I intended.


34559 13-Mar-1998 jb

On i386, freebsd.h and freebsd-elf.h have been merged to combine
aout and elf support. freebsd-elf.h died as a result, so the BINFORMAT
test for elf in src/gnu/usr.bin/cc/cc_tool/Makefile will need to
use freebsd.h, not freebsd-elf.h. That means that alpha will have to
go the same way. The new alpha/freebsd.h has the alpha/freebsd-elf.h
definitions merged in.


34490 11-Mar-1998 jb

Nuke crti.o from the STARTFILE_SPEC again. No asm code is needed on alpha.

Add the define that lets gas know how to ".set" and enable pragmas
so that #pragma weak will work.


34482 11-Mar-1998 peter

Tweak from the cvs sources just after the 1.9.26 release:
1998-03-07 Tim Pierce <twp@skepsis.com>
* rcs.c (RCS_checkout): Negation bug when checking out symlinks:
existence_error should be !existence_error.

This shouldn't cause any major merge problems later.


34476 10-Mar-1998 jraynard

Remove test sub-directory.


34467 10-Mar-1998 peter

Merge changes from vendor branch into mainline


34462 10-Mar-1998 peter

This commit was generated by cvs2svn to compensate for changes in r34461,
which included commits to RCS files with non-trunk default branches.


34451 10-Mar-1998 jb

Change the LINK_SPEC to specify the same runtime loader as used on
i386-elf because that is what will be used for FreeBSD/Alpha.

Change the STARTFILE_SPEC to match the non-aout version of i386 so
that the csu files can be built in exactly the same way as i386-elf.
This means that FreeBSD/Alpha departs from NetBSD/Alpha which uses
crt0 and crtbegin/crtend. Since i386-aout uses crt0, I guess it was
decided that i386-elf should use crt1. i386-elf also references
crti and with this change, so does FreeBAS/Alpha.

I think it is important for FreeBSD to have a consistent implementation
across architectures and since ELF is quite compatible (ignoring
differences in 32 and 64 bits), gcc might as well be configured the
same.

Another change is that the entry symbol is _start, not __start as
in NetBSD.


34363 09-Mar-1998 peter

Both our a.out (hacked) gas and the binutils gas support .weak

Prompted by: bde


34356 09-Mar-1998 peter

Only do a.out/elf switching on i386 family


34352 09-Mar-1998 jb

This commit was generated by cvs2svn to compensate for changes in r34351,
which included commits to RCS files with non-trunk default branches.


34350 09-Mar-1998 jb

Add a FreeBSD entry for alpha-elf.


34349 09-Mar-1998 peter

Don't disable the use of $ in assembler labels.. It changes libstdc++
and libg++ so that they won't work with existing binaries (including
netscape!!).


34325 08-Mar-1998 jb

Our default rules tend to shove asm code through cpp, so comments
starting with hashes have a sub-optimal impact. This change adds
/* */ around the block comment in the header of each file to make
them friendly to cpp. Also added an Id keyword cause I like to
see revision numbers in source.


34314 08-Mar-1998 peter

Spell -Bshareable correctly... :-]


34285 08-Mar-1998 peter

svr4.h defines ASM_IDENTIFY_GCC, but neglects to define
ASM_IDENTIFY_LANGUAGE. Use the osfrose.h method, because gdb assumes
'C' by default, so there's no need to further clutter the symbol table.


34284 08-Mar-1998 peter

Cosmetic cleanup for a.out asm generation.. Don't put the end-of-file
markers that the stabs-in-elf system uses.


34269 08-Mar-1998 peter

Put the function stabs in traditional order on a.out, or gdb doesn't see
function local variables.


34230 08-Mar-1998 peter

Add hooks for John Birrell's kernel thread support library.

Submitted by: John Birrell <jb@cimlogic.com.au>


34229 08-Mar-1998 peter

First round of changes to support generation of assembler for the old
a.out gas and the binutils gas (elf or a.out) with a single compiler.

This uses other infrastructure not yet committed, in order to support
both a.out and elf it needs to be able to get to both a.out and elf
gas, ld, libs, crt* etc. So for now, the support is pretty much dormant.

The new freebsd.h file is based on the old freebsd-elf.h file (which has a
long lineage, right back through linux and svr4 files). The change is
pretty dramatic from a gcc internals standpoint as it overrides a lot of
definitions in order to generate different output based on target mode.
There is potential for screw-ups, so please be on the lookout - gcc's
configuration mechanism wasn't really meant for this kind of thing.
It's believed to compile world etc just fine under both a.out and elf, can
handle global constructors and destructors, handles the differences in
a.out and elf stabs, and what sections things like exceptions go in.

The initial idea came from i386/osfrose.h which is a dual rose/elf format
target. These two are not as diverse as a.out and elf it would seem.

The cc front-end uses external configuration to determine default object
format (still being thrashed out, so read the source if you want to see
it so far), and has a '-aout' and '-elf' override command line switch.
There are some other internal switches that can be accessed, namely -maout,
-mno-aout, -munderscores and -mnounderscores. The underscore and local
symbol prefixing rules are controllable seperately to the output format.
(ie: it's possible to generate a.out without the _ prefixes on symbols and
also to generate elf with the _ prefixes. This isn't quite optimal, but
does seem to work pretty well, except the linkers don't always recognise
the local symbols without their normal names)

The default format is a.out (still), nobody should see any major changes.

With both elf and a.out tools and libraries installed:

[1:26pm]/tmp-223> cc -elf -o hello hello.c
peter@beast[1:27pm]/tmp-224> file hello
hello: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked, not stripped
[1:27pm]/tmp-225> ./hello
hello world!

[1:27pm]/tmp-226> cc -aout -o hello hello.c
[1:27pm]/tmp-227> file hello
hello: FreeBSD/i386 compact demand paged dynamically linked executable not stripped
1:27pm]/tmp-228> ./hello
hello world!

Since my co-conspirators put a lot of effort into this too, I'll add them
so they can share the blame^H^H^H^H^Hglory. :-)

Reviewed by: sos, jdp


34205 07-Mar-1998 jb

This commit was generated by cvs2svn to compensate for changes in r34204,
which included commits to RCS files with non-trunk default branches.


33973 01-Mar-1998 jdp

Configuration changes to support FreeBSD. The linker only works for
ELF, not a.out. But all the other tools support both. I'm not so
sure about the assembler -- it might need more work.


33972 01-Mar-1998 jdp

Don't use "/" as a comment starter. In some FreeBSD sources, "/"
means divide (duh).


33971 01-Mar-1998 jdp

Fix the output format of "nm" so that it works properly for FreeBSD's
"lorder" command.

GNU rejected this change because they felt it would be an unacceptable
incompatibility to change the output format at this point -- even
though it was wrong to begin with.


33970 01-Mar-1998 jdp

Fix a bug which incorrectly caused files to be labeled as having
text relocations in certain situations.


33969 01-Mar-1998 jdp

Add automatic branding of FreeBSD ELF files.


33968 01-Mar-1998 jdp

Add upgrade instructions and helper file.


33966 01-Mar-1998 jdp

This commit was generated by cvs2svn to compensate for changes in r33965,
which included commits to RCS files with non-trunk default branches.


33663 20-Feb-1998 jb

Add #include <string.h> to get prototypes.


33340 14-Feb-1998 peter

A hack to work around the sleep prior to calling the built-in diff. This
affects speed of doing 'cvs diff' (in all modes) and 'cvs update' over the
network.

1: don't pause at all unless running in server protocol mode.
2: if running in server protocol mode, do a kludge that intercepts the
stdout and stderr write functions and diverts them to cvs_output() and
cvs_outerr(). Yes, this might be done with fwopen() etc, but that also
requires copying "FILE" structs since you can't freopen stdout etc and
specify functions at the same time.

This HACK will go away once the cvs folks have done their changes to the
library version of gnu diff to use the callbacks as mentioned in the
comments.


33169 08-Feb-1998 peter

Reduce the sleep(1) inbetween each diff, as suggested by bde some time
ago. The real fix is rather large.


33014 02-Feb-1998 cwt

Painless merge...


33012 02-Feb-1998 cwt

This commit was generated by cvs2svn to compensate for changes in r33011,
which included commits to RCS files with non-trunk default branches.


32914 31-Jan-1998 peter

Cosmetic cleanups for the local tag support. Since rcs isn't called
anymore, don't do all the putenv's for it's benefit.


32899 30-Jan-1998 peter

Merge vendor changes to files that we've touched onto mainline.
(If only all import/merges were this trivial :-)


32897 30-Jan-1998 peter

This commit was generated by cvs2svn to compensate for changes in r32896,
which included commits to RCS files with non-trunk default branches.


32895 30-Jan-1998 peter

Update import instructions from last time.


32800 26-Jan-1998 peter

Merge CYCLIC branch changes


32799 26-Jan-1998 peter

Restore file that was inadvertently deleted last time


32798 26-Jan-1998 peter

Remove stray files


32790 26-Jan-1998 peter

missing bracket


32789 26-Jan-1998 peter

Merge changes from CYCLIC onto main branch


32788 26-Jan-1998 peter

Merge changes from CYCLIC branch onto mainline. rcs.[ch] still to come.


32786 26-Jan-1998 peter

This commit was generated by cvs2svn to compensate for changes in r32785,
which included commits to RCS files with non-trunk default branches.


32688 22-Jan-1998 imp

MFC: sprintf paranoia


32675 21-Jan-1998 ache

Back out my -L change, now "patch -I" usage supposed to get Index:
precedence


32543 16-Jan-1998 bde

Removed redundant declarations. Keymap functions are declared in
<readline/keymaps.h> which is included here.


32542 16-Jan-1998 bde

Use the system __CONCAT() instead of /**/ for concatenation in the
non-ANSI case. The system version is normally also /**/, but may
be different to support K&R compilers other than gcc -traditional.


32541 16-Jan-1998 bde

Fixed copying of N_TXTADDR() from the system version in the previous
revision. N_TXTADDR() was 0x20 too high in the usual case.

Reported by: luoqi@watermarkgroup.com (Luoqi Chen)


32535 16-Jan-1998 ache

Fix wrong ---/*** names produced using -L diff option
CVS gurus from info-cvs agrees that previous Index: usage is bogus


32496 13-Jan-1998 steve

vmunix -> kernel

PR: 5484
Submitted by: Vasily V. Grechishnikov <bazilio@ns1.ied-vorstu.ac.ru>


32467 12-Jan-1998 julian

Allow a -D'date' option to be included with a -r'branch'
on a checkout.
this allows us to do:
cd /usr/src/sys
cvs update -rRELENGE_2_2 -D"Yesterday"
which has been a feature sorely needed for any project with active branches.

warning: this breaks on usr.sbin/pkg_install for some reason.
everything else works as advertised.
(other things allready break on pkg_install, so it's not the fault of
this patch, it just falls faul of another bug somewhere)
If I had more time I'd make -r always accept the same syntax as -j (tag:data)


32455 12-Jan-1998 jb

Upgrade the cpp pre-defines to include -Dunix. Turns out we need that
to compile m4.

And don't just define __FreeBSD__, but define it as -D__FreeBSD__=3
like on i386.


32424 11-Jan-1998 jb

Add the alpha MD files for gcc to product ELF for FreeBSD/Alpha.

See freebsd.h and freebsd-elf.h for the silly comment that cgd@netbsd.org
wanted me to add about his claim that uncommented source files that
have been publicly available for ftp for nearly a year; that are
configuration patches to a GPL'ed program; are owned by his previous
employer who refuses to release them. Well... I did as he said. As if
that makes a difference!

At this point we've got cpp, gcc, g++ ported to FreeBSD/Alpha so all
the code that uses __FreeBSD__ is correctly pre-processed. Yay.

I'll commit the bootstrap makefile next to let others play, then on
to libc.


32376 09-Jan-1998 jb

NetBSD has sys_errlist in errno.h, not stdio.h like FreeBSD.


32373 09-Jan-1998 steve

Fix an anomaly in the option descriptions.

PR: 5469
Submitted by: NOKUBI Hirotaka <h-nokubi@yyy.or.jp>


32250 04-Jan-1998 ache

Remove library funcs we already have


32248 04-Jan-1998 ache

Reflect new import


32244 04-Jan-1998 ache

This commit was generated by cvs2svn to compensate for changes in r32243,
which included commits to RCS files with non-trunk default branches.


32149 01-Jan-1998 pst

Handle frame relay, decode ATM VP/VC info, and handle ISO over FR.


32145 31-Dec-1997 pst

Add frame-relay decode support.


32056 28-Dec-1997 wosch

Add OS macros for FreeBSD 2.2.6, OpenBSD 2.2, OpenBSD 2.3.


32030 27-Dec-1997 steve

Remove one last /etc/sysconfig reference.

PR: 3460
Pointed out by: hoek@FreeBSD.org


32015 27-Dec-1997 jkh

diff to /usr/share/tmac/mdoc/mdoc-syms to accept
.Fx 2.2.1
.Fx 2.2.2
Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>


31940 22-Dec-1997 alex

YTK fix.


31939 22-Dec-1997 jb

Reviewed by: William LeFebvre <wnl@groupsys.com>
Change errno -> error in local structure to avoid a clash with the
thread-aware version of errno which is required for a thread-safe libc.

Have discussed this with the author and he has agreed to this change. 8-)


31905 20-Dec-1997 jraynard

Year 2000 fixes for groff
PR: 4930
Submitted by: Stephen J. Roznowski


31866 19-Dec-1997 bde

Don't print "Making info file ...' except in verbose mode.


31865 19-Dec-1997 bde

Backed out all FreeBSD changes. They are unnecessary now that bfd
understands kernels.

Reviewed by: jdp


31864 19-Dec-1997 bde

Override gdb's version of N_TXTADDR() with the (new) system version
so that gdb gets the text address right for kernels. Override some
other macros to get a consistent set.

Reviewed by: jdp


31808 17-Dec-1997 bde

Close some file descriptors on exec so that the inferior process gets
a normal environment. Fd's 3 and 4 were usually left open.


31755 15-Dec-1997 cwt

Remove extra cruft. The previouos commit silently removed source ifles no longer required as of v2.2.1 as well.


31754 15-Dec-1997 cwt

Resolve -Wall issues and be stylistic about #include directives.


31753 15-Dec-1997 cwt

Merge and resolve conflicts...


31751 15-Dec-1997 cwt

This commit was generated by cvs2svn to compensate for changes in r31750,
which included commits to RCS files with non-trunk default branches.


31635 08-Dec-1997 wollman

This is a hack. Decode IEEE 802.1Q VLAN tagging so that we can decode
tagged traffic according to the encapsulated protocol. It needs in
addition modifications to the filter generator which would deal with
checking the ethertype and vlan header as required.


31622 08-Dec-1997 charnier

MFC: no \n in syslog strings. Change -P to -p in flags. EOF -> -1. Use err(3).


31520 04-Dec-1997 imp

Buffer overflow from bitblt's commit to OpenBSD. Committed here for lack
of a better place to do it.

Reviewed by: joerge
Obtained from: OpenBSD


31439 27-Nov-1997 jdp

The previous revision (objfiles.c:1.2) fixed backtracing in the
absence of full debugging symbols for the kernel, but broke it for
application programs. This commit disables that change except when
kernel debugging mode is in effect.

This needs to go into -2.2 as well, after a suitable burn-in period.


31437 27-Nov-1997 pst

Resolve merge conflicts.


31435 27-Nov-1997 pst

This commit was generated by cvs2svn to compensate for changes in r31434,
which included commits to RCS files with non-trunk default branches.


31433 27-Nov-1997 steve

Make this manpage reveal its true identity. A diff of these
changes has also been sent to opie-bugs@inner.net.

PR: 5129
Submitted by: jkh


31184 16-Nov-1997 peter

This commit was generated by cvs2svn to compensate for changes in r31183,
which included commits to RCS files with non-trunk default branches.


31135 12-Nov-1997 jmg

fix return type so that it returns both bytes (instead of just first)

Found-by: conrads@neosoft.com
Fix-by: Luigi


30974 06-Nov-1997 ache

Merge changes


30972 06-Nov-1997 ache

This commit was generated by cvs2svn to compensate for changes in r30971,
which included commits to RCS files with non-trunk default branches.


30862 30-Oct-1997 ache

Some FreeBSD files to add...


30861 30-Oct-1997 ache

Temp remove config.h, was imported to FSF branch


30859 30-Oct-1997 ache

This commit was generated by cvs2svn to compensate for changes in r30858,
which included commits to RCS files with non-trunk default branches.


30857 30-Oct-1997 ache

-f -> -F for pr


30845 29-Oct-1997 ache

Localize diff


30841 29-Oct-1997 ache

Include <gnuregex.h> for FreeBSD


30840 29-Oct-1997 ache

This commit was generated by cvs2svn to compensate for changes in r30839,
which included commits to RCS files with non-trunk default branches.


30736 26-Oct-1997 jraynard

Remove yet another superfluous file.


30730 26-Oct-1997 ache

Back out mode (unsigned char)...


30729 26-Oct-1997 ache

Back out (unsigned char) cast, will use -funsigned-char instead


30656 23-Oct-1997 ache

Add more (unsigned char) casts to ctype macros
Fix casetable usage in the same manner too


30653 23-Oct-1997 ache

Add (unsigned char) cast to all ctype macros


30548 18-Oct-1997 jraynard

Fix a #include "regex.h" that slipped through the net.


30519 17-Oct-1997 jraynard

Update expected results for random number generator.


30518 17-Oct-1997 jraynard

Remove GNU regex.h (it's already in /usr/include).


30495 16-Oct-1997 jraynard

Update FREEBSD-upgrade file after removing random.*


30494 16-Oct-1997 jraynard

Delete redundant files (thanks, Andrei!)


30454 15-Oct-1997 ache

srandom(time()) is too weak even for joke, use srandom(time() ^ getpid())
at least. Note that srandomdev can't be used here since gawk preserve old
seed value.


30445 15-Oct-1997 ache

Unspam l10n ranges check


30441 15-Oct-1997 ache

Do not use gawk random, we have better one in libc


30412 14-Oct-1997 jraynard

This commit was generated by cvs2svn to compensate for changes in r30411,
which included commits to RCS files with non-trunk default branches.


30337 12-Oct-1997 peter

Fix a serious bug in the recursion processor. When descending a tree,
the descend can jump several directories down in one hit, eg: when a user
mentions multiple directories on the command line, eg: "cvs diff
sys/i386/isa/snd sys/sys". The problem is that the chdir()s are
pushed/popped to account for this, but the "full path" merely has
the last component chopped off on the way back up. This busts lots
of things when the recursion is backing up more than one directory (such
as in the example). This causes 'cvs diff' to emit bogus Index: lines,
'cvs update' to do really stupid things, 'cvs commit' to record incorrect
pathnames etc. I'm not sure that what I've done is quite correct, there
seems to be a comment that implies some sort of problem with "." vs. ""
equivalence or not, perhaps this is a problem on some other OS's, but
I've not (yet) found any problems. This bug has been present since
at least cvs-1.8.1.

This should fix problems noted by several people including asami and jmg.


30290 11-Oct-1997 julian

make a string longer so we can handle deeper source trees.
if global is in 2.2 can we do this there as well?

Submitted by: doug ambrisko (ambrisko@whistle.com)


30212 08-Oct-1997 uhclem

PR: bin/771 and bin/1037 are resolved by this change
This change changes the default handling of linemode so that older and/or
stupider telnet clients can still get wakeup characters like <ESC> and
<CTRL>D to work correctly multiple times on the same line, as in csh
"set filec" operations. It also causes CR and LF characters to be read by
apps in certain terminal modes consistently, as opposed to returning
CR sometimes and LF sometimes, which broke existing apps. The change
was shown to fix the problem demonstrated in the FreeBSD telnet client,
along with the telnet client in Solaris, SCO, Windows '95 & NT, DEC OSF,
NCSA, and others.

A similar change was incorporated in the non-crypto version of telnetd.

This resolves bin/771 and bin/1037.


30040 01-Oct-1997 phk

Resolve conflicts.


30038 01-Oct-1997 phk

This commit was generated by cvs2svn to compensate for changes in r30037,
which included commits to RCS files with non-trunk default branches.


30035 01-Oct-1997 ache

Move locks from /etc/opielocks to /var/run/opielocks to keep
/etc non-writeable as possible


29976 29-Sep-1997 ache

This commit was generated by cvs2svn to compensate for changes in r29975,
which included commits to RCS files with non-trunk default branches.


29972 29-Sep-1997 ache

Oops, __END_DECLS was in wrong place


29969 29-Sep-1997 ache

Not used in this version


29968 29-Sep-1997 ache

Moved to libopie


29967 29-Sep-1997 ache

Merge


29965 29-Sep-1997 ache

This commit was generated by cvs2svn to compensate for changes in r29964,
which included commits to RCS files with non-trunk default branches.


29728 22-Sep-1997 wosch

Polish message catalogs for vi.

Submitted by: abial@warman.org.pl
PR: 4522


29622 19-Sep-1997 wosch

.Ox macro needs to support "OpenBSD 2.1"

PR: docs/4561
Submitted by: Norihiro Kumagai <kuma@slab.tnr.sharp.co.jp>


29616 19-Sep-1997 jmg

This commit was generated by cvs2svn to compensate for changes in r29615,
which included commits to RCS files with non-trunk default branches.


29561 18-Sep-1997 charnier

Typo: environmental variable -> environment variable.


29478 15-Sep-1997 wosch

Add a genclass.1 manpage.


29474 15-Sep-1997 wosch

Add a simple manpage.


29438 15-Sep-1997 ache

Sense *.ISO_8859-1 and *.KOI8-R locales from environment
PR: 4290
Submitted by: "Anatoly A. Orehovsky" <tolik@www.tomsk.su>


29429 14-Sep-1997 wosch

Add a simple manpage.


29329 13-Sep-1997 wosch

spelling corrections.

PR: docs/4450
Submitted by: josh@quick.net


29181 07-Sep-1997 markm

Bring the FreeBSD changes to the virgin sources.


29089 04-Sep-1997 markm

This commit was generated by cvs2svn to compensate for changes in r29088,
which included commits to RCS files with non-trunk default branches.


29068 03-Sep-1997 pst

Remove bits of libmissing we don't care about.


28935 30-Aug-1997 jmg

fix a few spelling changes

Submitted by: Josh Gilliam

Closes PR's: 4429, 4431-4438

PS: He has agreed to submit all contrib fixes back to the original author.


28931 30-Aug-1997 jmg

fix misspelling

Submitted-by: Josh Gilliam

Closes PR:4430


28924 30-Aug-1997 jmg

fix misspelling

Submitted-by: Josh Gilliam

Closes PR: 4422


28897 29-Aug-1997 peter

This commit was generated by cvs2svn to compensate for changes in r28896,
which included commits to RCS files with non-trunk default branches.


28883 29-Aug-1997 peter

"fix" this for compiling under the sticter ELF linker.. There was a
reference to an undefined function (digit_value_in_base()) that was static
elsewhere that it was used.


28882 29-Aug-1997 peter

Merge in some of my changes with John's. I've used this to build
an ELF system. I'm not sure about some of the things here. We definately
need to go back and rationalize this.


28846 28-Aug-1997 jdp

Add the necessary defines to the freebsd-elf configuration so that
it can be built via BINFORMAT=elf in the environment. Most likely
some of the directory defines such as STANDARD_EXEC_PREFIX will
change again soon, as we settle on the proper locations for the
various components.

Note, the build still fails when it tries to compile libgcc2.c
using the ELF compiler, unless arrangements have been made for the
compiler to find the ELF assembler instead of the a.out assembler.


28810 26-Aug-1997 pst

Update synopsis. A partial fix has also been submitted to opie@bugs@inner.net
Submitted by: bde


28711 25-Aug-1997 obrien

I clamined to not have imported cpio.texi. This is not true.


28565 22-Aug-1997 peter

Fix a braino in the Attic/ removal code for $CVSHeader$ that originated
from XFree86. I think this was harmless, the strncmp happened always
rather than being optimised out.

Submitted by: jdp


28413 19-Aug-1997 peter

oops, missed a debug printf somehow..


28409 19-Aug-1997 peter

Redo the $CVSHeader$ support to use code similar to that from David Dawes
but adapted to run within cvs instead of rcs.
The stuff I hacked together didn't strip out "/Attic/" for files
on branches when the HEAD version was cvs rm'ed.


28321 17-Aug-1997 cwt

Repair ESC-r processing in the gtags emacs mode (typo).

Submitted by: Shigio Yamaguchi <shigio@wafu.netgate.net>


28251 16-Aug-1997 cwt

The standard upgrade procedure derived from the handbook section
on maintaining contributed software.

The merge from our FreeBSD maintained v1.81 to the author's v2.0
yielded only one small difference (a duplicate inclusion of errno.h
in btreeop/btreeop.c) which for now I will leave alone and submit
back to the author; we'll catch it on the vendor branch in v2.1.

Reviewed by: jdp


28249 16-Aug-1997 cwt

This commit was generated by cvs2svn to compensate for changes in r28248,
which included commits to RCS files with non-trunk default branches.


28139 13-Aug-1997 steve

__GNU_G__ -> __GNUG__

PR: gnu/4188
Submitted by: Dustin Sallings <dustin@spy.net>


27925 05-Aug-1997 ache

Detect null secret as error, it is temp. fix until next release
Submitted by: Craig Metz <cmetz@inner.net>


27680 25-Jul-1997 phk

Resolve conflicts, seems like just one of our changes didn't make it back.


27677 25-Jul-1997 phk

This commit was generated by cvs2svn to compensate for changes in r27676,
which included commits to RCS files with non-trunk default branches.


27367 13-Jul-1997 bde

Create fifos using mkfifo() instead of attempting to create them using
mknod().


27204 05-Jul-1997 peter

Apply Bill Fenner's patch for the lost vendor branch bug - I've looked
over the code too and it makes sense to me.

PR: 4033


27071 29-Jun-1997 bde

Removed most unused files (about 8M total).


27069 29-Jun-1997 bde

Removed unused files (about 8MB total).


27060 29-Jun-1997 bde

Fixed clobbered vendor Id.


27059 29-Jun-1997 bde

Attempt to fix clobbered vendor Id.


27048 29-Jun-1997 steve

Add a blurb on how to import newer versions of patch(1) so
that others don't make the same bone-headed mistakes that
I just did.

Obtained from: Peter Wemm's version of this file in contrib_cvs


27047 29-Jun-1997 steve

-Wall clean.


27045 29-Jun-1997 steve

This commit was generated by cvs2svn to compensate for changes in r27044,
which included commits to RCS files with non-trunk default branches.


26972 27-Jun-1997 peter

This commit was generated by cvs2svn to compensate for changes in r26971,
which included commits to RCS files with non-trunk default branches.


26808 22-Jun-1997 peter

remove some stray files


26805 22-Jun-1997 peter

update the 'zapped files' list


26804 22-Jun-1997 peter

merge conflicts


26802 22-Jun-1997 peter

This commit was generated by cvs2svn to compensate for changes in r26801,
which included commits to RCS files with non-trunk default branches.


26500 07-Jun-1997 ache

Merge with previous variant


26498 07-Jun-1997 ache

This commit was generated by cvs2svn to compensate for changes in r26497,
which included commits to RCS files with non-trunk default branches.


26372 02-Jun-1997 peter

If the localid is set, don't forget to expand it...


26223 28-May-1997 asami

Make all the info dir entries line up neatly.


26184 27-May-1997 fenner

Get rid of the T2CHECK() macro, since it duplicates functionality
available from TCHECK(), TCHECK2(), TTEST() and TTEST2().


26183 27-May-1997 fenner

Merge tcpdump 3.3.
The print_nfs.c changes are pretty extensive; this is partially because
LBL did a lot of cleanup and partially because I removed lots of
pointless changes away from the LBL style.

PR: 3371
mostly-Submitted by: Chris Timmons <skynyrd@opus.cts.cwu.edu>


26181 27-May-1997 fenner

This commit was generated by cvs2svn to compensate for changes in r26180,
which included commits to RCS files with non-trunk default branches.


26178 27-May-1997 fenner

Merge libpcap 0.3
Update FREEBSD-upgrade to mention bumping library version number.

Suggested-by: Chris Timmons <skynyrd@opus.cts.cwu.edu>


26176 27-May-1997 fenner

This commit was generated by cvs2svn to compensate for changes in r26175,
which included commits to RCS files with non-trunk default branches.


26151 26-May-1997 peter

One of the new cvs's features is to be able to run a checker on the
log messages after they've been entered. This is more flexible than
using the editinfo script since it works for all log message types
and doesn't have to deal with trying to run the editor for the user.

The problem is that the verifymsg script can't modify the file like
editinfo can, which makes it useless for cleaning up the message (as is
needed for remote commits etc). This change causes the verifymsg handler
to read back the message after the verify script has run and returned an
"OK" exit code.


26122 25-May-1997 darrenr

This commit was generated by cvs2svn to compensate for changes in r26121,
which included commits to RCS files with non-trunk default branches.


26120 25-May-1997 darrenr

This commit was generated by cvs2svn to compensate for changes in r26119,
which included commits to RCS files with non-trunk default branches.


26069 23-May-1997 peter

forgot to mention that the vms source was pruned


26068 23-May-1997 peter

Merge conflicts from 970523 import


26066 23-May-1997 peter

This commit was generated by cvs2svn to compensate for changes in r26065,
which included commits to RCS files with non-trunk default branches.


25970 21-May-1997 peter

Attempt to work around the problem Bruce reported with 'cvs diff -rHEAD'
complaining about long-deleted files having been deleted and that there
is no diff available.


25932 19-May-1997 eivind

`it's'' -> `its'' where appropriate and typo fixes in time2posix.3.

Closes PR docs/3612.

Submitted by: Josh Gilliam <soil@quick.net>


25869 17-May-1997 peter

Implement a -R option to cvs to turn on read-only repository mode.
When using a local repository that is only written to by CVSup - which
I assume doesn't do the cvs locking protocol - this option might be a
speedup since cvs will not create lock files.


25868 17-May-1997 peter

use xstrdup rather than strdup in case of malloc failure.


25867 17-May-1997 peter

Catch write-lock attempts immediately if running in read-only mode rather
than depending on getting a write fail.


25866 17-May-1997 peter

Pull in OpenBSD's support for checking out from a read-only repository,
such as within an anoncvs server, or from a CDROM repository.
Cyclic (the cvs maintainers) do not like this approach and have an
alternative read-only system, but that requires a read/write repository to
work (which rules out CDROM).

Obtained from: OpenBSD


25865 17-May-1997 peter

Complete the support for $FreeBSD$. Add an option "tagexpand=" which
controls the RCSINCEXC encironment variable for our rcs version, and
also convert the rest of the checkout enhancements from rcs into cvs's
fast checkout code. (yes, cvs doesn't call 'co' anymore)
We now have fine grained individual keyword expansion control and can
set the keyword to anything the user wants.

Also, a new keyword, $CVSHeader$ comes in from rcs, it's like $Header$
except that it shows the pathname relative to the cvsroot. eg:
$FreeBSD: src/bin/ls/ls.c,v 1.10.2.14 1997/05/17 13:15:45 peter Exp $
^^^^^^^^^^^^^^^^^
The idea for this comes from $XFree86$ which expands like $CVSHeader$.
The "local id" string can be set to expand like Id, Header or CVSHeader.
(Matching support for this is apparently happening in cvsup right now)


25847 16-May-1997 peter

Initial round of support for a local $Id$ keyword in cvs, eg: $FreeBSD$.
This is not complete yet in that it doesn't drive our version of RCS
completely, but it does work fine when you do the appropriate magic.

Obtained from: OpenBSD source tree


25846 15-May-1997 peter

Update


25844 15-May-1997 peter

Delete extranious $Id$ - it's not expanded on -ko files


25843 15-May-1997 peter

Merge import conflicts


25842 15-May-1997 peter

Merge conflicts


25840 15-May-1997 peter

This commit was generated by cvs2svn to compensate for changes in r25839,
which included commits to RCS files with non-trunk default branches.


25747 12-May-1997 peter

add .St -p1003.1b and -p1003.1b-93


25733 12-May-1997 peter

The -pthread option was added to freebsd.h but missed from freebsd-elf.h


25480 05-May-1997 jmg

change `an' to `a'...

Submitted by: Josh Gilliam
Closes PR#3471


25400 03-May-1997 jb

Let gcc know about libc_r. Use -pthread to link against libc_r instead
of libc.


25383 02-May-1997 ache

Emulate ':o' and '/o' letters using 'o'


25128 25-Apr-1997 peter

correct vfork()/exit() to vfork()/_exit(). This is far more important
now that vfork() actually works in FreeBSD for the first time.

Spotted by: se


25076 21-Apr-1997 ache

Use UT_NAMESIZE instead of hardcoded user names length


25011 18-Apr-1997 jkh

Enable GLOBAL tags support for nvi.
Submitted-By: Shigio Yamaguchi <shigio@wafu.netgate.net>


24758 09-Apr-1997 jdp

Make "gcc -shared" work properly for building shared libraries. An
up-to-date version of c++rt0.o is necessary for this to work right.

Closes PR gnu/3035: gcc -shared flag is broken.


24658 05-Apr-1997 jdp

Disallow "-p" when linking, with a diagnostic that recommends using
"-pg" and gprof(1) instead. FreeBSD does not support plain "-p" or
prof(1).

Plain "-p" is still allowed when just compiling. In the compile
phase, "-p" is identical "-pg". It is used by <bsd.lib.mk> for
building profiled object files.


24595 03-Apr-1997 obrien

Fix bug that can cuase a loop to become endless.
The bug is triggered by attempts to copy in (-i) a file which happens
to have zero length.


24589 03-Apr-1997 obrien

FreeBSD specific readme for contributed source.

(FREEBSD-upgrade is now the "accpeted" filename for this).


24584 03-Apr-1997 darrenr

This commit was generated by cvs2svn to compensate for changes in r24583,
which included commits to RCS files with non-trunk default branches.


24563 03-Apr-1997 pst

Base work to make gdbserver work with FreeBSD


24435 31-Mar-1997 obrien

This commit was generated by cvs2svn to compensate for changes in r24434,
which included commits to RCS files with non-trunk default branches.


24416 30-Mar-1997 obrien

JKH says:

Change "Found end of tape. Load next tape ..." messages to say
"volume" instead of tape. Running cpio off of /dev/fd0 and having
it say "give me the next tape" is kind of ludicrous.. :-)


24415 30-Mar-1997 obrien

don't lookup rsh(1) at bogus pathnames

Submitted by: joerg via old gnu/usr.bin/cpio v2.3


24414 30-Mar-1997 obrien

Don't set the umask until after we have processed the arguments
and opened the archive file. This allows "cpio -o -O output_file"
to create the output file with the callers proper umask.
Closed PR# 1391

Add setlocale LC_ALL (from ache).


24413 30-Mar-1997 obrien

Support dummy lchown() so that cpio understands 4.4 symbolic links.


24412 30-Mar-1997 obrien

- Correct the recommended option for "find" from "-depth" to "-d".
- Fix gross spelling and typographical errors pointed out by Keith Bostic.
- Mention -l, --link is only usable with "-p".

Obtained from: old gnu/usr.bin/cpio v2.3.


24411 30-Mar-1997 obrien

Output a zero rdev except for bdevs, cdevs, fifos and sockets. This
stops regular files with unrepresentable rdevs from being rejected
and makes the output independent of unpreservable metadata.

Don't output a file if the major, minor or totality of its rdev would be
truncated. Print a message about the skipped files to stderr but don't
report the error in the exit status. cpio's abysmal error handling doesn't
allow continuing after an error, and the rdev checks had to be misplaced
to avoid the problem of returning an error code from routines that return
void.

Minor numbers are limited to 21 bits in pax's ustar format and to 18
bits in archives created by gnu tar (gnu tar wastes 3 bits for padding).
pax's and cpio's ustar format is incompatible with gnu tar's ustar
format for other reasons (see cpio/README).

Submitted by: bde via old gnu/usr.bin/cpio v2.3.


24410 30-Mar-1997 obrien

Fix typo.


24406 30-Mar-1997 obrien

I goofed, Makefile lchown.c don't belong here.


24405 30-Mar-1997 obrien

Replace ctime by strftime %c to use national representation.
Use isprint() for Localization.

Submitted by: ache via gnu/usr.bin/cpio v2.3


24404 29-Mar-1997 obrien

FreeBSD BSD-style Makefile for contributed CPIO source.


24403 29-Mar-1997 obrien

Rodney Grimes's dummy lchown() so that cpio understands 4.4 symbolic links.
(taken from old gnu/usr.bin/cpio)

Reviewed by: phk


24402 29-Mar-1997 obrien

Don't need tcexparg.c on FreeBSD.


24401 29-Mar-1997 obrien

Don't need tcexparg.c which impliments Unix-style command line wildcards
for Turbo C


24400 29-Mar-1997 obrien

FreeBSD specific readme for contributed CPIO soruces.


24399 29-Mar-1997 obrien

This commit was generated by cvs2svn to compensate for changes in r24398,
which included commits to RCS files with non-trunk default branches.


24395 29-Mar-1997 wosch

back out rev 1.8 (last minute CDROM releases)


24367 29-Mar-1997 peter

Don't use these that were generated on a foreign system, generate our own.


24295 26-Mar-1997 jdp

Update the value of "__FreeBSD__" to 3 for the ELF compiler.


24257 25-Mar-1997 asami

-current is now 3.0. NOT a 2.2 candidate. :)


24150 23-Mar-1997 wosch

Add last minute CDROM releases 2.1.6.1, 2.1.7.1, 2.2.1 to macro .Fx


24142 23-Mar-1997 joerg

Apply the FreeBSD-local patches.

Obtained from: The ports collection.


24140 23-Mar-1997 joerg

This commit was generated by cvs2svn to compensate for changes in r24139,
which included commits to RCS files with non-trunk default branches.


24129 23-Mar-1997 jmg

slight fix to gcc's man page...


24127 22-Mar-1997 mpp

Fix the location of the files in the FILES section.
Closes PR# 3063.

Submitted by: Kent Vander Velden <graphix@iastate.edu>


24104 22-Mar-1997 dfr

Don't indirect through a NULL pointer in rl_strpbrk. This makes filename
completion work in GDB.


24100 22-Mar-1997 bde

Quick fix for section limits not being relocated. This has always been
broken for gdb -k, but the section limits weren't used much in previous
versions of gdb in FreeBSD. Now they are used for backtracing when full
symbols aren't available, and in some other new cases.

This should be fixed properly by someone who knows bfd.

This should be fixed in 2.2.


24089 21-Mar-1997 mpp

Add all of the pre-FreeBSD 2.0 release to the .Fx macro.


24050 19-Mar-1997 mpp

Update the usage message for the ".Bf" macro to match the actual
arguments that it takes.


24013 19-Mar-1997 bde

Fixed synopsis (missing #include and wrong paths in #includes).


23944 16-Mar-1997 bde

This commit was generated by cvs2svn to compensate for changes in r23943,
which included commits to RCS files with non-trunk default branches.


23938 16-Mar-1997 bde

Removed binary file.


23817 12-Mar-1997 bde

Recovered FreeBSD changes from attic:
1.2: don't refer to emacs (1)
1.3: fixed "will will".


23540 08-Mar-1997 pst

Make OPIE's public API use BSD conventions.


23428 06-Mar-1997 mpp

Bring the .Nx (NetBSD) macro into line with NetBSD's version.

Add the .Ox (OpenBSD) macro from OpenBSD.


23427 06-Mar-1997 mpp

The .Os macro was missing 2.1.6, 2.1.7 and 3.0.
The .Fx macro was missing 2.1.7.

Add 2.2.5 to both .Os and .Fx. If I'm wrong about the version
number, no big deal - it can be removed later, but I wanted
to be able to get this into 2.2 so that when I'm using a
2.2 system ome months down the line, man pages intended for (what I
think will be the next 2.2 release) will be formatted properly.

Also fix a typo in a comment.


23280 02-Mar-1997 peter

This commit was generated by cvs2svn to compensate for changes in r23279,
which included commits to RCS files with non-trunk default branches.


23250 02-Mar-1997 peter

Missed the $FreeBSD$ on this otherwise touched file.


23076 24-Feb-1997 obrien

Undo rev 1.4 of freebsd.h and 1.2 freebsd-elf.h, where I added
_BSD4_4 as a predefined symbol. People on the lists generally didn't care
for it.


22994 22-Feb-1997 peter

check for /usr/libdata/gcc/specs and use it if it exists.


22991 22-Feb-1997 peter

Revert a $FreeBSD$ to $Id$ (file otherwise modified)


22980 22-Feb-1997 peter

Urk, there were two $FreeBSD$'s in this file...


22979 22-Feb-1997 peter

back out an easy $FreeBSD$ (file already left vendor branch)


22978 22-Feb-1997 peter

Back out an easy $FreeBSD$ (file already left vendor branch)


22977 22-Feb-1997 peter

Back out easy $FreeBSD$ (file already left vendor branch)


22976 22-Feb-1997 peter

Back out some easy $FreeBSD$ changes. These files already left the vendor
branch.


22809 16-Feb-1997 obrien

Add _BSD4_4 as a predefined symbol.
Peter Dufault (dufault@hda.com) suggested this is the most approate symbol
to use.

2.2-R candidate.


22799 16-Feb-1997 bde

Removed unnecessary #include of obsolete <sys/dir.h> again.


22766 15-Feb-1997 bde

Removed unnecessary #include of obsolete <sys/dir.h> again.


22765 15-Feb-1997 bde

Restored my fixes for printing the FP registers. Their
history was lost with FreeBSD-1.x and they were blown away
by the gdb-4.16 merge. I needed this to debug e_exp.S ...

Restored even older code (from 386BSD-0.0) for converting the
FP registers to doubles. floatformat_to_double() and/or
valprint() still don't understand NaNs.

Removed unnecessary #include of obsolete <sys/dir.h> again.


22515 09-Feb-1997 darrenr

This commit was generated by cvs2svn to compensate for changes in r22514,
which included commits to RCS files with non-trunk default branches.


22373 07-Feb-1997 pst

Config information for FreeBSD


22372 07-Feb-1997 pst

Minimal man page changes to reflect integrated ftpd/login/su


22371 07-Feb-1997 pst

Disconnect OPIE from internal MD4/5 routines


22348 06-Feb-1997 pst

This commit was generated by cvs2svn to compensate for changes in r22347,
which included commits to RCS files with non-trunk default branches.


21824 17-Jan-1997 joerg

Everyone's favorite: finally bump vi's escapetime.

Closes bin/2510: vi escape keys over slow... (and i think yet another one)

Submitted by: kargl@troutmask.apl.washington.edu (Steven G. Kargl)


21787 17-Jan-1997 jmacd

Bring over Joerg's arrow-key, page-up, and page-down modifications.


21738 15-Jan-1997 gj

FreeBSD specific modifications.

Obtained from /usr/ports/devel/gdb.

2.2. candidate ?

Should I put $FreeBSD$ into these files ?


21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


21655 13-Jan-1997 phk

Fix BB profiling.

Submitted by: bde


21610 12-Jan-1997 jmacd

I added both features Peter Wemm requested. First, the new option
--forceentry=TEXT will override any entries contained in the info
file. Second, I made it recognize that "gmp" and "gmp.info" are
the same when looking for whether the info file being installed is
already installed.


21597 12-Jan-1997 peter

*gulp* break this file off the vendor branch in order to fix the
info entry. It's a real shame that install-info can't override these.

I'll fix the repository for this (and the readline commit as well) once
this has been fixed properly... Looking at the install-info source gives
me a headache. :-( This should be enough to get the tree to build again.


21507 11-Jan-1997 jmacd

This file has the info annotation, except its annotated name
is different from its filename for some reason.


21500 11-Jan-1997 jmacd

Correct a bogus strerror declaration and make install-info
intelligent enough to take default section and entry names
for the purpose of being able to use it on old texinfo files
in the source tree. This involved very minor modifications and
the new options --defsection and --defentry which behave just like
--section and --entry but ignore their argument if the info file
is annotated with the information. This change should only be
neccesary as long as there are old-style texinfo source in the tree.


21498 11-Jan-1997 jmacd

Remove a non-posix terminal flag OCRNL from terminal.c, add the
two auto-generated files doc.c and funs.h.


21496 11-Jan-1997 jmacd

This commit was generated by cvs2svn to compensate for changes in r21495,
which included commits to RCS files with non-trunk default branches.


21344 05-Jan-1997 wollman

Kill another bogus inclusion of <netinet/if_ether.h>.


21337 05-Jan-1997 ache

This commit was generated by cvs2svn to compensate for changes in r21336,
which included commits to RCS files with non-trunk default branches.


21335 05-Jan-1997 ache

Turn on PAREN_MATCHING


21334 05-Jan-1997 ache

Backup savestring as rl_savestring


21309 04-Jan-1997 ache

This commit was generated by cvs2svn to compensate for changes in r21308,
which included commits to RCS files with non-trunk default branches.


21262 03-Jan-1997 wollman

Update to reflect changes in net/if.h.


21230 02-Jan-1997 mpp

Change the description for section 4 to read:

Kernel Interfaces Manual

This was needed because of a few man pages like keyboard(4)
which caused the header to become unreadable with the longer
description.


21163 01-Jan-1997 peter

These are gone in 4.9.5


21139 31-Dec-1996 peter

This commit was generated by cvs2svn to compensate for changes in r21138,
which included commits to RCS files with non-trunk default branches.


21136 31-Dec-1996 wosch

a uniq name for every manpage section in header macro .Dt


21100 30-Dec-1996 peter

Bump default escapetime from 1 (ie: 100ms) to 3 (ie: 300ms). Hopefully
this will make it less likely to misinterpret arrow keys as seperate
keys when running over anything slower than a console.

This has been talked about for a while, I hope it's long enough but not
too long to be annoying.


20671 19-Dec-1996 asami

Ay, merge from RELENG_2_2. Back out the "moving HEAD" fix.


20646 18-Dec-1996 wollman

Teach mdoc macros to recognize section 9 and the i386 architecture.


20645 18-Dec-1996 fenner

Fix generated code for DLT_NULL encapsulation.
This fixes PR#bin/2212.


20351 12-Dec-1996 asami

Fix the "moving head" problem.


20336 11-Dec-1996 adam

repair editor damage


20316 11-Dec-1996 phk

Please shut up if asked to be quiet.


20287 10-Dec-1996 wollman

Fix up programs which expect <net/if.h> to include <sys/time.h> to instead
do it themselves. (Some of these programs actually depended on this
beyond compiling the definition of struct ifinfo!) Also fix up some
other #include messes while we're at it.


19974 26-Nov-1996 ache

Use LANG=C, LC_CTYPE=C, LC_TIME=C


19970 26-Nov-1996 ache

More fixes to Russian catalog

Should go to 2.2
(wrong number of % formatting found in old version)


19961 26-Nov-1996 fenner

LBL chose to use IPPROTO_ENCAP to represent IP proto 4 encapsulation
as performed by the multicast kernel modifications. However, BSD
already had IPPROTO_ENCAP defined as 98 (RFC 1241 encapsulation).

This changes the use of IPPROTO_ENCAP to IPPROTO_IPIP, which is
the BSD name for IP proto 4.


19960 25-Nov-1996 joerg

Update the French message catalog to use ISO 8859-1 instead of IBM437
characters.

2.2 candidate.

Submitted by: roberto@keltia.freenix.fr (Ollivier Robert)


19954 25-Nov-1996 fenner

Fix the IGMP printer. A lost pair of parenthesis caused all IGMP
reports to be printed as IGMPv1, and a misapplied patch caused
IGMP Leave messages to be partially interpreted as DVMRP routing
messages.


19930 23-Nov-1996 ache

Understand ru_RU too


19439 06-Nov-1996 ache

Restore 8bit stripped down in all lines
Without this change all messages looks very funny

2.2 candidate


19406 04-Nov-1996 wosch

add FreeBSD 2.1.6 and 3.0 for .Fx macro


19371 03-Nov-1996 pst

This commit was generated by cvs2svn to compensate for changes in r19370,
which included commits to RCS files with non-trunk default branches.


19305 01-Nov-1996 peter

This commit was generated by cvs2svn to compensate for changes in r19304,
which included commits to RCS files with non-trunk default branches.


19280 31-Oct-1996 ache

Use collating info for [a-z]-type national ranges


19194 26-Oct-1996 peter

Apparently this patch fixes the objc backend on the i386 platforms.
Without this, compiled programs die with FP errors.

This is originally credited to: jlemon@netcom.com (Jonathan Lemon), and
has been forwarded to me by quite a few of people.


19054 20-Oct-1996 markm

Add upgrade instructions.
Stolen from: contrib/libpcap/FREEBSD-upgrade


19049 20-Oct-1996 markm

This commit was generated by cvs2svn to compensate for changes in r19048,
which included commits to RCS files with non-trunk default branches.


19001 17-Oct-1996 pst

Make things compile again.


18976 17-Oct-1996 dfr

Import NFSv3 support from NetBSD

Obtained from: NetBSD


18815 08-Oct-1996 bde

Don't mention tcpdump; this is for groff.


18811 08-Oct-1996 sef

Fix a typo. Oops.

Submitted by: asami


18805 08-Oct-1996 pst

Shared libraries should be linked with -x.

Submitted to: john.osterhout@eng.sun.com


18803 08-Oct-1996 sef

Paul objected to my previous change. This adds the same functionality
(implemented better, admittedly) with a new option, '-S'. If the
maintainers of traceroute (Van?) add a -S option, we will then be in
conflict.

Also added a too-brief description of the option in the man page. Someone
with a better command of English than I at the moment should probably look
over it and rephrase it.

Reviewed by: pst, jkh


18718 05-Oct-1996 wosch

delete doubled words, e.g.: "the the" -> "the"


18695 05-Oct-1996 sef

Print out a summary of the loss percentages for each hop. No manual changes
just yet, I know, evil of me.

Reviewed by: jkh


18675 04-Oct-1996 peter

Remove temporary hack to disable use of libstdc++ now that it's built and
installed (and hopefully: working).


18668 03-Oct-1996 peter

This commit was generated by cvs2svn to compensate for changes in r18667,
which included commits to RCS files with non-trunk default branches.


18665 03-Oct-1996 peter

The one and only change that I had to make to get all the tests to fly.
#include_next <string.h> wasfailing since the /usr/include directory is
first on FreeBSD, and since it was already past it, it failed some of
the tests.


18662 03-Oct-1996 peter

This commit was generated by cvs2svn to compensate for changes in r18661,
which included commits to RCS files with non-trunk default branches.


18659 03-Oct-1996 jdp

Fix a bug that caused incorrect PIC code to be generated for exceptions.
The symptom was an assembler warning

"GOT relocation burb: `___EXCEPTION_TABLE__' should be global"

followed (sometimes) by a core dump. The fix makes the compiler
generate the correct GOTOFF addressing for that symbol, rather than the
GOT addressing it was emitting before.

Warning: There is still at least one serious bug in the i386 exception
code for PIC. The exception code that is generated clobbers the GOT
register (%ebx) and then tries to use it later. That leads to core
dumps at program execution time. I know where the problem is, but I do
not have a fix for it at this time. Until it is fixed, exceptions will
not work in PIC code. This is a general problem for all i386 platforms;
it is not specific to FreeBSD.


18616 01-Oct-1996 fenner

Instructions on upgrading traceroute


18604 01-Oct-1996 peter

Activate the .weak code generation for libgcc.a and g++ now that it works.


18594 01-Oct-1996 pst

Fix some typos


18592 01-Oct-1996 jdp

Fix a bug in the "cvs init" command. It ignored the global "-H" option.
I.e., "cvs -H init" went ahead and initialized the repository, and did
not print out a usage message. Not nice.

Also added the "init" command to the list that comes out when you type
"cvs --help-commands". There is still not a word about it in the manual
page.

Yes, I am sending these fixes to the FSF.


18583 30-Sep-1996 fenner

Add FreeBSD modifications
- Move setuid(getuid()) much earlier
- Add "SANE_PRECISION" time printing code


18580 30-Sep-1996 fenner

This commit was generated by cvs2svn to compensate for changes in r18579,
which included commits to RCS files with non-trunk default branches.


18544 28-Sep-1996 wosch

Import Nx macro - NetBSD

Obtained from: NetBSD


18505 27-Sep-1996 peter

Temporarily disable the code that wants to add -lstdc++ in tge g++ driver
since we don't have it yet and I've taken too long on the libg++-2.7.2
stuff (it causes problems due to to the lack of .weak support which I've
nearly finished)

Submitted by: "Ph. Charnier" <charnier@xp11.frmug.org>


18354 18-Sep-1996 phk

Merge local changes.


18352 18-Sep-1996 phk

This commit was generated by cvs2svn to compensate for changes in r18351,
which included commits to RCS files with non-trunk default branches.


18350 18-Sep-1996 peter

Doc fixes and updates to reflect reality, as well as info about profiling
extensions.


18349 18-Sep-1996 peter

Merge in freebsd-specific changes


18348 18-Sep-1996 peter

Add in hooks to produce assembler output suitable for binutils+elf
Obtained from: John Polstra <jdp@freebsd.org>, from his elfkit.


18347 18-Sep-1996 peter

Add the hooks that we use for our profiling extensions.
Obtained from: bde


18346 18-Sep-1996 peter

When running native on freebsd (ie: in /usr/bin, /usr/libexec, not the
gnu-style /usr/local/lib/gcc* layout), only search the paths that
exist for the modules (cc1, cc1plus , cc1obj etc)

Also, update an error message.


18345 18-Sep-1996 peter

When compiling native on freebsd, do not search the multitude of extended
include file paths that do not exist.


18344 18-Sep-1996 peter

build libgcc*.a a little more compact by removing excess local symbols
Obtained from: bde


18343 18-Sep-1996 peter

My feeble attempt at fixing complaints that makeinfo makes about
errors in this doc.


18342 18-Sep-1996 peter

Do not print two \n's in a fatal error message.
Obtained from: bde


18341 18-Sep-1996 peter

Patches originally obtained from Bruce Evans <bde@freebsd.org> to make
gcc "do the right thing" when running standalone on FreeBSD


18337 18-Sep-1996 peter

This commit was generated by cvs2svn to compensate for changes in r18336,
which included commits to RCS files with non-trunk default branches.


18335 18-Sep-1996 peter

This commit was generated by cvs2svn to compensate for changes in r18334,
which included commits to RCS files with non-trunk default branches.


18308 15-Sep-1996 pst

Here is a patch to make tcpdump recognise IPX packets that is using
ETHERNET_II framing. It got lost during the tcpdump upgrade.

Submitted by: John.Hay@mikom.csir.co.za


18248 11-Sep-1996 ache

Fix latin1 guessing
Add koi8-r guessing


18241 11-Sep-1996 pst

Print appletalk layer 3 addresses as 16 bit unsigned decimal numbers,
not two 8 bit values. This conforms to industry standard.

These changes have been sent back to LBL.


18217 10-Sep-1996 peter

Make this compile. they use a variable "abort" which is prototyped.


18215 10-Sep-1996 peter

This commit was generated by cvs2svn to compensate for changes in r18214,
which included commits to RCS files with non-trunk default branches.


18211 10-Sep-1996 peter

This commit was generated by cvs2svn to compensate for changes in r18210,
which included commits to RCS files with non-trunk default branches.


18134 08-Sep-1996 pst

Look for old "man" macros in tmac.groff_an


18133 08-Sep-1996 pst

Add setlocale LC_CTYPE and 8 bit clean ctype support.

Original author: ache


18132 08-Sep-1996 pst

Workarround for gcc 2.60 expression evaluation bug.


18131 08-Sep-1996 pst

Improve .Os macro support (parts obtained from 4.4Lite2 and NetBSD)

Add the .Fx macro for specifying FreeBSD releases.

Add a bunch of missing standards to the .St macro.

Add Version 1 AT&T UNIX to .At macro

Updated the ".St -ansiC" macro to report "ISO 9899: 1990 (``ISO C'')"
You can also specify -iso9899, or -isoC. Use -ansiC-89 if you still need
the X3.159-1989 string reported.

Original author: mpp


18130 08-Sep-1996 pst

Manual page cleanups.

Original author: mpp


18129 08-Sep-1996 pst

Install additional S and L text fonts, needed for BSD doc formatting.

Original author: ache


18128 08-Sep-1996 pst

Add Russian language / koi8-r font support.

Original author: ache


18127 08-Sep-1996 pst

Add psroff command


18117 07-Sep-1996 peter

Add a note about current local changes relative to the "official" release.


18116 07-Sep-1996 peter

Add freebsd-specific info file.


18102 07-Sep-1996 pst

Commit import instructions for future maintainers


18100 07-Sep-1996 pst

This commit was generated by cvs2svn to compensate for changes in r18099,
which included commits to RCS files with non-trunk default branches.


18028 03-Sep-1996 peter

Implement a horrible (but simple) hack to allow some control over the
branch number that is assigned. This is specifically to support the
local commit feature of cvsup. If one sets $CVS_LOCAL_BRANCH_NUM to
(say) 1000 then branches the local repository, the revision numbers will
look like 1.66.1000.xx. This is almost a dead-set certainty that there
will be no conflicts with version numbers. :-)

(This needs to be something more than an option to 'cvs tag' or 'cvs rtag'
as various parts of cvs "know" how to automatically branch files (eg: cvs
add). Trying to remember state is getting "Too Hard (TM)")


17893 29-Aug-1996 peter

This commit was generated by cvs2svn to compensate for changes in r17892,
which included commits to RCS files with non-trunk default branches.


17751 21-Aug-1996 pst

Fix bugs in the ISO (Fletcher) checksum, obey the -q flag, misc cleanup of
ISO based code, and document new options (courtesy of libpcap).
Submitted by: Tony Li <tli@jnx.com>


17749 21-Aug-1996 pst

Add support for ISO CLNP/ES-IS/IS-IS.
These changes have been also sent back to LBL for inclusion in next release.

Submitted by: Tony Li <tli@jnx.com>


17722 20-Aug-1996 peter

This commit was generated by cvs2svn to compensate for changes in r17721,
which included commits to RCS files with non-trunk default branches.


17697 19-Aug-1996 pst

Add ignore of SUNOS4 subdirectory to commit instructions


17693 19-Aug-1996 pst

Upgrade instructions


17692 19-Aug-1996 pst

Print IPX packets over a PPP link.
Always display IPX network number in decimal (industry standard).
Decode other PPP protocol types too.

Submitted by: peter, pst, John Hay <jhay@mikom.csir.co.za>


17691 19-Aug-1996 pst

Improvements to IGMP message decoding.
Add support for the router-alert option.
Submitted by: Bill Fenner <fenner@parc.xerox.com>


17690 19-Aug-1996 pst

Fix bugs in AARP packet handling and fake up a phantom LAP header
since Ethertalk doesn't actually put one out on the wire.

Submitted by: Toshihiro Kanda <candy@fct.kgc.co.jp>


17689 19-Aug-1996 pst

Decode maximumim sized ethernet frames properly


17688 19-Aug-1996 pst

Handle IS-IS IIH messages and print NSAPs in canonical format.
Submitted by: Tony Li <tli@jnx.com>


17684 19-Aug-1996 pst

This commit was generated by cvs2svn to compensate for changes in r17683,
which included commits to RCS files with non-trunk default branches.


17681 19-Aug-1996 pst

This commit was generated by cvs2svn to compensate for changes in r17680,
which included commits to RCS files with non-trunk default branches.


17141 12-Jul-1996 jkh

General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>


16757 26-Jun-1996 phk

This commit was generated by cvs2svn to compensate for changes in r16756,
which included commits to RCS files with non-trunk default branches.


16755 26-Jun-1996 phk

Initial revision