]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoReduce buffer size from 64K to 4K.
Maxim Sobolev [Mon, 9 Oct 2000 14:54:32 +0000 (14:54 +0000)]
Reduce buffer size from 64K to 4K.

Approved by: cg

23 years agoupdate to i4b version 0.95.04 (oops, forgot this one ..)
Hellmuth Michaelis [Mon, 9 Oct 2000 14:30:50 +0000 (14:30 +0000)]
update to i4b version 0.95.04 (oops, forgot this one ..)

23 years agoremove MAINTAINER: i'll develop and maintain i4b from now on in the
Hellmuth Michaelis [Mon, 9 Oct 2000 14:29:16 +0000 (14:29 +0000)]
remove MAINTAINER: i'll develop and maintain i4b from now on in the
FreeBSD-current tree

23 years agoupdate to i4b version 0.95.04
Hellmuth Michaelis [Mon, 9 Oct 2000 14:22:51 +0000 (14:22 +0000)]
update to i4b version 0.95.04

23 years agofix a typo & allow softclock to run on alphas.
Andrew Gallatin [Mon, 9 Oct 2000 14:20:09 +0000 (14:20 +0000)]
fix a typo & allow softclock to run on alphas.

This gets my AS500 and UP1000 booting again.

23 years agoDon't make_dev() in bpfopen() unless we need to.
Poul-Henning Kamp [Mon, 9 Oct 2000 14:19:09 +0000 (14:19 +0000)]
Don't make_dev() in bpfopen() unless we need to.

23 years agoDon't hold an extra reference to vnodes. Devfs vnodes are sufficiently
Poul-Henning Kamp [Mon, 9 Oct 2000 14:18:07 +0000 (14:18 +0000)]
Don't hold an extra reference to vnodes.  Devfs vnodes are sufficiently
cheap to setup that it doesn't really matter that we recycle device
vnodes at kleenex speed.

Implement first cut try at killing cloned devices when they are
not needed anymore.  For now only the bpf driver is involved in
this experiment.  Cloned devices can set the SI_CHEAPCLONE flag
which allows us to destroy_dev() it when the vcount() drops to zero
and the vnode is reclaimed.  For now it's a requirement that the
driver doesn't keep persistent state from close to (re)open.

Some whitespace changes.

23 years agoupdate to i4b version 0.95.04
Hellmuth Michaelis [Mon, 9 Oct 2000 13:41:07 +0000 (13:41 +0000)]
update to i4b version 0.95.04

23 years agoremove the tina-dd driver fragment, it is unlikely that it will get finished.
Hellmuth Michaelis [Mon, 9 Oct 2000 13:32:02 +0000 (13:32 +0000)]
remove the tina-dd driver fragment, it is unlikely that it will get finished.

23 years agoupdate to i4b version 0.95.04
Hellmuth Michaelis [Mon, 9 Oct 2000 13:29:00 +0000 (13:29 +0000)]
update to i4b version 0.95.04

23 years agoupdate to i4b version 0.95.04
Hellmuth Michaelis [Mon, 9 Oct 2000 13:18:17 +0000 (13:18 +0000)]
update to i4b version 0.95.04

23 years agoCleanup of bitstring.h:
David Malone [Mon, 9 Oct 2000 12:34:51 +0000 (12:34 +0000)]
Cleanup of bitstring.h:

1) Add FreeBSD: tag.
2) Add parenthesis around macro args.
3) Add parenthesis around macros which are expressions.
4) Add do { ... } while (0) around macros which are compound statements.
5) Sync bitstr_size and bit_alloc with neater versions from NetBSD.
6) Fix bit_ffs and bit_ffc so that they don't search off the end of the
bitstirng.
7) Try to avoid rightshifting signed ints.

I didn't take NetBSD's version directly as the macros are significantly
slower for long bitstrings. Bruce reviewed a previous version of
this patch.

PR: 21204
Submitted by: bob@immure.com
Reviewed by: bde

23 years agoNow I see the error of my ways.
Daniel C. Sobral [Mon, 9 Oct 2000 11:29:40 +0000 (11:29 +0000)]
Now I see the error of my ways.

Previous revision of this file changed the "boot" commands to take
no arguments from the stack. This is only valid in the case where
a kernel has not been loaded. In that case, load_kernel_and_modules
will be called, which takes a list of arguments from the stack.

When a kernel is presently loaded, though, the list of arguments must
be passed to the boot command, which was the behaviour before the last
revision.

Fix things for both cases.

Noticed by: S-Max and others on that chat room

23 years agoFixed include files to use sys/{cons,fb,kb}io.h instead of
KATO Takenori [Mon, 9 Oct 2000 11:07:18 +0000 (11:07 +0000)]
Fixed include files to use sys/{cons,fb,kb}io.h instead of
machine/console.h.

