]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
24 years agoFix security botch in "UseLogin Yes" case: commands are executed with
Kris Kennaway [Sat, 10 Jun 2000 22:32:57 +0000 (22:32 +0000)]
Fix security botch in "UseLogin Yes" case: commands are executed with
uid 0.

Obtained from: OpenBSD

24 years agoThis commit was generated by cvs2svn to compensate for changes in r61524,
David E. O'Brien [Sat, 10 Jun 2000 22:20:53 +0000 (22:20 +0000)]
This commit was generated by cvs2svn to compensate for changes in r61524,
which included commits to RCS files with non-trunk default branches.

24 years agoOffical fixes to allow longer lines in the history and tweak expand_lex()
David E. O'Brien [Sat, 10 Jun 2000 22:20:53 +0000 (22:20 +0000)]
Offical fixes to allow longer lines in the history and tweak expand_lex()
useage.

24 years agoA checkpoint of a part of a work-in-progress. Some more cleanups for
Peter Wemm [Sat, 10 Jun 2000 22:13:40 +0000 (22:13 +0000)]
A checkpoint of a part of a work-in-progress.  Some more cleanups for
config(8).  This commit allows control of the creation of the
#include "foo.h" files.  We now only create them explicitly when needed.
BTW; these are mostly bad because they usually imply static limits on
numbers of units for devices.  eg: struct mysoftc sc[NFOO];
These static limits have Got To Go.

24 years agoOffical fixes to quiet compiler warnings.
David E. O'Brien [Sat, 10 Jun 2000 22:07:54 +0000 (22:07 +0000)]
Offical fixes to quiet compiler warnings.

24 years agoThis commit was generated by cvs2svn to compensate for changes in r61521,
David E. O'Brien [Sat, 10 Jun 2000 22:07:54 +0000 (22:07 +0000)]
This commit was generated by cvs2svn to compensate for changes in r61521,
which included commits to RCS files with non-trunk default branches.

24 years agoOffical fixes to the history and I18N bugs ache found.
David E. O'Brien [Sat, 10 Jun 2000 21:38:51 +0000 (21:38 +0000)]
Offical fixes to the history and I18N bugs ache found.

24 years agoThis commit was generated by cvs2svn to compensate for changes in r61519,
David E. O'Brien [Sat, 10 Jun 2000 21:38:51 +0000 (21:38 +0000)]
This commit was generated by cvs2svn to compensate for changes in r61519,
which included commits to RCS files with non-trunk default branches.

24 years agoRemoved a few RAY_MAP_CMs that were not needed.
Duncan Barclay [Sat, 10 Jun 2000 21:24:36 +0000 (21:24 +0000)]
Removed a few RAY_MAP_CMs that were not needed.

Made checking sc->gone a lot safer by checking to see if sc is NULL first.

Made return from tsleep in the ccs allocator detach safe.

24 years agoIt is not necessary to wrap usage of $f28 with ".set noat/at" pairs.
David E. O'Brien [Sat, 10 Jun 2000 20:42:27 +0000 (20:42 +0000)]
It is not necessary to wrap usage of $f28 with ".set noat/at" pairs.
A very bogus gas warning gave people the impression it was.  noat/at had
no useful affect here.

24 years agoOffical fixes to the history and I18N bugs ache found.
David E. O'Brien [Sat, 10 Jun 2000 20:14:21 +0000 (20:14 +0000)]
Offical fixes to the history and I18N bugs ache found.

24 years agoThis commit was generated by cvs2svn to compensate for changes in r61515,
David E. O'Brien [Sat, 10 Jun 2000 20:14:21 +0000 (20:14 +0000)]
This commit was generated by cvs2svn to compensate for changes in r61515,
which included commits to RCS files with non-trunk default branches.

24 years agoHandle minors like ls(1) does it.
Poul-Henning Kamp [Sat, 10 Jun 2000 19:55:39 +0000 (19:55 +0000)]
Handle minors like ls(1) does it.

PR: 19179
Submitted by: Kelly Yancey <kbyanc@posi.net>

24 years agoAdd an autologin example.
Poul-Henning Kamp [Sat, 10 Jun 2000 19:49:16 +0000 (19:49 +0000)]
Add an autologin example.

