]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoAdd the Bzip2 binaries. These are starting to get used more and more
David E. O'Brien [Thu, 21 Jun 2001 19:18:16 +0000 (19:18 +0000)]
Add the Bzip2 binaries.  These are starting to get used more and more
in the base system.

23 years agoFixing a bug reported on freebsd-security. It is possible for
Crist J. Clark [Thu, 21 Jun 2001 19:17:15 +0000 (19:17 +0000)]
Fixing a bug reported on freebsd-security. It is possible for
non-printable characters to sneak into /var/log/messages (e.g.
someone aims a Solaris/Linux RCP exploit at your FreeBSD box and
you end up with his shellcode as part of a log entry). You might
get something like,

  host.mydom.org login failures:
  Binary file (standard input) matches

In the daily security script as a result. Allowing attackers to
mess with your security script's ability to accurately report
is a Bad Thing. Tell grep(1) to treat /var/log/messages like a
text file even if it has non-printable characters.

Submitted by: Tim Zingelman <zingelman@fnal.gov> on freebsd-security
Approved by: ru
MFC after: 1 week

23 years agoFix long lines.
David E. O'Brien [Thu, 21 Jun 2001 19:17:12 +0000 (19:17 +0000)]
Fix long lines.

23 years agoAdd libbz2 to provide Bzip2 capabilities to the system.
David E. O'Brien [Thu, 21 Jun 2001 19:16:17 +0000 (19:16 +0000)]
Add libbz2 to provide Bzip2 capabilities to the system.

23 years agoThis commit was generated by cvs2svn to compensate for changes in r78556,
David E. O'Brien [Thu, 21 Jun 2001 18:37:17 +0000 (18:37 +0000)]
This commit was generated by cvs2svn to compensate for changes in r78556,
which included commits to RCS files with non-trunk default branches.

23 years agoVirgin import (trimmed) of Bzip2 version 1.0.1.
David E. O'Brien [Thu, 21 Jun 2001 18:37:17 +0000 (18:37 +0000)]
Virgin import (trimmed) of Bzip2 version 1.0.1.

23 years agoDon't dereference NULL regs pointer (should mapping I/O ports fail, as
Matt Jacob [Thu, 21 Jun 2001 16:18:27 +0000 (16:18 +0000)]
Don't dereference NULL regs pointer (should mapping I/O ports fail, as
they did for me on an alpha)

Approved by: gibbs@freebsd.org
MFC after: 2 days

23 years agoMove the interface address setting and default route setting out of
Brian Somers [Thu, 21 Jun 2001 15:42:26 +0000 (15:42 +0000)]
Move the interface address setting and default route setting out of
the default section and into the papchap section.

It's really irritating when you run ppp with no arguments and end up
blowing away your default route !

23 years agoExplicitly add a default route in ppp's install profile
Brian Somers [Thu, 21 Jun 2001 15:39:40 +0000 (15:39 +0000)]
Explicitly add a default route in ppp's install profile

23 years agoFollow Ben's suit in decreasing the average age here
Michael C . Wu [Thu, 21 Jun 2001 15:06:14 +0000 (15:06 +0000)]
Follow Ben's suit in decreasing the average age here
by adding myself.

23 years agoHopefully decrease the average age further still... :-)
Ben Smithurst [Thu, 21 Jun 2001 14:59:25 +0000 (14:59 +0000)]
Hopefully decrease the average age further still... :-)

23 years agoupdate infrastructure for heimdal 0.3f
Assar Westerlund [Thu, 21 Jun 2001 12:55:45 +0000 (12:55 +0000)]
update infrastructure for heimdal 0.3f

23 years agoRevert the previous commit on objection from the maintainer. I
Josef Karthauser [Thu, 21 Jun 2001 12:32:36 +0000 (12:32 +0000)]
Revert the previous commit on objection from the maintainer.  I
missed that natd has a -v option that will give similar functionality.

Requested by: ru

23 years agoMore -fno-builtin failures.
Dag-Erling Smørgrav [Thu, 21 Jun 2001 12:10:35 +0000 (12:10 +0000)]
More -fno-builtin failures.

