Commit graph

49231 commits

Author SHA1 Message Date
Jonathan Lemon d36cb22369 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)
2000-06-10 01:51:18 +00:00
John Baldwin 8a28ce0e42 Document flags 0x100 in syscons.4, and document syscons' flags in LINT.
Reviewed by:	yokota, obrien
2000-06-09 23:47:30 +00:00
Mike Smith 5e49eb2378 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.
2000-06-09 22:32:36 +00:00
Guy Helmer b3635b632d Forced commit: F_SETFL is used to clear O_NONBLOCK, not F_SETFD.
The code was right, the comment in the PR was wrong.
2000-06-09 19:44:49 +00:00
Guy Helmer 7111b0acef 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>
2000-06-09 19:38:28 +00:00
Guy Helmer 24f8e0e948 NONBINMODE -> NOBINMODE for NLSMODE.
PR:		bin/8811
Submitted by:	Naohiko Tsuji <yakisoba@osaka.interq.or.jp>
Prompted by:	Nathan Ahlstrom <nrahlstr@winternet.com>
2000-06-09 19:15:51 +00:00
Guy Helmer 691e5f80b5 Add QNX 4 partitions to fdisk's list.
PR:		bin/8809
Submitted by:	"John C. Place" <jcplace@ibm.net>
Prompted by:	<nrahlstr@winternet.com>
2000-06-09 19:10:09 +00:00
Brian Somers 64e475537d Document $clear_daily_* 2000-06-09 17:07:59 +00:00
Brian Somers 59f32c3a6a Add clear_daily_* variables 2000-06-09 17:07:15 +00:00
Brian Somers 008c5376df Use $clear_daily_* from rc.conf to decide what should be deleted
Reviewed by:	The silence of -committers
2000-06-09 17:05:11 +00:00
Brian Somers fa33ce4b09 Dynamically allocate softc structures
Reviewed by: Mark Knight <mkn@uk.FreeBSD.org>
2000-06-09 17:03:29 +00:00
Dan Moschuk 7bf9834a55 Increase delay from 10mu to 1000mu when reading play control size. This
allows the YMF744 to initialize properly.
2000-06-09 16:44:30 +00:00
Doug Rabson 571ce5b158 Add agp. 2000-06-09 16:07:32 +00:00
Doug Rabson 1e1789b86c Add module for agp driver. 2000-06-09 16:07:04 +00:00
Doug Rabson 6d08679b14 Add files for agp driver. 2000-06-09 16:05:39 +00:00
Doug Rabson 597472167a 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.
2000-06-09 16:04:30 +00:00
Doug Rabson f1954f5752 Nuke the useless chip driver. It gets in the way when you want to load
a functional driver for the device.
2000-06-09 16:00:29 +00:00
Doug Rabson 5eacd0690f Claim major 148 for agp. 2000-06-09 15:48:01 +00:00
Alexander Langer 855e2f196c Since many people use LINT as "supported hardware" list, add
all supported cards to the description of the ep-driver.

Reviewed by:	asmodai
2000-06-09 13:09:50 +00:00
Brian Somers 625de7fe92 Set KERNEL=${INSTALLKERNEL} doing a make install in /sys/conf 2000-06-09 10:42:36 +00:00
Alexander Langer aeca5be56b Add MLINK init.8 --> securelevel.8
Requested by:	Brett Glass <brett@lariat.org>
PR:		13792
Submitted by:	nik
2000-06-09 09:40:34 +00:00
Kris Kennaway 94e0a9634e Add blurbs about OpenSSL, OPIE and OpenSSH updates. 2000-06-09 08:19:44 +00:00
Jeroen Ruigrok van der Werven 685fd2c56a 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
2000-06-09 06:45:18 +00:00
Mike Smith a3d1d29457 (null commit)
Note that __FreeBSD_version >= 500005 can also be used to detect the presence
of the TASKQ interface.
2000-06-09 06:44:47 +00:00
Chris Costello 55ef467128 - Replace `.Va (cap_t)NULL'' with `.Dv NULL''
- Fix a typo: ``constrains'' -> ``constraints''

Reviewed by:	rwatson
2000-06-09 02:01:27 +00:00
Chris Costello cce53efa17 - 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
2000-06-09 01:59:48 +00:00
Alexander Langer 0357bc2b86 Forced commit: bus_alloc_resource.9 contains the para. by Warner Losh. 2000-06-08 21:08:18 +00:00
Alexander Langer 9092a4bca7 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
2000-06-08 21:00:12 +00:00
Brian Somers 4c24043766 Allow ``set urgent none'' to disable all urgent ports and IPTOS_LOWDELAY
prioritisation.

Requested by: luigi
2000-06-08 20:07:48 +00:00
Gerard Roudier ec8146d60d - 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.
2000-06-08 19:48:16 +00:00
Nick Hibma 6346a48ac0 Add the ID of the InSystem USB Cable (not really supported yet). 2000-06-08 19:27:21 +00:00
Nick Hibma 29c5a748a3 Regen. 2000-06-08 19:26:35 +00:00
Nick Hibma 608e876462 InSystem USB Cable (IDE adapter)
Submitted by:	"Sean O'Connell" <sean@stat.duke.edu>
2000-06-08 19:26:16 +00:00
Garrett Wollman 43e5911acb Fix a couple of mdoc errors. 2000-06-08 18:31:53 +00:00
Bruce Evans a8e97da092 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.
2000-06-08 18:11:15 +00:00
Bruce Evans 129e169651 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.
2000-06-08 17:53:43 +00:00
Dan Moschuk 9714563d83 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>
2000-06-08 15:34:51 +00:00
Luigi Rizzo afb87ed2fd Document new dummynet functionality, namely WF2Q+ and RED 2000-06-08 13:38:57 +00:00
Jeroen Ruigrok van der Werven 9549ae76d5 Remove \n I overlooked in a previous commit.
PR:		19111
Submitted by:	R. Matthew Emerson <rme@nightfly.apk.net>
2000-06-08 13:29:41 +00:00
Luigi Rizzo 6c28099089 userland side of WF2Q+ support in dummynet.
Manpage coming later...
2000-06-08 10:08:39 +00:00
Luigi Rizzo 5d3fe434f8 Implement WF2Q+ in dummynet. 2000-06-08 09:45:23 +00:00
Brian Somers ec6f2e3c51 Add some comments and wrap the dial line nicely 2000-06-08 08:58:03 +00:00
Brian Somers 60b2dc71d9 Don't attempt to rm directories under /var/spool/lock. 2000-06-08 08:57:35 +00:00
Brian Somers 335844a6c3 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
2000-06-08 08:48:15 +00:00
Greg Lehey 5b36316f62 Clarify which bit of the daemon config disables configuration saves.
This is still terrible.  I need to finally implement variables.

Reported-by:	jmg
2000-06-08 07:27:35 +00:00
Kris Kennaway a8cc952fab 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
2000-06-08 03:54:45 +00:00
John Baldwin 9369c9fb75 Enable USB in GENERIC on the Alpha.
Reviewed by:	deathly silence on -alpha
2000-06-08 01:17:51 +00:00
Daniel C. Sobral e0d83caeed Put some version checking. 2000-06-07 22:19:49 +00:00
Daniel C. Sobral a6a1d6e852 Bump loader version due to FICL (duh!) and copyin, copyout, setenv&cia. 2000-06-07 22:14:09 +00:00
Daniel C. Sobral 5ae8a644f6 Bump loader version due to copyin, copyout, setenv&cia. 2000-06-07 22:12:21 +00:00