PR: 18082
Submitted by: C. Stephen Gunn <csg@dustdevil.waterspout.com>

24 years agoAvoid useless check against NULL, since we assign the checked value
Alexander Langer [Sat, 10 Jun 2000 19:48:19 +0000 (19:48 +0000)]
Avoid useless check against NULL, since we assign the checked value
to the var anyways.

Reviewed by: bde

24 years agoUpdate hardware and release-note blurb about AMI and Mylex RAID
Mike Smith [Sat, 10 Jun 2000 19:41:34 +0000 (19:41 +0000)]
Update hardware and release-note blurb about AMI and Mylex RAID
controllers.  Add extra verbiage to try to clarify some of the more
frequently asked questions.

24 years agoThe AMI MegaRAID's internal memory map conflicts with scatter/gather
Mike Smith [Sat, 10 Jun 2000 19:22:39 +0000 (19:22 +0000)]
The AMI MegaRAID's internal memory map conflicts with scatter/gather
map physical addresses below 0x2000 (accoding to AMI).  If we
allocate our s/g tables and get an address below this point, leak the
memory and try again.

This should fix booting from these controllers.

24 years agofix a typo
Poul-Henning Kamp [Sat, 10 Jun 2000 19:21:20 +0000 (19:21 +0000)]
fix a typo

24 years agoAdd KASSERT() to mbuf free routines in order to allow developers to
Jonathan Lemon [Sat, 10 Jun 2000 18:00:27 +0000 (18:00 +0000)]
Add KASSERT() to mbuf free routines in order to allow developers to
catch cases where the mbuf has already been freed.
Submitted by: David Malone <dwmalone@maths.tcd.ie>
PR: kern/18471

24 years agoCheck for MGET* returning NULL and return ENOBUFS in this case.
Jonathan Lemon [Sat, 10 Jun 2000 17:55:57 +0000 (17:55 +0000)]
Check for MGET* returning NULL and return ENOBUFS in this case.
Submitted by: Bosko Milekic <bmilekic@technokratis.com>

24 years agoRelease resources properly in detach.
Doug Rabson [Sat, 10 Jun 2000 17:53:20 +0000 (17:53 +0000)]
Release resources properly in detach.

24 years agoFix the AMD 751 AGP minidriver so that it works with my test code.
Doug Rabson [Sat, 10 Jun 2000 17:44:53 +0000 (17:44 +0000)]
Fix the AMD 751 AGP minidriver so that it works with my test code.

24 years agoIncrement __FreeBSD_version to allow detection of AGP interfaces.
Doug Rabson [Sat, 10 Jun 2000 16:53:54 +0000 (16:53 +0000)]
Increment __FreeBSD_version to allow detection of AGP interfaces.

24 years ago(1) document *_HEAD_INITIALIZER
Jake Burkholder [Sat, 10 Jun 2000 16:41:07 +0000 (16:41 +0000)]
(1) document *_HEAD_INITIALIZER
(2) fix a STAILQ_HEAD that should have been STAILQ_FIRST

Requested by: (1) bde
(2) W Gerald Hicks <jhix@mindspring.com>

24 years agoMake `ssh-agent -k' work for csh(1)-like shells.
Ruslan Ermilov [Sat, 10 Jun 2000 14:14:28 +0000 (14:14 +0000)]
Make `ssh-agent -k' work for csh(1)-like shells.

24 years agoDetail some more 3Com NICs which we support with ep nowadays.
Jeroen Ruigrok van der Werven [Sat, 10 Jun 2000 14:03:22 +0000 (14:03 +0000)]
Detail some more 3Com NICs which we support with ep nowadays.

Submitted by: alex

24 years agoSeperate debug for dumping comq entries.
Duncan Barclay [Sat, 10 Jun 2000 13:52:27 +0000 (13:52 +0000)]
Seperate debug for dumping comq entries.

24 years agoAdd macros for freeing a set of malloc runq entries and adding them to the
Duncan Barclay [Sat, 10 Jun 2000 13:52:06 +0000 (13:52 +0000)]
Add macros for freeing a set of malloc runq entries and adding them to the
runq queue, safely checking for ENXIO