23 years agoWhen reporting that a packet can't be written back, usually because
Josef Karthauser [Thu, 21 Jun 2001 10:28:40 +0000 (10:28 +0000)]
When reporting that a packet can't be written back, usually because
of a restrictive firewall rule, also report detail on the packet
that caused the failure.

MFC after: 3 days

23 years agobring down the average age a little
Bill Fumerola [Thu, 21 Jun 2001 09:57:48 +0000 (09:57 +0000)]
bring down the average age a little

23 years agoFreeBSD calendar.
Ruslan Ermilov [Thu, 21 Jun 2001 09:07:22 +0000 (09:07 +0000)]
FreeBSD calendar.

Submitted by: developers

23 years agoRemove tcpdump from the list of binaries. When cross-compiling
Luigi Rizzo [Thu, 21 Jun 2001 08:59:12 +0000 (08:59 +0000)]
Remove tcpdump from the list of binaries. When cross-compiling
I get a link error on in6addr_<something> and i cannot find the
symbol in any of the libraries. It might be my mistake, but in any
case the crunched binary would overflow the floppy, so...

This applies to -current only.

23 years agoRemove support of I386_CPU in -current.
Luigi Rizzo [Thu, 21 Jun 2001 08:56:59 +0000 (08:56 +0000)]
Remove support of I386_CPU in -current.
Make sure hints are statically compiled into the kernel,
because the bootloader is not available in picobsd and so the
hints file cannot be found at run time.

(This is kind of inconvenient if you have to handle non PnP devices,
but fortunately these days non-PnP ISA cards are disappearing...)

23 years agoUse /dev/fd0 instead of /dev/fd0c for mounting the floppy.
Luigi Rizzo [Thu, 21 Jun 2001 08:53:21 +0000 (08:53 +0000)]
Use /dev/fd0 instead of /dev/fd0c for mounting the floppy.
This must have to do with the use of devfs in -CURRENT, but i
have no idea when the devfs is actually mounted (is it a
side effect of mount -t nonfs or what ?) and when /dev/fd0c becomes
available.
For the time being, let's use this hack. Once I understand how devfs
works, this can be reverted back to the previous value, and also the
part of the build script which creates device entries can be nuked.
This is for -current only.

23 years agoMove handling of crunch* files into Makefile.conf, which is a
Luigi Rizzo [Thu, 21 Jun 2001 08:49:46 +0000 (08:49 +0000)]
Move handling of crunch* files into Makefile.conf, which is a
better place to handle dependencies.

Make another step at helping cross-compiling: when the user specifies
an alternate source tree, the script takes care of creating include
files and libraries for the new tree.
Furthermore, build and use a version of the "config" program which
matches the new sources.

It takes a long time to create libraries, and it might even not do
the right thing at once, there might be some dependencies that i
have forgotten. At any rate, with this code i have been able to
build a working picobsd image using -CURRENT sources on -STABLE

MFC after: 3 days

23 years ago- Avoid hardcoded constant on icmp6 in/out histogram printing
Munechika SUMIKAWA [Thu, 21 Jun 2001 08:27:09 +0000 (08:27 +0000)]
- Avoid hardcoded constant on icmp6 in/out histogram printing
- Icmp6 histogram update for inverse neighbor solicit/advert.

Obtained from: KAME
MFC after: 2 weeks

23 years ago- Renumber KAME local ICMP types and NDP options numberes beacaues they
Munechika SUMIKAWA [Thu, 21 Jun 2001 07:08:43 +0000 (07:08 +0000)]
- Renumber KAME local ICMP types and NDP options numberes beacaues they
  are duplicated by newly defined types/options in RFC3121
- We have no backward compatibility issue. There is no apps in our
  distribution which use the above types/options.

Obtained from: KAME
MFC after: 2 weeks

23 years agofix merges from 0.3f
Assar Westerlund [Thu, 21 Jun 2001 02:21:57 +0000 (02:21 +0000)]
fix merges from 0.3f

23 years agoThis commit was generated by cvs2svn to compensate for changes in r78527,
Assar Westerlund [Thu, 21 Jun 2001 02:12:07 +0000 (02:12 +0000)]
This commit was generated by cvs2svn to compensate for changes in r78527,
which included commits to RCS files with non-trunk default branches.

