Commit Graph

21 Commits

Author SHA1 Message Date
Poul-Henning Kamp
ae919cce4a Duh! forgot this bit of the NCCD patch.
Submitted by:	sobomax
Reviewed by:	phk
2001-09-04 09:19:48 +00:00
Ruslan Ermilov
3b7e5ccc6a SECURITY: Drop `setgid kmem' bit as early as possible. 2001-08-31 16:26:37 +00:00
David E. O'Brien
1a37aa566b Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
Alexander Langer
b10a063dbe Fix world-breakage: warnx("..') --> warnx("...")
Submitted by:	Alain Thivillon <Alain.Thivillon@hsc.fr>,
		Udo Erdelhoff <ue@nathan.ruhr.de>
Approved by:	green
2000-08-05 15:45:59 +00:00
Kris Kennaway
d045f16001 Don't call warnx() without a format string (localized error messages
could conceivably cause a crash).

Obtained from:	OpenBSD
2000-08-05 06:06:48 +00:00
Nick Hibma
3e2c6ca3b9 Removal of sys/device.h
- Move intrhook stuff into kernel.h
- Remove all occurrences of #device <device.h>
- Add kernel.h were necessary (nowhere)
- delete device.h

This file contained the structures for cfdata (old style config) and is no
longer used. It was included by most drivers.

It confuses the remote debugger as the definition of 'struct device' in
device.h is found before the one in bus_private.h.
1999-10-05 21:19:41 +00:00
Bill Fumerola
2ce3df4e05 Silence -Wall
Reviewed by:	dillon
1999-09-26 21:37:46 +00:00
Peter Wemm
7f3dea244c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
Bill Fumerola
9539436c36 (1) Include linker.h because we use kldload()
(2) Clear up an ambigious, nested if/else
(3) Cast a ccio_size to a long and use the correct format identifier.

Reviewed by:	green
1999-07-04 23:42:32 +00:00
Poul-Henning Kamp
34fee57ad2 don't use <sys/disk.h> 1999-05-06 19:20:34 +00:00
Peter Wemm
769ae4addb kldload("ccd") if the ccd module isn't present. 1999-04-05 06:30:12 +00:00
Justin T. Gibbs
b2dfb1f906 Update system to new device statistics code.
Submitted by:	"Kenneth D. Merry" <ken@plutotech.com>
		mike@smith.net.au (Mike Smith)
1998-09-15 08:15:30 +00:00
Philippe Charnier
9ad54eb7b3 Correct use of .Nm, use .Bl/.El in FILES section. Add rcsid. Remove unused
#includes and make it a little more -Wall-friendly.
1998-06-04 06:41:26 +00:00
Warner Losh
15678bfa03 Properly drop group privs to open file names specified by the user.
Submitted by:	Niall Smart rotel@indigo.ie
Obtained from:	OpenBSD (rev 1.7 and 1.8)
1997-12-30 05:13:21 +00:00
Philippe Charnier
86d025a068 Remove __progname. Cosmetic in usage string. 1997-06-10 11:04:50 +00:00
Peter Wemm
c0ec1f37ef Revert $FreeBSD$ to $Id$ 1997-02-22 14:40:44 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Satoshi Asami
15a2c56b61 Add mirror and parity flags to list of symbolic names. 1996-01-30 22:25:24 +00:00
Satoshi Asami
aa8bdaec2b Added $Id$. 1995-12-28 00:22:45 +00:00
Satoshi Asami
602e098fc1 Make it work for FreeBSD-2.1. 1995-12-27 10:57:20 +00:00
Satoshi Asami
89a7b2b714 ccdcontrol from NetBSD-1.1. Note it was called "ccdconfig" originally. 1995-12-27 10:51:05 +00:00