24 years agoRemove promisc_user, ray_reset and ray_reset_timo as they are not used. Incidental...
Duncan Barclay [Sat, 10 Jun 2000 13:50:57 +0000 (13:50 +0000)]
Remove promisc_user, ray_reset and ray_reset_timo as they are not used. Incidental remove of a timer too. Remove the runq_abort code.

Get ray_detach working correctly. This is a very simple routine as it
just wakes up sleeping processes. Note that anything woken has NO softc
structure available! runq_add is suitably modified to detect a detach and
return straight away.

Due to ray_detach and its implications use a macro for adding things
to the runq in user land.

24 years agoActually detail which ATA controllers we support.
Jeroen Ruigrok van der Werven [Sat, 10 Jun 2000 13:41:52 +0000 (13:41 +0000)]
Actually detail which ATA controllers we support.

24 years agoFix alphabetical ordering of supported ATA-chipsets.
Jeroen Ruigrok van der Werven [Sat, 10 Jun 2000 13:38:40 +0000 (13:38 +0000)]
Fix alphabetical ordering of supported ATA-chipsets.

24 years agoUnused include: #include "sl.h" - NSL is no longer used.
Peter Wemm [Sat, 10 Jun 2000 11:21:30 +0000 (11:21 +0000)]
Unused include: #include "sl.h" - NSL is no longer used.

24 years agoUnused include: #include "pps.h"
Peter Wemm [Sat, 10 Jun 2000 11:14:19 +0000 (11:14 +0000)]
Unused include: #include "pps.h"

24 years agoUnused includes: #include "pci.h" and #include "lnc.h"
Peter Wemm [Sat, 10 Jun 2000 11:13:39 +0000 (11:13 +0000)]
Unused includes: #include "pci.h" and #include "lnc.h"

24 years agoUnused include: #include "ex.h"
Peter Wemm [Sat, 10 Jun 2000 11:09:03 +0000 (11:09 +0000)]
Unused include: #include "ex.h"

24 years agoUnused include: #include "bt.h"
Peter Wemm [Sat, 10 Jun 2000 11:08:34 +0000 (11:08 +0000)]
Unused include: #include "bt.h"

24 years agoUnused include: #include "ahc.h"
Peter Wemm [Sat, 10 Jun 2000 11:07:54 +0000 (11:07 +0000)]
Unused include: #include "ahc.h"

24 years agoUnused include: #include "aic.h"
Peter Wemm [Sat, 10 Jun 2000 11:06:51 +0000 (11:06 +0000)]
Unused include: #include "aic.h"

24 years agoUnused include: #include "adw.h"
Peter Wemm [Sat, 10 Jun 2000 11:06:16 +0000 (11:06 +0000)]
Unused include: #include "adw.h"

24 years agoUnused include: #include "fla.h"
Peter Wemm [Sat, 10 Jun 2000 11:05:17 +0000 (11:05 +0000)]
Unused include: #include "fla.h"

24 years agoNo-op change. Remove #if NVT > 0 in files that are 'optional vt' and
Peter Wemm [Sat, 10 Jun 2000 11:03:31 +0000 (11:03 +0000)]
No-op change. Remove #if NVT > 0 in files that are 'optional vt' and
therefore can never be compiled if NVT == 0. config(8) guarantees this.

24 years agoArgh. This is what I get for trying to do too many things at once.
Peter Wemm [Sat, 10 Jun 2000 10:32:43 +0000 (10:32 +0000)]
Argh.  This is what I get for trying to do too many things at once.
Revert last commit. sc.h/NSC is used.

24 years agoRemove XXX: Describe if_init().
Alexander Langer [Sat, 10 Jun 2000 10:23:06 +0000 (10:23 +0000)]
Remove XXX: Describe if_init().

Reviewed by: asmodai

24 years agoUntangle some #include between gusc.c/mss.c - gusc.c could create
Peter Wemm [Sat, 10 Jun 2000 07:20:54 +0000 (07:20 +0000)]
Untangle some #include between gusc.c/mss.c - gusc.c could create
an attachment node for something that may not have been compiled in.