23 years agoimport of heimdal 0.3f
Assar Westerlund [Thu, 21 Jun 2001 02:12:07 +0000 (02:12 +0000)]
import of heimdal 0.3f

23 years agoConstify mdmaybeload(), add a prototype for usage(), and get rid of a
Dima Dorfman [Thu, 21 Jun 2001 02:10:26 +0000 (02:10 +0000)]
Constify mdmaybeload(), add a prototype for usage(), and get rid of a
sizeof(int) == sizeof(long) assumption; clamp down with WARNS=2.

23 years agoDon't assume the length of MD_NAME is 2.
Dima Dorfman [Thu, 21 Jun 2001 01:39:01 +0000 (01:39 +0000)]
Don't assume the length of MD_NAME is 2.

23 years agoFail if -s isn't specified for an MD_MALLOC or MD_SWAP disk; the
Dima Dorfman [Thu, 21 Jun 2001 01:36:09 +0000 (01:36 +0000)]
Fail if -s isn't specified for an MD_MALLOC or MD_SWAP disk; the
driver itself obviously won't configure such a disk, but the error
returned (EDOM) is more cryptic to the average user than it should be.

Also assert that the argument to -u is in fact a valid unit; don't
just accept any string to mean 0.

Approved by: phk

23 years agoAdd etc/rc.d (looking to the future)
David E. O'Brien [Thu, 21 Jun 2001 01:10:30 +0000 (01:10 +0000)]
Add etc/rc.d (looking to the future)

23 years agoRemove -DNEW_LINKERSET, it is not used here anymore. This is now native.
Peter Wemm [Thu, 21 Jun 2001 00:08:23 +0000 (00:08 +0000)]
Remove -DNEW_LINKERSET, it is not used here anymore.  This is now native.

23 years agoDon't lock around swap_pager_swap_init() that is only called once during
John Baldwin [Wed, 20 Jun 2001 23:34:06 +0000 (23:34 +0000)]
Don't lock around swap_pager_swap_init() that is only called once during
the pagedaemon's startup code since it calls malloc which results in lock
order reversals.

23 years agoUse 'LIBS+= ...' instead of 'LIBS= ...' in the generated makefile
Josef Karthauser [Wed, 20 Jun 2001 23:21:02 +0000 (23:21 +0000)]
Use 'LIBS+= ...' instead of 'LIBS= ...' in the generated makefile
so that the user can override libraries at build time.  This is
makes it easier to cross-compile crunch builds.

Suggested by: luigi
MFC after: 3 days

23 years agoFix some lock order reversals where we called free() while holding a proc
John Baldwin [Wed, 20 Jun 2001 23:10:06 +0000 (23:10 +0000)]
Fix some lock order reversals where we called free() while holding a proc
lock.  We now use temporary variables to save the process argument pointer
and just update the pointer while holding the lock.  We then perform the
free on the cached pointer after releasing the lock.

23 years agoAdd a missing word.
Dima Dorfman [Wed, 20 Jun 2001 22:10:31 +0000 (22:10 +0000)]
Add a missing word.

Submitted by: Alexander Leidinger <Alexander@Leidinger.net>

23 years agoFix a grammar bogon.
Dima Dorfman [Wed, 20 Jun 2001 22:03:10 +0000 (22:03 +0000)]
Fix a grammar bogon.

23 years agoDocument the mysterious Peter Wemm Murphy Field (PWMF).
John Baldwin [Wed, 20 Jun 2001 20:58:04 +0000 (20:58 +0000)]
Document the mysterious Peter Wemm Murphy Field (PWMF).

Reviewed by: phk, eivind, nra

23 years agoRemove some more duplicate fortunes.
John Baldwin [Wed, 20 Jun 2001 20:25:56 +0000 (20:25 +0000)]
Remove some more duplicate fortunes.

23 years agoCosmetics:
Joerg Wunsch [Wed, 20 Jun 2001 20:21:55 +0000 (20:21 +0000)]
Cosmetics:

. staticize out_fdc(), there's no longer an ft(4) driver sharing its use
. remove in_fdc(), has been used by ft(4) last time, long since obsoleted
  by fd_in()