23 years ago.. fsck wrappers aftercommit #1: I don't know how these files got lost,
Adrian Chadd [Mon, 9 Oct 2000 10:26:15 +0000 (10:26 +0000)]
.. fsck wrappers aftercommit #1: I don't know how these files got lost,
but they did. Oops.

23 years agoReviewed by: rwatson, bp
Adrian Chadd [Mon, 9 Oct 2000 10:23:31 +0000 (10:23 +0000)]
Reviewed by: rwatson, bp
Approved by: rwatson
Obtained from: NetBSD source tree

Second part of the fsck wrappers commit. This commit enables the new fsck
code (removing the fsck/* code and replacing it with the netbsd fsck
wrapper code), and enabling some FFS-based utilities to compile.

Details:

* quotacheck, fsdb required modification to use the fsck_ffs/ code rather
  than fsck/ . This might change later since quotacheck requires preen.c
  which should exist in fsck/ rather than fsck_ffs/

* src/Makefile has fsck_ffs added to it so it it built as part of the tree
  now

* share/doc/smm/03.fsck/ uses the SMM.doc/ stuff from fsck_ffs, not fsck.

I've tested this, and it shouldn't require any changes on your machine.
The fsck wrapper reads /etc/fsck and is command-line-compatible enough
to not require rc changes (well, most changes unless you want to do
anything nifty by specifying the fs types explicityly, read the man page
if you want further details on what it can do.)

This now allows us to support multiple filesystem types during bootup.

23 years agoReviewed by: rwatson, bp
Adrian Chadd [Mon, 9 Oct 2000 10:22:56 +0000 (10:22 +0000)]
Reviewed by: rwatson, bp
Approved by: rwatson
Obtained from: NetbSD source tree

Second part of the fsck wrappers commit. This commit enables the new fsck
code (removing the fsck/* code and replacing it with the netbsd fsck
wrapper code), and enabling some FFS-based utilities to compile.

Details:

* quotacheck, fsdb required modification to use the fsck_ffs/ code rather
  than fsck/ . This might change later since quotacheck requires preen.c
  which should exist in fsck/ rather than fsck_ffs/

* src/Makefile has fsck_ffs added to it so it it built as part of the tree
  now

* share/doc/smm/03.fsck/ uses the SMM.doc/ stuff from fsck_ffs, not fsck.

I've tested this, and it shouldn't require any changes on your machine.
The fsck wrapper reads /etc/fsck and is command-line-compatible enough
to not require rc changes (well, most changes unless you want to do
anything nifty by specifying the fs types explicityly, read the man page
if you want further details on what it can do.)

This now allows us to support multiple filesystem types during bootup.

23 years ago.. forgot a ; at the end of the $FreeBSD$ string. How did I actually forget
Adrian Chadd [Mon, 9 Oct 2000 09:42:51 +0000 (09:42 +0000)]
.. forgot a ; at the end of the $FreeBSD$ string. How did I actually forget
this? :-)

It builds again.

23 years ago- simplify option flags
Munechika SUMIKAWA [Mon, 9 Oct 2000 09:28:49 +0000 (09:28 +0000)]
- simplify option flags
- do not print header when using -c
- linklocal address are not cleared when using -c

Obtained from: KAME

23 years agoSome missed magic in the fsck wrapper commit which is required by other
Adrian Chadd [Mon, 9 Oct 2000 09:21:04 +0000 (09:21 +0000)]
Some missed magic in the fsck wrapper commit which is required by other
utilities which use bits of fsck_ffs - namely quotacheck and fsdb.
In depth, utilities.c contains blockcheck() which is needed by both,
but also a slew of routines which require bits of the FFS code to be
compiled in. This breaks the fs-specific and non-fs-specific code
up into two files (well, blockcheck() is the only routine in utilities.c,
that'll change later) which makes building fsck_ffs, quotacheck and
fsdb work yet again.

(You won't find commits to fsdb and quotacheck here before I haven't
committed the post-fsck-wrappers version of them yet.)

23 years agoString buffer overflow cleanup.
Kris Kennaway [Mon, 9 Oct 2000 09:07:45 +0000 (09:07 +0000)]
String buffer overflow cleanup.

Reviewed by: green, alex

23 years agoReviewed by: rwatson, bp
Adrian Chadd [Mon, 9 Oct 2000 08:26:35 +0000 (08:26 +0000)]
Reviewed by: rwatson, bp
Approved by: rwatson
Obtained from: NetBSD-current source tree

The beginnings of the fsck wrappers stuff from NetBSD. This particular commit
brings a newly repo-copied sbin/fsck_ffs/ (from sbin/fsck/) into fsck wrappers
mode.

A quick overview (the code reflects this):

* Documentation changed to reflect fsck_ffs instead of fsck
* Simply acts on a single filesystem, doesn't try to do any multiple filesystem
  magic - this is done by the fsck wrappers now

And then specific to fsck_ffs:

* link to /sbin/fsck_4.2bsd and /sbin/fsck_ufs. This is because right now
  the filesystem is of type ufs not ffs, and that during autodetection the
  labeltype rather than the VFS type is used - this is because when doing
  an autodetection of filesystem type in the fsck wrapper program, it does
  not have any link between label type (4.2bsd, vinum, etc) and VFS string.

Note that this shouldn't break a build since the required buildworld Makefile
magic and import of the fsck wrapper code into src/sbin/fsck/ will happen
in a seperate commit.

23 years agoInitiate deorbit burn sequence for <machine/mouse.h>.
Poul-Henning Kamp [Mon, 9 Oct 2000 08:08:36 +0000 (08:08 +0000)]
Initiate deorbit burn sequence for <machine/mouse.h>.

Replace all in-tree uses with <sys/mouse.h> which repo-copied a few
moments ago from src/sys/i386/include/mouse.h by peter.
This is also the appropriate fix for exo-tree sources.

Put warnings in <machine/mouse.h> to discourage use.
November 15th 2000 the warnings will be converted to errors.
January 15th 2001 the <machine/mouse.h> files will be removed.

23 years agoA couple of negative options was not commented out in NOTES/LINT. This
Poul-Henning Kamp [Mon, 9 Oct 2000 07:29:41 +0000 (07:29 +0000)]
A couple of negative options was not commented out in NOTES/LINT.  This
obscured a #include bug in syscons.

23 years agoString buffer safety cleanup. I don't think any of these were exploitable
Kris Kennaway [Mon, 9 Oct 2000 06:08:00 +0000 (06:08 +0000)]
String buffer safety cleanup. I don't think any of these were exploitable
remotely, but they would be if e.g. it happened to call the logging
function using a DNS hostname.

Also replace random() by arc4random() - only one of these is arguably
required since it's directly used in the protocol, but we might as
well replace both to avoid using two different PRNGs.

Reviewed by: green, alex

23 years agoDon't overflow in command-line args
Kris Kennaway [Mon, 9 Oct 2000 05:44:39 +0000 (05:44 +0000)]
Don't overflow in command-line args

Submitted by: Mike Heffner <mheffner@vt.edu>

23 years agoUnremoved used include of <machine/ipl.h>. Removing it in rev.1.95
Bruce Evans [Mon, 9 Oct 2000 05:39:03 +0000 (05:39 +0000)]
Unremoved used include of <machine/ipl.h>.  Removing it in rev.1.95
significantly pessimized syscalls by arranging to do null rescheduling
on return from every syscall.  (AST_RESCHED was not defined, and the
mask ~AST_RESCHED gets replaced by the useless mask ~0.  This bug has
been fixed before, in rev.1.92.)

23 years agoAdd :L and :U variable modifiers. These convert the variable's value to
Will Andrews [Mon, 9 Oct 2000 04:53:36 +0000 (04:53 +0000)]
Add :L and :U variable modifiers.  These convert the variable's value to
all-lower or all-upper case characters, respectively.  These were added
to further reduce differences between NetBSD/OpenBSD and FreeBSD make(1)
to propagate OpenPackages.

PR: 19959
Submitted by: Gaspar Chilingarav <nm@web.am>

23 years agoAdd :C/// variable modifier, which is similar to :S/// in functionality
Will Andrews [Mon, 9 Oct 2000 04:31:43 +0000 (04:31 +0000)]
Add :C/// variable modifier, which is similar to :S/// in functionality
but allows for regex.  I removed NO_REGEX since no one could give a reason
to have it, and since we don't use make in bootstrap tools, it's not needed.

This is mostly added to synch up with NetBSD/OpenBSD so as to eliminate
roadblocks in the OpenPackages project (see http://www.openpackages.org/).
It's also quite useful, and costs us only about 3 kilobytes of space.

PR: 21605
Submitted by: Hubert Feyrer <hubertf@NetBSD.org>
Reviewed by: silence on -arch
Obtained from: NetBSD

23 years agorm miniperl && cd /usr/ports && cvs update -PAd now recommended
Warner Losh [Mon, 9 Oct 2000 03:56:39 +0000 (03:56 +0000)]
rm miniperl && cd /usr/ports && cvs update -PAd now recommended

23 years agoo Record the pccard_function in the ivar.
Warner Losh [Mon, 9 Oct 2000 03:40:15 +0000 (03:40 +0000)]
o Record the pccard_function in the ivar.
o Use a macro function to get the ivar for the child rather than the casting
  directly.  This should be a little safer and easier to read.

23 years agoClean up error recovery code:
Justin T. Gibbs [Mon, 9 Oct 2000 01:46:01 +0000 (01:46 +0000)]
Clean up error recovery code:

aic7xxx.c:
In target mode, reset the TQINPOS on every restart of the sequencer.
In the past we did this only during a bus reset, but there are other
reasons the sequencer might be reset.

In ahc_clear_critical_section(), disable pausing chip interrupts while
we step the sequencer out of a critical section.  This avoids the
possibility of getting a pausing interrupt (unexpected bus free,
bus reset, etc.) that would prevent the sequencer from stepping.

Send the correct async notifications in the case of a BDR or bus reset.

In ahc_loadseq(), correct the calculation of our critical sections.
In some cases, the sections would be larger than needed.

aic7xxx.h:
Remove an unused SCB flag.

aic7xxx.seq:
MK_MESSAGE is cleared by the kernel, there is no need to waste
a sequencer instruction clearing it.

aic7xxx_freebsd.c:
Go through the host message loop instead of issuing a single
byte message directly in the ahc_timeout() case where we
are currently on the bus to the device.  The effect is the same,
but this way we get a nice printf saying that an expected BDR
was delivered instead of an unexpected bus free.

If we are requeuing an SCB for an error recovery action, be sure
to set the DISCONNECTED flag in the in-core version of the SCB.
This ensures that, in the SCB-paging case, the sequencer will
still recognize the reselection as valid even if the version
of the SCB with this flag set was never previously paged out
to system memory.  In the non-paging case, set the MK_MESSAGE
flag in SCB_CONTROL directly.

aic7xxx_pci.c:
Enable the Memeory Write and Invalidate bug workaround for
all aic7880 chips with revs < 1.  This bug is rarely triggered
in FreeBSD as most transfers end on cache-aligned boundaries,
but a recheck of my references indicates that these chips
are affected.

23 years agoOnly attach "legacy" PCI busses if none have been attached via any other
Mike Smith [Mon, 9 Oct 2000 00:44:41 +0000 (00:44 +0000)]
Only attach "legacy" PCI busses if none have been attached via any other
method.

23 years agoValidate the PCI bus number that we fetch from our parent, since there's no
Mike Smith [Mon, 9 Oct 2000 00:43:45 +0000 (00:43 +0000)]
Validate the PCI bus number that we fetch from our parent, since there's no
guarantee that everything attached to *it* is a PCI bus.

23 years agoChange the way that eventhandler lists are processed so that an event
Mike Smith [Mon, 9 Oct 2000 00:41:29 +0000 (00:41 +0000)]
Change the way that eventhandler lists are processed so that an event
handler can safely remove itself from a list while being run.

(Note that it is not safe to remove anything else from the same list,
 as this may still cause corruption in the case where the removed
 item is next on the list.)

23 years agoResolve the inconsistency between "the number of resources of a particular
Mike Smith [Mon, 9 Oct 2000 00:40:17 +0000 (00:40 +0000)]
Resolve the inconsistency between "the number of resources of a particular
kind we can manage in a set of configurations" and "the number of resources
of a particular kind that can be programmed into an ISA PnP adapter".

Submitted by: Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
Submitted by: Hirokazu WATANABE <gwna@geocities.co.jp>

23 years agoInitiate deorbit burn sequence for <machine/console.h>.
Poul-Henning Kamp [Sun, 8 Oct 2000 21:34:00 +0000 (21:34 +0000)]
Initiate deorbit burn sequence for <machine/console.h>.

Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>.
This is also the appropriate fix for exo-tree sources.

Put warnings in <machine/console.h> to discourage use.
November 15th 2000 the warnings will be converted to errors.
January 15th 2001 the <machine/console.h> files will be removed.

23 years agoAdd HP PhotoSmart C500 id.
Nick Hibma [Sun, 8 Oct 2000 21:31:39 +0000 (21:31 +0000)]
Add HP PhotoSmart C500 id.

PR: kern/21841
Submitted by: josh@zipperup.org

23 years agoAdd copyright notices. Other systems have been barrowing our /etc files
David E. O'Brien [Sun, 8 Oct 2000 19:20:36 +0000 (19:20 +0000)]
Add copyright notices.  Other systems have been barrowing our /etc files
w/o giving any credit.

23 years agoUse <space> not <tab> before VCS ID.
David E. O'Brien [Sun, 8 Oct 2000 19:15:49 +0000 (19:15 +0000)]
Use <space> not <tab> before VCS ID.

23 years agoDuh, it is mtree(8) that creates boot/kernel for us as refered to in
David E. O'Brien [Sun, 8 Oct 2000 18:45:01 +0000 (18:45 +0000)]
Duh, it is mtree(8) that creates boot/kernel for us as refered to in
rev 1.572.  Of course if you are manually running the various Makefile
targets, it may or may not get run.

23 years agoDon't install manpages.
David E. O'Brien [Sun, 8 Oct 2000 16:56:04 +0000 (16:56 +0000)]
Don't install manpages.
They are being moved elsewhere, and they are causing problems being here.

23 years agoUnbreak detection of breakage in cy driver.
Bruce Evans [Sun, 8 Oct 2000 14:46:04 +0000 (14:46 +0000)]
Unbreak detection of breakage in cy driver.

23 years agoMade this file compile again after move of stuff from <machine.ipl.h>
Bruce Evans [Sun, 8 Oct 2000 14:41:13 +0000 (14:41 +0000)]
Made this file compile again after move of stuff from <machine.ipl.h>
to <sys/ipl.h>.

23 years agoUse schedsofttty() again (SMPng casualty with intentionally wrong fix
Bruce Evans [Sun, 8 Oct 2000 14:37:39 +0000 (14:37 +0000)]
Use schedsofttty() again (SMPng casualty with intentionally wrong fix
in rev.1.101).

Made this file compile again after move of stuff from <machine.ipl.h>
to <sys/ipl.h>.

23 years agoUse schedsofttty() again so that siopoll() gets scheduled as designed
Bruce Evans [Sun, 8 Oct 2000 14:13:31 +0000 (14:13 +0000)]
Use schedsofttty() again so that siopoll() gets scheduled as designed
(SMPng casualty in rev.1.308 with wrong fix in rev.1.310).

23 years agoKASSERT that mbuf external reference counts are > 0 before we remove
David Malone [Sun, 8 Oct 2000 09:52:50 +0000 (09:52 +0000)]
KASSERT that mbuf external reference counts are > 0 before we remove
a reference. (Agreed to by Bosko some time ago).

23 years agoFixed printf format errors which corrupted /var/db/mounttab on i386's with
Bruce Evans [Sun, 8 Oct 2000 09:24:45 +0000 (09:24 +0000)]
Fixed printf format errors which corrupted /var/db/mounttab on i386's with
64-bit longs (don't assume that time_t is long; assume that time_t's are
representable as longs).

23 years agoUse the correct timestamp for the -C -p case when the comparison fails.
Bruce Evans [Sun, 8 Oct 2000 09:17:56 +0000 (09:17 +0000)]
Use the correct timestamp for the -C -p case when the comparison fails.
A garbage timestamp was used for at least installing /dev/null with -C -p
when the target doesn't already exist.

23 years agoEnable use of poll()
Kris Kennaway [Sun, 8 Oct 2000 09:09:05 +0000 (09:09 +0000)]
Enable use of poll()

23 years agoDon't overflow our fd_set. This is not a full sync with KAME because there
Kris Kennaway [Sun, 8 Oct 2000 08:02:35 +0000 (08:02 +0000)]
Don't overflow our fd_set. This is not a full sync with KAME because there
are a whole lot of other changes which may not be suitable for us.

Obtained from: KAME

23 years agoDon't write past the end of our fd_set
Kris Kennaway [Sun, 8 Oct 2000 07:58:32 +0000 (07:58 +0000)]
Don't write past the end of our fd_set

Obtained from: OpenBSD, via KAME

23 years agoFormat string paranoia.
Kris Kennaway [Sun, 8 Oct 2000 07:54:43 +0000 (07:54 +0000)]
Format string paranoia.

23 years agoSync with KAME. Don't write past the end of the fd_set.
Kris Kennaway [Sun, 8 Oct 2000 07:52:08 +0000 (07:52 +0000)]
Sync with KAME. Don't write past the end of the fd_set.

Obtained from: KAME

23 years agoSync with KAME. Format string auditing and manpage cleanups.
Kris Kennaway [Sun, 8 Oct 2000 07:43:38 +0000 (07:43 +0000)]
Sync with KAME. Format string auditing and manpage cleanups.

Obtained from: KAME
Submitted by: Bill Sommerfeld <sommerfeld@netbsd.org>

23 years agoadd COREGA FEther PCC-TXF
MIHIRA Sanpei Yoshiro [Sun, 8 Oct 2000 07:42:52 +0000 (07:42 +0000)]
add COREGA FEther PCC-TXF
(MITA Yoshio <mita@ee.t.u-tokyo.ac.jp> in [bsd-nomads:14572])

23 years agoSync with KAME. Format string auditing and manpage cleanups.
Kris Kennaway [Sun, 8 Oct 2000 07:36:35 +0000 (07:36 +0000)]
Sync with KAME. Format string auditing and manpage cleanups.

Obtained from: KAME
Submitted by: Bill Sommerfeld <sommerfeld@netbsd.org>

23 years agoFormat string paranoia.
Kris Kennaway [Sun, 8 Oct 2000 04:33:21 +0000 (04:33 +0000)]
Format string paranoia.

23 years agoCleanup comment in machine/param.h regarding mbuf-related sizes, and get rid
Bosko Milekic [Sun, 8 Oct 2000 03:52:27 +0000 (03:52 +0000)]
Cleanup comment in machine/param.h regarding mbuf-related sizes, and get rid
of MCLOFSET, which does not appear to be used anywhere anymore, and if it is,
it probably shouldn't be.

23 years agoCorrect corruption of the qinfifo in ahc_search_qinififo() for all
Justin T. Gibbs [Sun, 8 Oct 2000 03:37:52 +0000 (03:37 +0000)]
Correct corruption of the qinfifo in ahc_search_qinififo() for all
non-LVD controllers.  We only need to take special action on the qinfifo
if we have dectected the case of an SCB that has been removed from the
qinfifo but has not been fully DMAed to the controller.  A missing
conditional caused this code to be executed every time an SCB was
aborted from the queue

Don't attempt to print the path of an SCB that has been freed.

Clean up the traversal of the pending scb list in
ahc_update_pending_syncrates().  This has no functional change.

Correct ahc_timeout()'s requeing of a timedout SCB to effect a
recovery action.  We now use ahc_qinfifo_requeue() and a
new function ahc_qinfifo_count() instead of performing the
requeue inline.  The old code did not conform to the new qinfifo
method.

Clear the timedout SCB from the disconnected list.  This ensures
that the SCB_NEXT field is free to be used for queuing us to
the qinfifo.

23 years agoConform to BDECFLAGS
Bill Fumerola [Sun, 8 Oct 2000 03:24:30 +0000 (03:24 +0000)]
Conform to BDECFLAGS

23 years agoRemove headers not needed.
Alfred Perlstein [Sat, 7 Oct 2000 23:15:17 +0000 (23:15 +0000)]
Remove headers not needed.

Pointed out by: phk

23 years agoForgot to remove the directory from mtree for the obsolete sendmail
Gregory Neil Shapiro [Sat, 7 Oct 2000 22:46:42 +0000 (22:46 +0000)]
Forgot to remove the directory from mtree for the obsolete sendmail
documentation.

23 years agoremove unused #include.
Poul-Henning Kamp [Sat, 7 Oct 2000 19:38:31 +0000 (19:38 +0000)]
remove unused #include.

23 years agoGive the post-fix example a better description.
Alexander Langer [Sat, 7 Oct 2000 14:34:26 +0000 (14:34 +0000)]
Give the post-fix example a better description.

PR: 21646
Submitted by: "Peter Pentchev" <roam@orbitel.bg>

23 years agoDocument the fact that sockstat now lists Unix domain sockets, and the new
Dag-Erling Smørgrav [Sat, 7 Oct 2000 14:11:43 +0000 (14:11 +0000)]
Document the fact that sockstat now lists Unix domain sockets, and the new
command-line options for selecting what to display.

23 years agoTotal rewrite. This was actually the first non-trivial Perl script I ever
Dag-Erling Smørgrav [Sat, 7 Oct 2000 14:10:37 +0000 (14:10 +0000)]
Total rewrite. This was actually the first non-trivial Perl script I ever
wrote, and as such was not very pretty.

Changes that may cause problems for people who use sockstat in scripts:

 - sockstat(8) now displays Unix domain sockets in addition to IPv4 and IPv6
 - the last period in local and foreign addresses is changed to a colon to
   make the port number easier to spot
 - IPv4 and IPv6 sockets are listed separately (IPv4 first, then IPv6, then
   Unix)

23 years agoRegen.
Nick Hibma [Sat, 7 Oct 2000 11:11:12 +0000 (11:11 +0000)]
Regen.

23 years agoSync with NetBSD. More ids, more!
Nick Hibma [Sat, 7 Oct 2000 11:10:53 +0000 (11:10 +0000)]
Sync with NetBSD. More ids, more!

23 years agoRegen.
Nick Hibma [Sat, 7 Oct 2000 11:02:25 +0000 (11:02 +0000)]
Regen.

23 years agoZyxel keyboard Id
Nick Hibma [Sat, 7 Oct 2000 11:01:54 +0000 (11:01 +0000)]
Zyxel keyboard Id

23 years agoCy driver doesn't compile and nobody seems to care.
Poul-Henning Kamp [Sat, 7 Oct 2000 10:07:36 +0000 (10:07 +0000)]
Cy driver doesn't compile and nobody seems to care.

23 years agoCaught up with the changes in interruption stuff.
KATO Takenori [Sat, 7 Oct 2000 06:01:38 +0000 (06:01 +0000)]
Caught up with the changes in interruption stuff.

23 years agoSeems ${RD}/trees/bin/boot/kernel can exist before the `release.6:' target
David E. O'Brien [Sat, 7 Oct 2000 05:52:41 +0000 (05:52 +0000)]
Seems ${RD}/trees/bin/boot/kernel can exist before the `release.6:' target
runs.  So perform a copy that take that into account.

23 years agoo Implement get_ivars so matching routines will work (this causes
Warner Losh [Sat, 7 Oct 2000 05:48:51 +0000 (05:48 +0000)]
o Implement get_ivars so matching routines will work (this causes
  compat probe routines to work).
o Have a null driver_added routines.  We need to be careful about probing
  until after we know we have a card.  For the moment, we do nothing
  (which is safe).  This fixes a panic when a driver is loaded w/o a
  card in the slot.

XXX still need to fix the resource list code.  It is totally busted and
XXX causes a panic in the child printing routine after the probe has
XXX succeeded.

23 years agoFix arguments to kthread_create (submitted by takawata@freebsd.org).
Warner Losh [Sat, 7 Oct 2000 05:42:43 +0000 (05:42 +0000)]
Fix arguments to kthread_create (submitted by takawata@freebsd.org).
Remove unnecessary includes

23 years agoSync with KAME. Format string auditing, and add -a flag to autoprobe
Kris Kennaway [Fri, 6 Oct 2000 23:46:52 +0000 (23:46 +0000)]
Sync with KAME. Format string auditing, and add -a flag to autoprobe
interfaces.

Obtained from: KAME

23 years agoMore complete fix for multi-link sequence number handling bugs.
Archie Cobbs [Fri, 6 Oct 2000 23:42:02 +0000 (23:42 +0000)]
More complete fix for multi-link sequence number handling bugs.
Add a new control message for querying the sequence number state.

23 years agoIndex: Makefile
Brian Somers [Fri, 6 Oct 2000 23:29:11 +0000 (23:29 +0000)]
Index: Makefile
===================================================================
RCS file: /home/ncvs/src/share/man/man9/Makefile,v
retrieving revision 1.75
diff -u -r1.75 Makefile
--- Makefile 2000/09/17 12:15:12 1.75
+++ Makefile 2000/10/06 23:24:26
@@ -69,6 +69,8 @@
 MLINKS+=make_dev.9 destroy_dev.9
 MLINKS+=malloc.9 FREE.9 malloc.9 MALLOC.9 malloc.9 free.9
 MLINKS+=mi_switch.9 cpu_switch.9
+MLINKS+=namei.9 NDINIT.9
+MLINKS+=namei.9 NDFREE.9
 MLINKS+=posix4.9 p1003_1b.9
 MLINKS+=psignal.9 gsignal.9 psignal.9 pgsignal.9
 MLINKS+=rtalloc.9 rtalloc1.9 rtalloc.9 rtalloc_ign.9

23 years agoFormat string fix.
Kris Kennaway [Fri, 6 Oct 2000 23:24:45 +0000 (23:24 +0000)]
Format string fix.

23 years agoWhen leaving suspend mode after enabling/disabling the promisc mode bit,
Bill Paul [Fri, 6 Oct 2000 22:54:41 +0000 (22:54 +0000)]
When leaving suspend mode after enabling/disabling the promisc mode bit,
make sure the chip is restarted by issuing a start command to the command
register. Sometimes the receiver doesn't restart after leaving suspend
mode.

23 years agoArgh. Fix typo and sync to alpha/RELNOTES.TXT.
Bruce A. Mah [Fri, 6 Oct 2000 22:15:06 +0000 (22:15 +0000)]
Argh.  Fix typo and sync to alpha/RELNOTES.TXT.

Must remember to save changes to a file *before* a cvs commit,
not after.

23 years agoNote string-handling library calls fixed, stronger randomness in TCP
Bruce A. Mah [Fri, 6 Oct 2000 22:07:09 +0000 (22:07 +0000)]
Note string-handling library calls fixed, stronger randomness in TCP
initial sequence numbers.

23 years agoFix bug in handling of multi-link sequence numbers.
Archie Cobbs [Fri, 6 Oct 2000 20:36:17 +0000 (20:36 +0000)]
Fix bug in handling of multi-link sequence numbers.

Reported by: Becca Anderson <becca@worldint.com>

23 years ago.Os FreeBSD instead of just plain .Os
Archie Cobbs [Fri, 6 Oct 2000 19:47:00 +0000 (19:47 +0000)]
.Os FreeBSD instead of just plain .Os

Submitted by: ru

23 years ago* I don't think that ed-devices are still "high performance ethernet ...
Alexander Langer [Fri, 6 Oct 2000 19:44:09 +0000 (19:44 +0000)]
* I don't think that ed-devices are still "high performance ethernet              device"s.  Change that to "ethernet device".

* Update synopsis for the new config-style: just "device ed".

* PCI and PC Card devices are also supported.

23 years agoFix single character typo in legacy transfer settings function
Justin T. Gibbs [Fri, 6 Oct 2000 19:34:40 +0000 (19:34 +0000)]
Fix single character typo in legacy transfer settings function
thereby re-enable tagged queuing.

23 years agoNote security profiles added to sysinstall(8).
Bruce A. Mah [Fri, 6 Oct 2000 18:17:03 +0000 (18:17 +0000)]
Note security profiles added to sysinstall(8).
Add $FreeBSD$.

23 years agoFix typo: kereros -> kerberos
Alexander Langer [Fri, 6 Oct 2000 17:36:05 +0000 (17:36 +0000)]
Fix typo:  kereros -> kerberos

PR: 21468
Submitted by: "Giorgos Keramidas" <keramida@westgate.gr>

23 years agoMake it compile without -DNO_PAM again.
Ruslan Ermilov [Fri, 6 Oct 2000 17:08:31 +0000 (17:08 +0000)]
Make it compile without -DNO_PAM again.

23 years agoArgh, make P_ALRMPEND and P_PROFPEND be different flags.
John Baldwin [Fri, 6 Oct 2000 16:17:12 +0000 (16:17 +0000)]
Argh, make P_ALRMPEND and P_PROFPEND be different flags.

Submitted by: bde
Pointy hat to: jhb

23 years agoo Move initialization of ump from mp to the top of the function so that
Robert Watson [Fri, 6 Oct 2000 15:31:28 +0000 (15:31 +0000)]
o Move initialization of ump from mp to the top of the function so that
  it is defined whenm used in ufs_extattr_uepm_destroy(), fixing a panic
  due to a NULL pointer dereference.

Submitted by: Wesley Morgan <morganw@chemicals.tacorp.com>

23 years agoEnable the if_ed module.
Alexander Langer [Fri, 6 Oct 2000 15:23:32 +0000 (15:23 +0000)]
Enable the if_ed module.

23 years agoAdd card_if.h and sort the header files, while I'm here.
Alexander Langer [Fri, 6 Oct 2000 15:21:10 +0000 (15:21 +0000)]
Add card_if.h and sort the header files, while I'm here.

23 years agoFix the `missing footer' problem. See the comment for details.
Ruslan Ermilov [Fri, 6 Oct 2000 13:22:24 +0000 (13:22 +0000)]
Fix the `missing footer' problem.  See the comment for details.

Obtained from: NetBSD

23 years agoIf a process is over its resource limit for datasize, still allow
David Malone [Fri, 6 Oct 2000 13:03:50 +0000 (13:03 +0000)]
If a process is over its resource limit for datasize, still allow
it to lower its memory usage. This was mentioned on the mailing
lists ages ago, and I've lost the name of the person who brought
it up.

Reviewed by: alc

23 years agoDon't try to compare other attributes if the type doesn't match, it's
Poul-Henning Kamp [Fri, 6 Oct 2000 12:48:55 +0000 (12:48 +0000)]
Don't try to compare other attributes if the type doesn't match, it's
nothing but trouble, and no use anyway.

23 years agoDon't whine about modes on symlinks.
Poul-Henning Kamp [Fri, 6 Oct 2000 12:27:36 +0000 (12:27 +0000)]
Don't whine about modes on symlinks.

23 years agoThis brings support for IP Filter into rc.network and rc.conf with
Darren Reed [Fri, 6 Oct 2000 12:24:45 +0000 (12:24 +0000)]
This brings support for IP Filter into rc.network and rc.conf with
the appropriate documentation added to rc.conf(5).  If all goes well
with this over the next few weeks, the PR will be closed with the
pullup of patches back to 4-STABLE.

PR: 20202
Submitted by: Gerhard Sittig <Gerhard.Sittig@gmx.net>
Reviewed by: Darren Reed <darrenr@freebsd.org>
Approved by: Darren Reed <darrenr@freebsd.org>
Obtained from: Gerhard Sittig <Gerhard.Sittig@gmx.net>

23 years agoAs we now may check the TCP header window field, make sure we pullup
Ruslan Ermilov [Fri, 6 Oct 2000 12:12:09 +0000 (12:12 +0000)]
As we now may check the TCP header window field, make sure we pullup
enough into the mbuf data area.  Solve this problem once and for all
by pulling up the entire (standard) header for TCP and UDP, and four
bytes of header for ICMP (enough for type, code and cksum fields).