24 years agoUnused include: #include "sbc.h"
Peter Wemm [Sat, 10 Jun 2000 07:17:29 +0000 (07:17 +0000)]
Unused include: #include "sbc.h"

24 years agoWe always provide the bpf hooks. Remove #include "bpf.h"/NBPF.
Peter Wemm [Sat, 10 Jun 2000 07:16:14 +0000 (07:16 +0000)]
We always provide the bpf hooks.  Remove #include "bpf.h"/NBPF.

24 years agoUnused includes: #include "pci.h", #include "pcm.h"
Peter Wemm [Sat, 10 Jun 2000 07:15:15 +0000 (07:15 +0000)]
Unused includes: #include "pci.h", #include "pcm.h"

24 years agoUnused include: #include "scbus.h"
Peter Wemm [Sat, 10 Jun 2000 07:14:10 +0000 (07:14 +0000)]
Unused include: #include "scbus.h"

24 years agoUnused include: #include "ether.h"
Peter Wemm [Sat, 10 Jun 2000 07:13:26 +0000 (07:13 +0000)]
Unused include: #include "ether.h"

24 years agoUnused include: #include "pty.h"
Peter Wemm [Sat, 10 Jun 2000 07:12:40 +0000 (07:12 +0000)]
Unused include: #include "pty.h"

24 years agoUnused include: #include "sc.h"
Peter Wemm [Sat, 10 Jun 2000 06:42:13 +0000 (06:42 +0000)]
Unused include: #include "sc.h"

24 years agoUnused include: #include "fb.h"
Peter Wemm [Sat, 10 Jun 2000 06:41:11 +0000 (06:41 +0000)]
Unused include: #include "fb.h"

24 years agoAdd ISP_COMPILE_12160_FW and ISP_COMPILE_12160_FW options to opt_isp.h
Peter Wemm [Sat, 10 Jun 2000 02:09:50 +0000 (02:09 +0000)]
Add ISP_COMPILE_12160_FW and ISP_COMPILE_12160_FW options to opt_isp.h

24 years agoAdd option BROKEN_KEYBOARD_RESET to an opt_*.h file
Peter Wemm [Sat, 10 Jun 2000 02:05:57 +0000 (02:05 +0000)]
Add option BROKEN_KEYBOARD_RESET to an opt_*.h file

24 years agomalloc(..., M_WAITOK) will not return NULL, so remove the error
Jonathan Lemon [Sat, 10 Jun 2000 01:51:18 +0000 (01:51 +0000)]
malloc(..., M_WAITOK) will not return NULL, so remove the error
handling for this case (which was slightly broken anyway)

Fix up some whitespace problems while I'm here too.

Submitted by:  alfred   (in a slightly different form)

24 years agoDocument flags 0x100 in syscons.4, and document syscons' flags in LINT.
John Baldwin [Fri, 9 Jun 2000 23:47:30 +0000 (23:47 +0000)]
Document flags 0x100 in syscons.4, and document syscons' flags in LINT.

Reviewed by: yokota, obrien

24 years agotaskqueue_swi is a pointer, not a struct. Fix a comment that misleadingly
Mike Smith [Fri, 9 Jun 2000 22:32:36 +0000 (22:32 +0000)]
taskqueue_swi is a pointer, not a struct.  Fix a comment that misleadingly
suggests you pass its address to taskqueue_enqueue, which leads to various
kinds of unpleasant mischief.

24 years agoForced commit: F_SETFL is used to clear O_NONBLOCK, not F_SETFD.
Guy Helmer [Fri, 9 Jun 2000 19:44:49 +0000 (19:44 +0000)]
Forced commit: F_SETFL is used to clear O_NONBLOCK, not F_SETFD.
The code was right, the comment in the PR was wrong.

24 years agoO_NONBLOCK was used as a command with a bogus arg to fcntl(2).
Guy Helmer [Fri, 9 Jun 2000 19:38:28 +0000 (19:38 +0000)]
O_NONBLOCK was used as a command with a bogus arg to fcntl(2).
Change it to F_SETFD with an arg of 0 to clear O_NONBLOCK.

PR: bin/8681
Submitted by: koyama takahiro <tah@d1.dion.ne.jp>
Prompted by: Nathan Ahlstrom <nrahlstr@winternet.com>