. move the declaration of fd_clone() to where most of the other function
  declarations are
. de-__P()ify fd_clone(), it's been the only _P()ed function in the
  entire file

23 years ago"Unmount" is spelled "umount", not "unmount".
Matthew Hunt [Wed, 20 Jun 2001 20:14:36 +0000 (20:14 +0000)]
"Unmount" is spelled "umount", not "unmount".

23 years agoAvoid using too many args for ``set m[tr]u''
Brian Somers [Wed, 20 Jun 2001 19:55:58 +0000 (19:55 +0000)]
Avoid using too many args for ``set m[tr]u''

This needs to work with OpenBSD's groff too :(

23 years agoResort the last entry to its proper location. D definitely comes before Z.
John Baldwin [Wed, 20 Jun 2001 19:55:41 +0000 (19:55 +0000)]
Resort the last entry to its proper location.  D definitely comes before Z.

23 years agoChange m_devget()'s outdated and unused `offset' argument to actually mean
Bosko Milekic [Wed, 20 Jun 2001 19:48:35 +0000 (19:48 +0000)]
Change m_devget()'s outdated and unused `offset' argument to actually mean
something: offset into the first mbuf of the target chain before copying
the source data over.

Make drivers using m_devget() with a first argument "data - ETHER_ALIGN"
to use the offset argument to pass ETHER_ALIGN in. The way it was previously
done is potentially dangerous if the source data was at the top of a page
and the offset caused the previous page to be copied (if the
previous page has not yet been appropriately mapped).

The old `offset' argument in m_devget() is not used anywhere (it's always
0) and dates back to ~1995 (and earlier?) when support for ethernet trailers
existed. With that support gone, it was merely collecting dust.

Tested on alpha by: jlemon
Partially submitted by: jlemon
Reviewed by: jlemon
MFC after: 3 weeks

23 years agoRemove a duplicate entry.
John Baldwin [Wed, 20 Jun 2001 19:45:15 +0000 (19:45 +0000)]
Remove a duplicate entry.

23 years agoPreemption by an interrupt thread is an involuntary switch, not a voluntary
John Baldwin [Wed, 20 Jun 2001 18:26:41 +0000 (18:26 +0000)]
Preemption by an interrupt thread is an involuntary switch, not a voluntary
one.

Pointy-hat to: me

23 years agoApplied the patch to fix HARP ATM that was broken when KAME IPv6 came
Jim Pirzyk [Wed, 20 Jun 2001 17:09:14 +0000 (17:09 +0000)]
Applied the patch to fix HARP ATM that was broken when KAME IPv6 came
into FreeBSD.

PR: kern/23620
Submitted by: rh@matriplex.com
MFC after: 1 month

23 years agoThe serial console break-to-debugger support only functioned while
Ian Dowse [Wed, 20 Jun 2001 16:47:23 +0000 (16:47 +0000)]
The serial console break-to-debugger support only functioned while
the console device was open. At other times, the interrupts that
are used to detect the break signal or ~^B sequence were disabled,
so these events would not be noticed until the next open (e.g. the
next kernel printf). This was mainly a problem while there was no
getty running on the console, such as during bootup or shutdown.

For serial consoles with break-to-debugger support, we now enable
the generation of interrupts at attach time, and we leave them
enabled while the device is closed.

Reviewed by: bde (I've since made chages as per his suggestions)

23 years agoConstify (silence warnings introduced by last commit to sys/module.h)
Dag-Erling Smørgrav [Wed, 20 Jun 2001 16:08:45 +0000 (16:08 +0000)]
Constify (silence warnings introduced by last commit to sys/module.h)

23 years agoUpdate the manpage to reflect reality (and what was already in -stable).
Luigi Rizzo [Wed, 20 Jun 2001 15:01:17 +0000 (15:01 +0000)]
Update the manpage to reflect reality (and what was already in -stable).

23 years agoo Add a -a flag for changing/getting the ALTPIN setting for a digi port.
Brian Somers [Wed, 20 Jun 2001 14:52:20 +0000 (14:52 +0000)]
o Add a -a flag for changing/getting the ALTPIN setting for a digi port.
o For the -i switch, only show the device if more than one is given on
  the command line.

23 years agoAllow individual ports to use alternate pin settings (swap dsr & cd)
Brian Somers [Wed, 20 Jun 2001 14:52:08 +0000 (14:52 +0000)]
Allow individual ports to use alternate pin settings (swap dsr & cd)
via the new DIGIIO_SETALTPIN ioctl, and allow the port's ALTPIN setting
to be queried via DIGIIO_GETALTPIN.

The initial state and lock devices are normally used to set and/or
lock ALTPIN settings although the device itself may also be used.

ALTPIN settings are applied per-device and apply to both the callin
and callout device at the same time.

23 years agoAdd DIGIIO_SETALTPIN and DIGIIO_GETALTPIN ioctl values
Brian Somers [Wed, 20 Jun 2001 14:51:58 +0000 (14:51 +0000)]
Add DIGIIO_SETALTPIN and DIGIIO_GETALTPIN ioctl values

23 years agoMove variable assignement after argument parsing, to improve handling
Luigi Rizzo [Wed, 20 Jun 2001 14:16:48 +0000 (14:16 +0000)]
Move variable assignement after argument parsing, to improve handling
of alternate source trees.

Also improve verbose behaviour.

23 years agoChange default value of rtadvd_enable to NO to be compatible with
Hajimu UMEMOTO [Wed, 20 Jun 2001 13:17:07 +0000 (13:17 +0000)]
Change default value of rtadvd_enable to NO to be compatible with
the following description in RFC2461:

    AdvSendAdvertisements
    A flag indicating whether or not the router sends
    periodic Router Advertisements and responds to
    Router Solicitations.

    Default: FALSE

    Note that AdvSendAdvertisements MUST be FALSE by
    default so that a node will not accidentally start
    acting as a router unless it is explicitly
    configured by system management to send Router
    Advertisements.

Submitted by: JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp>
MFC after: 1 week

23 years agomade sure to use the correct sa_len for rtalloc().
Hajimu UMEMOTO [Wed, 20 Jun 2001 12:32:48 +0000 (12:32 +0000)]
made sure to use the correct sa_len for rtalloc().
sizeof(ro_dst) is not necessarily the correct one.
this change would also fix the recent path MTU discovery problem for the
destination of an incoming TCP connection.

Submitted by: JINMEI Tatuya <jinmei@kame.net>
Obtained from: KAME
MFC after: 2 weeks

23 years agoClose a race where we were releasing the unit resource at the start
Brian Somers [Wed, 20 Jun 2001 10:06:28 +0000 (10:06 +0000)]
Close a race where we were releasing the unit resource at the start
of tunclose() rather than the end, and tunopen() grabbed that unit
before tunclose() finished (one process is allocating it while another
is freeing it!).

It may be worth hanging some sort of rw mutex around all specinfo
calls where d_close and the detach handler get a write lock and all
other functions get a read lock.  This would guarantee certain levels
of ``atomicity'' (is that a word?) that people may expect (I believe
Solaris does something like this).

23 years agoWork around the problem in RELENG_4 where the file doesn't actually
Doug Barton [Wed, 20 Jun 2001 07:15:38 +0000 (07:15 +0000)]
Work around the problem in RELENG_4 where the file doesn't actually
exist, and therefore mm_install is returning the "fail" value of
the test instead of the "success" value for install.

This change is a no-op on HEAD, but since the only harm on RELENG_4
ATM is a spurious warning it can follow the usual MFC practice.

Submitted by: A cast of thousands :-/

23 years agoRevert last change: it was unintended at this time.
Warner Losh [Wed, 20 Jun 2001 06:24:28 +0000 (06:24 +0000)]
Revert last change: it was unintended at this time.

23 years agoAdd new entries for:
Warner Losh [Wed, 20 Jun 2001 06:21:17 +0000 (06:21 +0000)]
Add new entries for:
TI1210, TI4410 and TI4450
and fix what looks like a typo in the OZ6860 entry.

Obtained from: NetBSD

23 years agoDocument the interactive command `what'.
Mike Heffner [Wed, 20 Jun 2001 04:00:43 +0000 (04:00 +0000)]
Document the interactive command `what'.

Reviewed by: ru
MFC after: 2 weeks

23 years agoAdd B921600 (yes, some serial ports can do this, but generic sio not support
Andrey A. Chernov [Wed, 20 Jun 2001 03:26:41 +0000 (03:26 +0000)]
Add B921600 (yes, some serial ports can do this, but generic sio not support
them yet)

23 years agoFix typo which could lead to memory leak.
Mike Heffner [Wed, 20 Jun 2001 01:56:09 +0000 (01:56 +0000)]
Fix typo which could lead to memory leak.

PR: misc/28283
MFC after: 2 weeks

23 years agoThis compiles cleanly with WARNS=2; make sure it stays that way.
Dima Dorfman [Wed, 20 Jun 2001 01:12:46 +0000 (01:12 +0000)]
This compiles cleanly with WARNS=2; make sure it stays that way.

23 years agoDon't arbitrarily limit tabstop expansions to 256 characters.
Dima Dorfman [Wed, 20 Jun 2001 01:08:58 +0000 (01:08 +0000)]
Don't arbitrarily limit tabstop expansions to 256 characters.

Submitted by: Oliver Fromme <oliver.fromme@heim3.tu-clausthal.de>

23 years agoPut the scheduler, vmdaemon, and pagedaemon kthreads back under Giant for
John Baldwin [Wed, 20 Jun 2001 00:48:20 +0000 (00:48 +0000)]
Put the scheduler, vmdaemon, and pagedaemon kthreads back under Giant for
now.  The proc locking isn't actually safe yet and won't be until the proc
locking is finished.

23 years agoAdd a SEE ALSO section.
Dima Dorfman [Wed, 20 Jun 2001 00:37:34 +0000 (00:37 +0000)]
Add a SEE ALSO section.

23 years agoMiscellaneous mdoc(7) fixes; also expand contractions.
Dima Dorfman [Wed, 20 Jun 2001 00:34:20 +0000 (00:34 +0000)]
Miscellaneous mdoc(7) fixes; also expand contractions.

Submitted by: ru

23 years agoConstify the module name. This silences a few warnings ("initialization
Dag-Erling Smørgrav [Tue, 19 Jun 2001 21:40:14 +0000 (21:40 +0000)]
Constify the module name.  This silences a few warnings ("initialization
discards qualifier"), and probably adds a few where module names are
compared to or passed as non-const strings.

Not-objected-to-by: bde

23 years agoAdd configuration for a FAITH IPv6-to-IPv4 TCP translator.
Hajimu UMEMOTO [Tue, 19 Jun 2001 19:27:51 +0000 (19:27 +0000)]
Add configuration for a FAITH IPv6-to-IPv4 TCP translator.
To use a FAITH actually, you also need faithd(8) setup.
Please consult faithd(8) manpage.

23 years agoMade all fields in default output be space separated. Run-together
Jens Schweikhardt [Tue, 19 Jun 2001 17:59:40 +0000 (17:59 +0000)]
Made all fields in default output be space separated. Run-together
columns confuse the heck out of other apps trying to parse vmstat output
(eg sscope). I made sure we're still <= 80 cols per line.
Fixed warnings about unused vars and printf %format mismatches.

Requested by: Eugene Aleynikov <eugenea@infospace.com>
Reviewed by: joerg (implicitly)
MFC after: 2 weeks

23 years agoActually document TCPDEBUG.
Garrett Wollman [Tue, 19 Jun 2001 17:07:15 +0000 (17:07 +0000)]
Actually document TCPDEBUG.

23 years agoFix punctuation in comment.
Garrett Wollman [Tue, 19 Jun 2001 17:00:55 +0000 (17:00 +0000)]
Fix punctuation in comment.

23 years agoFix a couple of tips, and add a new one.
Nik Clayton [Tue, 19 Jun 2001 16:46:58 +0000 (16:46 +0000)]
Fix a couple of tips, and add a new one.

Submitted by: Alexey V. Neyman <avn@any.ru>

23 years agoSuppress update ifnet.iflastchange when processing packets for SNMP
Munechika SUMIKAWA [Tue, 19 Jun 2001 15:53:51 +0000 (15:53 +0000)]
Suppress update ifnet.iflastchange when processing packets for SNMP
requirements(RFC1573, interface MIB). This change for 4.4BSD was
first introduced in if_ethersubr.c:1.17->1.18.

BTW, iflastchange on all of IFs are inconsistent. e.g.
     ether, tun: update
     fddi, tokenring, ppp: not update
I'll make patch later.

Obtained from: KAME
MFC after: 2 weeks

23 years agoAdd more headers that are required with -fno-builtin (stdlib and strings)
Dag-Erling Smørgrav [Tue, 19 Jun 2001 15:41:57 +0000 (15:41 +0000)]
Add more headers that are required with -fno-builtin (stdlib and strings)

23 years agoAdd IFT_L2VLAN for supported NDP type. IPv6 over VLAN works now.
Munechika SUMIKAWA [Tue, 19 Jun 2001 14:48:02 +0000 (14:48 +0000)]
Add IFT_L2VLAN for supported NDP type. IPv6 over VLAN works now.

Obtained from: KAME
MFC after: 2 weeks

23 years agoMore verbose version of identifycpu() which also contains many more CPU
Benno Rice [Tue, 19 Jun 2001 13:27:33 +0000 (13:27 +0000)]
More verbose version of identifycpu() which also contains many more CPU
versions/revisions.

Modified from the original patch to mark G3 and G4 processors as such.

Submitted by: Jeff Schottmiller <jeff@neoscale.com>

23 years ago<stdlib.h> is needed for exit(3) when building with -fno-builtin.
Dag-Erling Smørgrav [Tue, 19 Jun 2001 12:03:14 +0000 (12:03 +0000)]
<stdlib.h> is needed for exit(3) when building with -fno-builtin.

23 years agoConvert the elf loader to the new linker set layout for elf files.
Peter Wemm [Tue, 19 Jun 2001 07:41:07 +0000 (07:41 +0000)]
Convert the elf loader to the new linker set layout for elf files.
This should make dependencies at load time work like before.  Oops.

Noticed by: markm

23 years agoFix some of the worst formatting bug (seperate commit)
Peter Wemm [Tue, 19 Jun 2001 06:48:58 +0000 (06:48 +0000)]
Fix some of the worst formatting bug (seperate commit)

23 years agoThis commit was generated by cvs2svn to compensate for changes in r78460,
Ruslan Ermilov [Tue, 19 Jun 2001 06:43:49 +0000 (06:43 +0000)]
This commit was generated by cvs2svn to compensate for changes in r78460,
which included commits to RCS files with non-trunk default branches.

23 years agoBring in FSF revision 1.17:
Ruslan Ermilov [Tue, 19 Jun 2001 06:43:49 +0000 (06:43 +0000)]
Bring in FSF revision 1.17:

* src/roff/troff/node.h (node::node): Initialize `last'.

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