24 years agoNONBINMODE -> NOBINMODE for NLSMODE.
Guy Helmer [Fri, 9 Jun 2000 19:15:51 +0000 (19:15 +0000)]
NONBINMODE -> NOBINMODE for NLSMODE.

PR: bin/8811
Submitted by: Naohiko Tsuji <yakisoba@osaka.interq.or.jp>
Prompted by: Nathan Ahlstrom <nrahlstr@winternet.com>

24 years agoAdd QNX 4 partitions to fdisk's list.
Guy Helmer [Fri, 9 Jun 2000 19:10:09 +0000 (19:10 +0000)]
Add QNX 4 partitions to fdisk's list.

PR: bin/8809
Submitted by: "John C. Place" <jcplace@ibm.net>
Prompted by: <nrahlstr@winternet.com>

24 years agoDocument $clear_daily_*
Brian Somers [Fri, 9 Jun 2000 17:07:59 +0000 (17:07 +0000)]
Document $clear_daily_*

24 years agoAdd clear_daily_* variables
Brian Somers [Fri, 9 Jun 2000 17:07:15 +0000 (17:07 +0000)]
Add clear_daily_* variables

24 years agoUse $clear_daily_* from rc.conf to decide what should be deleted
Brian Somers [Fri, 9 Jun 2000 17:05:11 +0000 (17:05 +0000)]
Use $clear_daily_* from rc.conf to decide what should be deleted

Reviewed by: The silence of -committers

24 years agoDynamically allocate softc structures
Brian Somers [Fri, 9 Jun 2000 17:03:29 +0000 (17:03 +0000)]
Dynamically allocate softc structures

Reviewed by: Mark Knight <mkn@uk.FreeBSD.org>

24 years agoIncrease delay from 10mu to 1000mu when reading play control size. This
Dan Moschuk [Fri, 9 Jun 2000 16:44:30 +0000 (16:44 +0000)]
Increase delay from 10mu to 1000mu when reading play control size.  This
allows the YMF744 to initialize properly.

24 years agoAdd agp.
Doug Rabson [Fri, 9 Jun 2000 16:07:32 +0000 (16:07 +0000)]
Add agp.

24 years agoAdd module for agp driver.
Doug Rabson [Fri, 9 Jun 2000 16:07:04 +0000 (16:07 +0000)]
Add module for agp driver.

24 years agoAdd files for agp driver.
Doug Rabson [Fri, 9 Jun 2000 16:05:39 +0000 (16:05 +0000)]
Add files for agp driver.

24 years agoA driver for programming the AGP hardware. This is only very lightly
Doug Rabson [Fri, 9 Jun 2000 16:04:30 +0000 (16:04 +0000)]
A driver for programming the AGP hardware. This is only very lightly
tested on Intel BX chipsets only. The other agp minidrivers are totally
untested.

The programming api is a subset of the Linux api and is only intended to
be enough for the X server to use. There is also an in-kernel api for the
use of other kernel modules such as the 3D DRI.

24 years agoNuke the useless chip driver. It gets in the way when you want to load
Doug Rabson [Fri, 9 Jun 2000 16:00:29 +0000 (16:00 +0000)]
Nuke the useless chip driver. It gets in the way when you want to load
a functional driver for the device.

24 years agoClaim major 148 for agp.
Doug Rabson [Fri, 9 Jun 2000 15:48:01 +0000 (15:48 +0000)]
Claim major 148 for agp.

24 years agoSince many people use LINT as "supported hardware" list, add
Alexander Langer [Fri, 9 Jun 2000 13:09:50 +0000 (13:09 +0000)]
Since many people use LINT as "supported hardware" list, add
all supported cards to the description of the ep-driver.

Reviewed by: asmodai

24 years agoSet KERNEL=${INSTALLKERNEL} doing a make install in /sys/conf
Brian Somers [Fri, 9 Jun 2000 10:42:36 +0000 (10:42 +0000)]
Set KERNEL=${INSTALLKERNEL} doing a make install in /sys/conf

24 years agoAdd MLINK init.8 --> securelevel.8
Alexander Langer [Fri, 9 Jun 2000 09:40:34 +0000 (09:40 +0000)]
Add MLINK init.8 --> securelevel.8