Urged by: eivind

23 years agoCorrect some typos.
Dima Dorfman [Tue, 19 Jun 2001 05:46:30 +0000 (05:46 +0000)]
Correct some typos.

PR: 28251
Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>

23 years agostat(2) filesystem quotas act on, not filesystem quotas file resides on.
Mike Heffner [Tue, 19 Jun 2001 04:45:50 +0000 (04:45 +0000)]
stat(2) filesystem quotas act on, not filesystem quotas file resides on.

PR: bin/4949
MFC after: 2 weeks

23 years agoCall clnt_destroy() to prevent exhausting resources.
Mike Heffner [Tue, 19 Jun 2001 03:48:26 +0000 (03:48 +0000)]
Call clnt_destroy() to prevent exhausting resources.

PR: bin/14255
Reviewed by: Kenji Tomita <tommy@ti.com>
MFC after: 2 weeks

23 years agoCleanup the mix of styles in this file:
Mike Heffner [Tue, 19 Jun 2001 03:37:21 +0000 (03:37 +0000)]
Cleanup the mix of styles in this file:
  - spaces -> tabs
  - return(0) -> return (0)
  - wrap longlines

Reviewed by: md5
MFC after: 2 weeks

23 years agoThis command has more than four options.
Dima Dorfman [Tue, 19 Jun 2001 03:34:03 +0000 (03:34 +0000)]
This command has more than four options.

23 years agoAdd IBM "High Rate Wireless LAN PC Card", a rebadged Lucent WaveLAN/IEEE.
Greg Lehey [Tue, 19 Jun 2001 01:21:22 +0000 (01:21 +0000)]
Add IBM "High Rate Wireless LAN PC Card", a rebadged Lucent WaveLAN/IEEE.

MFC after: 2 weeks

23 years agoPrint "-" instead of "" in the grace field if there is no grace
Dima Dorfman [Tue, 19 Jun 2001 00:47:24 +0000 (00:47 +0000)]
Print "-" instead of "" in the grace field if there is no grace
period; this keeps the number of whitespace-separated fields constant.

PR: 15739, 23908
Submitted by: Valentin Nechayev <netch@netch.kiev.ua>

23 years agoCND has been unused for two years, and RND has been unused for five
Dima Dorfman [Tue, 19 Jun 2001 00:39:29 +0000 (00:39 +0000)]
CND has been unused for two years, and RND has been unused for five
years; remove them from CFLAGS.

PR: 23712
Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>

23 years agoHook mdmfs into the build.
Dima Dorfman [Mon, 18 Jun 2001 23:47:18 +0000 (23:47 +0000)]
Hook mdmfs into the build.

23 years agoIntroduce mdmfs(8), a wrapper around mdconfig(8), disklabel(8),
Dima Dorfman [Mon, 18 Jun 2001 23:46:58 +0000 (23:46 +0000)]
Introduce mdmfs(8), a wrapper around mdconfig(8), disklabel(8),
newfs(8), and mount(8) that mimics the command line option set of the
deprecated mount_mfs(8).