Requested by: Brett Glass <brett@lariat.org>
PR: 13792
Submitted by: nik

24 years agoAdd blurbs about OpenSSL, OPIE and OpenSSH updates.
Kris Kennaway [Fri, 9 Jun 2000 08:19:44 +0000 (08:19 +0000)]
Add blurbs about OpenSSL, OPIE and OpenSSH updates.

24 years agoFix occurences of nos_tun to nos-tun, this improves internal
Jeroen Ruigrok van der Werven [Fri, 9 Jun 2000 06:45:18 +0000 (06:45 +0000)]
Fix occurences of nos_tun to nos-tun, this improves internal
consistency as well as an usage printout.

PR: 10538
Submitted by: piazza
Nudged by: nrahlstr

24 years ago(null commit)
Mike Smith [Fri, 9 Jun 2000 06:44:47 +0000 (06:44 +0000)]
(null commit)

Note that __FreeBSD_version >= 500005 can also be used to detect the presence
of the TASKQ interface.

24 years ago- Replace ``.Va (cap_t)NULL'' with ``.Dv NULL''
Chris Costello [Fri, 9 Jun 2000 02:01:27 +0000 (02:01 +0000)]
- Replace ``.Va (cap_t)NULL'' with ``.Dv NULL''
- Fix a typo: ``constrains'' -> ``constraints''

Reviewed by: rwatson

24 years ago- Replace
Chris Costello [Fri, 9 Jun 2000 01:59:48 +0000 (01:59 +0000)]
- Replace
   .Pp
   .Fn func
   .Pp
   Description ...
  with a list (Bl ... Li ... El).
- Remove a superfluous ``.Sh ENVIRONMENT'' and replace it with a ``.Pp''
  within the IMPLEMENTATION DETAILS section.

Reviewed by: rwatson

24 years agoForced commit: bus_alloc_resource.9 contains the para. by Warner Losh.
Alexander Langer [Thu, 8 Jun 2000 21:08:18 +0000 (21:08 +0000)]
Forced commit: bus_alloc_resource.9 contains the para. by Warner Losh.

24 years agoAdd bus_alloc_resource.9 and bus_release_resource.9.
Alexander Langer [Thu, 8 Jun 2000 21:00:12 +0000 (21:00 +0000)]
Add bus_alloc_resource.9 and bus_release_resource.9.
bus_release_resource.9 contains a paragraph obtained from a mail
by Warner Losh <imp@FreeBSD.org> to myself.

Reviewed by: asmodai, hoek;  in parts by msmith, mdodd and imp

24 years agoAllow ``set urgent none'' to disable all urgent ports and IPTOS_LOWDELAY
Brian Somers [Thu, 8 Jun 2000 20:07:48 +0000 (20:07 +0000)]
Allow ``set urgent none'' to disable all urgent ports and IPTOS_LOWDELAY
prioritisation.

Requested by: luigi

24 years ago- Use `bus space' primitives for IO and MMIO instead
Gerard Roudier [Thu, 8 Jun 2000 19:48:16 +0000 (19:48 +0000)]
- Use `bus space' primitives for IO and MMIO instead
  of IO/MMIO legacy methods.
- Prepare the driver for big endian CPU support.
- Clarify memory and IO barriers needed by the driver.

24 years agoAdd the ID of the InSystem USB Cable (not really supported yet).
Nick Hibma [Thu, 8 Jun 2000 19:27:21 +0000 (19:27 +0000)]
Add the ID of the InSystem USB Cable (not really supported yet).

24 years agoRegen.
Nick Hibma [Thu, 8 Jun 2000 19:26:35 +0000 (19:26 +0000)]
Regen.

24 years agoInSystem USB Cable (IDE adapter)
Nick Hibma [Thu, 8 Jun 2000 19:26:16 +0000 (19:26 +0000)]
InSystem USB Cable (IDE adapter)

Submitted by: "Sean O'Connell" <sean@stat.duke.edu>

24 years agoFix a couple of mdoc errors.
Garrett Wollman [Thu, 8 Jun 2000 18:31:53 +0000 (18:31 +0000)]
Fix a couple of mdoc errors.

24 years agoWhen dubiously reprogramming .SUFFIXES, don't screw up the order of .S
Bruce Evans [Thu, 8 Jun 2000 18:11:15 +0000 (18:11 +0000)]
When dubiously reprogramming .SUFFIXES, don't screw up the order of .S
relative to .s.  This fixes wrong sources being preferred after
"gcc -save-temps" creates .s files from .S files.

24 years agoAlways include the full symbol table (as specified by its start and
Bruce Evans [Thu, 8 Jun 2000 17:53:43 +0000 (17:53 +0000)]
Always include the full symbol table (as specified by its start and
end values in bootinfo) in kernel space if it is loaded (i.e., if its
specified end address is nonzero), not just if it is loaded and DDB
is configured.  This may be used to fix kldsym(2) for booting without
/dev/loader; currently, in this case, it just fixes unused pointers
and wastes space consistently.  For booting in the normal way with
/boot/loader, the table is included and pointed to in a different way
and kldsym(2) works.

24 years agoAdd tcpoptions to ipfw. This works much in the same way as ipoptions do.
Dan Moschuk [Thu, 8 Jun 2000 15:34:51 +0000 (15:34 +0000)]
Add tcpoptions to ipfw.  This works much in the same way as ipoptions do.
It also squashes 99% of packet kiddie synflood orgies.  For example, to
rate syn packets without MSS,

ipfw pipe 10 config 56Kbit/s queue 10Packets
ipfw add pipe 10 tcp from any to any in setup tcpoptions !mss

Submitted by:  Richard A. Steenbergen <ras@e-gerbil.net>

24 years agoDocument new dummynet functionality, namely WF2Q+ and RED
Luigi Rizzo [Thu, 8 Jun 2000 13:38:57 +0000 (13:38 +0000)]
Document new dummynet functionality, namely WF2Q+ and RED

24 years agoRemove \n I overlooked in a previous commit.
Jeroen Ruigrok van der Werven [Thu, 8 Jun 2000 13:29:41 +0000 (13:29 +0000)]
Remove \n I overlooked in a previous commit.

PR: 19111
Submitted by: R. Matthew Emerson <rme@nightfly.apk.net>

24 years agouserland side of WF2Q+ support in dummynet.
Luigi Rizzo [Thu, 8 Jun 2000 10:08:39 +0000 (10:08 +0000)]
userland side of WF2Q+ support in dummynet.
Manpage coming later...

24 years agoImplement WF2Q+ in dummynet.
Luigi Rizzo [Thu, 8 Jun 2000 09:45:23 +0000 (09:45 +0000)]
Implement WF2Q+ in dummynet.

24 years agoAdd some comments and wrap the dial line nicely
Brian Somers [Thu, 8 Jun 2000 08:58:03 +0000 (08:58 +0000)]
Add some comments and wrap the dial line nicely

24 years agoDon't attempt to rm directories under /var/spool/lock.
Brian Somers [Thu, 8 Jun 2000 08:57:35 +0000 (08:57 +0000)]
Don't attempt to rm directories under /var/spool/lock.

24 years agoClean /tmp and /var/tmp if $clear_tmp_enable is set to YES in rc.conf
Brian Somers [Thu, 8 Jun 2000 08:48:15 +0000 (08:48 +0000)]
Clean /tmp and /var/tmp if $clear_tmp_enable is set to YES in rc.conf
Clean /compat/linux/tmp if $linux_enable is also set to YES in rc.conf

24 years agoClarify which bit of the daemon config disables configuration saves.
Greg Lehey [Thu, 8 Jun 2000 07:27:35 +0000 (07:27 +0000)]
Clarify which bit of the daemon config disables configuration saves.

This is still terrible.  I need to finally implement variables.

Reported-by: jmg

24 years agoPrevent a non-exploitable remote buffer overflow.
Kris Kennaway [Thu, 8 Jun 2000 03:54:45 +0000 (03:54 +0000)]
Prevent a non-exploitable remote buffer overflow.

Reported by: twitch <twitch@vicar.org>
Submitted by: Guido van Rooij <guido@gvr.org>
Reviewed by: security-officer