Approved by: jkh, phk, -hackers

23 years agoadd ircs, per IANA
Daniel Baker [Mon, 18 Jun 2001 23:33:09 +0000 (23:33 +0000)]
add ircs, per IANA

MFC after: 3 days

23 years agoCall va_start/va_end for each call to vfprintf
Brian Somers [Mon, 18 Jun 2001 23:24:26 +0000 (23:24 +0000)]
Call va_start/va_end for each call to vfprintf

Obtained from: OpenBSD

23 years agoFix spelling of `errno' and add cross-references.
Garrett Wollman [Mon, 18 Jun 2001 22:26:31 +0000 (22:26 +0000)]
Fix spelling of `errno' and add cross-references.

23 years agoDocument _SC_IOV_MAX. Add cross-references to pathconf(2), confstr(3), and
Garrett Wollman [Mon, 18 Jun 2001 22:18:08 +0000 (22:18 +0000)]
Document _SC_IOV_MAX.  Add cross-references to pathconf(2), confstr(3), and
getconf(1).  This document still needs to be sorted and to have other missing
parameters described.

23 years agoFix some memory bugs with regard to jumbo buffers. I made a mistake when
Bill Paul [Mon, 18 Jun 2001 22:04:40 +0000 (22:04 +0000)]
Fix some memory bugs with regard to jumbo buffers. I made a mistake when
converting from the old external mbuf buffer code to the new (with the
MEXTADD() macro). Also free free list memory correctly in
foo_free_jumbo_mem() routines: grab the head of the list, then
remove it, _then_ free() it.

This fixes the memory corruption problem I've been chasing in the level 1
driver.

23 years agoWhen processing -a, strip off the path of the argument before copying
Dima Dorfman [Mon, 18 Jun 2001 21:57:24 +0000 (21:57 +0000)]
When processing -a, strip off the path of the argument before copying
it to the output.

Reviewed by: alex

23 years agoAdded CTLTYPE_{UINT|LONG|ULONG} types.
Jim Pirzyk [Mon, 18 Jun 2001 21:07:04 +0000 (21:07 +0000)]
Added CTLTYPE_{UINT|LONG|ULONG} types.

PR: kern/21132
Reviewed by: no objections to by -arch
MFC after: 1 month

23 years agomodfied sysctl command to allow setting values > 2GB if the mib supports it.
Jim Pirzyk [Mon, 18 Jun 2001 21:06:24 +0000 (21:06 +0000)]
modfied sysctl command to allow setting values > 2GB if the mib supports it.

PR: kern/21132
Reviewed by: no objections to by -arch
MFC after: 1 month