Commit Graph

83766 Commits

Author SHA1 Message Date
Yaroslav Tykhiy
3aa2a1d0e4 Clear the "device open" flag in daopen() before returning a error,
so the device won't stay marked as open whereas it isn't.

Approved by:	re, njl
MFC after:	1 week
2002-12-12 18:09:35 +00:00
Mark Murray
340a8a91c3 Fix a buffer overrun in /dev/random which, due to the nature of the
kernel memory allocator, is harmless. This could be a problem for
other systems, though. I've modified Darren's patch a little.

Original patch by: Darren Schack, Isilon Systems, Inc <darrens@isilon.com>
Also analysed by:  SGI, and in particular Divy Le Ray of SGI
OK'ed by:          re(rwatson)
2002-12-12 17:38:45 +00:00
Ruslan Ermilov
8d5d039f80 Uniformly refer to a file system as "file system".
Approved by:	re
2002-12-12 17:26:04 +00:00
Scott Long
e66cdcd7e0 Incorporate some suggestions from several others about talking about
device hints.

Approved by:	re
2002-12-12 15:40:11 +00:00
Tom Rhodes
26b848c3d7 MFS: Spelling: s/transfered/transferred/
PR:		46104
Pointed out by:	Rich Morin <rdm@cfcl.com>
Approved by:	re (rwatson)
2002-12-12 15:38:07 +00:00
Ruslan Ermilov
0912b29fde mdoc(7) police: markup fixes.
Approved by:	re
2002-12-12 15:27:26 +00:00
Ruslan Ermilov
76648c1f93 mdoc(7) police: overhaul.
Approved by:	re
2002-12-12 15:25:56 +00:00
Ruslan Ermilov
a7348c92db mdoc(7) police: markup overhaul.
Approved by:	re
2002-12-12 14:36:08 +00:00
Ruslan Ermilov
4ac17494d7 mdoc(7) police: markup overhaul.
Approved by:	re
2002-12-12 14:25:52 +00:00
Ruslan Ermilov
e89f01cca3 mdoc(7) police: markup overhaul.
Approved by:	re
2002-12-12 14:17:24 +00:00
Ruslan Ermilov
ee8e7f9d42 mdoc(7) police: markup overhaul.
Approved by:	re
2002-12-12 14:09:25 +00:00
Ruslan Ermilov
6700152679 mdoc(7) police: tiny markup nits.
Approved by:	re
2002-12-12 13:58:27 +00:00
Ruslan Ermilov
afb09e9fb8 mdoc(7) police: overhaul. 2002-12-12 13:40:31 +00:00
Ruslan Ermilov
d0c6069b9d mdoc(7) police: markup fixes.
Approved by:	re
2002-12-12 13:26:32 +00:00
Warner Losh
c9e1bbfb91 o redirect the grep to /dev/null
o use ifn rather than interface in rc.network
o merge into rc.d/network1

Approved by: (re blanket)
2002-12-12 09:31:10 +00:00
Ruslan Ermilov
7faa4ab461 mdoc(7) police: markup overhaul.
Approved by:	re
2002-12-12 08:53:20 +00:00
Ruslan Ermilov
e7d85b22da Bring the NOTICE section into the DESCRIPTION section and wrap it in
.Bf -symbolic ... .Ef

Approved by:	re
Obtained from:	gbde(8)
2002-12-12 08:32:22 +00:00
Ruslan Ermilov
87e9be3900 mdoc(7) police: .Dt is ALL UPPERCASE.
Approved by:	re
2002-12-12 08:19:47 +00:00
Ruslan Ermilov
a38f01e2d8 mdoc(7) police: overhaul.
Approved by:	re
2002-12-12 08:18:53 +00:00
Tom Rhodes
6643a19c79 mount_udf(8) is currently not in 4.X, so obviously it did not first appear
in 4.6

PR:		46117
Submitted by:	Ryuichiro Imura <imura@ryu16.org>
Approved by:	re (bmah)
2002-12-12 05:56:36 +00:00
Eric Melville
5d8574bf95 Add Remote AppleEvents/PPC Toolbox.
Approved by:	rwatson
Obtained from:	IANA
Sponsored by:	Apple
2002-12-12 03:05:56 +00:00
Greg Lehey
ae1e3c0330 vinum_info: Correct the print formats to allow for 64 bit pointers.
Approved by:	re (jhb).
2002-12-12 02:25:30 +00:00
Greg Lehey
d54f0880cb revive_block: If we have an I/O error, don't forget to drop the stripe lock.
Approved by:	re (jhb)
2002-12-12 01:03:45 +00:00
Tom Rhodes
1626155b82 Remove the comment about dump(8) not working properly with snapshots.
Discussed with:	mckusick
Approved by:	re (rwatson)
2002-12-12 00:31:45 +00:00
Warner Losh
39a61a1fda o Don't do anything if the interface is already up.
o Only delay in pccard_ether when we're doing dhcp and starting the interface.

Approved: (re blanket for devd)
2002-12-11 23:30:34 +00:00
Warner Losh
549bfb9273 Update to reflect devd.
Approved by: re (blanket)
2002-12-11 23:15:10 +00:00
Warner Losh
b279e597c8 Add a rudimentary man page for /dev/devctl.
Approved by: re (blanket devd)
2002-12-11 23:08:19 +00:00
Bruce A. Mah
e3f2bef730 Note that UFS1 superblock changes may cause compatability problems
with older 4.X (for example, the case of a dual-booting machine).

While here, spell "Soft Updates" consistently (and hopefully
correctly).

Approved by:	re (implicitly)
2002-12-11 23:08:06 +00:00
Eric Moore
d6b32def6c (1) Problem: PANIC when loading/unloading driver
as module. This also fix's issue kern/45713.
Fix - polling was implemented incorrectly for
adapter enquiry and adapter flush.
(2) Problem: PANIC when unloading driver
as module.
Fix - device nodes are not destroyed for amr0,
and amrd* when driver is unloaded
(3) Problem: PANIC from loading driver when
3ware adapter present, error message "Warning
"amrd is usurping twed's bmaj"
Fix - put #idef freebsd version < 500000 for
bmaj -1 -> amrd_cdevsw
(4) Problem: warnings in driver when compiling
with DAMR_DEBUG param enabled in Makefile
Fix - fix the warnings so driver can compile
when -Werror is present in Makefile.

Approved by: jhb
MFC: 7 days
2002-12-11 20:59:46 +00:00
Alexander Kabaev
a5297d2a51 Connect ubsa.4 man page to the build.
Approved by:	re (rwatson)
2002-12-11 19:34:14 +00:00
Takanori Watanabe
c6a78e9840 Add sysctl knob to stop disabling acpi on shutdown.
Approved by: re(jhb)
2002-12-11 18:48:50 +00:00
Poul-Henning Kamp
b6cf3e46b4 When things get bigger than 99GB our fields run over.
Use GB from 100GB and upwards.

Approved by:	re
2002-12-11 17:36:34 +00:00
Ruslan Ermilov
f0fab6045d mdoc(7) police: overhaul.
Approved by:	re
2002-12-11 17:26:53 +00:00
Ruslan Ermilov
749757ed33 mdoc(7) police: overhaul.
Approved by:	re
2002-12-11 17:13:09 +00:00
Ruslan Ermilov
86c8719212 mdoc(7) police: Fixed the declaration of the -column list.
Approved by:	re
2002-12-11 16:59:01 +00:00
Ruslan Ermilov
fc412d1be7 mdoc(7) police: Use the default .Os version.
Approved by:	re
2002-12-11 15:57:40 +00:00
Ruslan Ermilov
051bb54bd3 mdoc(7) police: Added the missing .Os call; it's not strictly
necessary nowadays, but is documented as "required", and may
become so again in the future.

Approved by:	re
2002-12-11 15:55:29 +00:00
Ruslan Ermilov
8306fe90a2 mdoc(7) police: fixed the document date (the current date was used, as
documented in mdoc(7)).

Approved by:	re
2002-12-11 15:37:55 +00:00
Ruslan Ermilov
8416165a24 Fixed the parameter's name.
PR:		docs/46183
Submitted by:	Dirk Gouders <gouders@et.bocholt.fh-ge.de>
Approved by:	re
2002-12-11 14:04:37 +00:00
Chris Costello
28debfb5be Un-break world.
Reported by:	Ray Kohler <ataraxia@cox.net>
Approved by:	re (blanket)
2002-12-11 03:25:35 +00:00
Maxim Sobolev
4ea03b3140 Backout unapproved WARNS level change occasionally slipped into previous
commit.

Big pointy hat to:	sobomax
2002-12-11 01:21:57 +00:00
Maxim Sobolev
f2562be03e - Allow comments to be placed at the end of configuration line.
Sponsored by:   Porta Software Ltd
Approved by:    re
MFC after:      2 weeks
2002-12-11 01:19:56 +00:00
Chris Costello
5e7972fe32 Fix an mdoc error (call .Bd with -literal)
Sponsored by:	DARPA, Network Associates Labs
Approved by:	re (blanket)
2002-12-11 01:10:20 +00:00
Chris Costello
057baf3783 Document the following MAC policies:
o ifoff: Interface silencing policy
o partition: Process partitioning policy

Add associated Makefile entries and man page cross-references.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Labs
Approved by:	re (blanket)
2002-12-11 01:02:26 +00:00
Marcel Moolenaar
6257165c74 Pass the HCDP table address to the kernel. If no such table exists,
NULL is passed. The address of the HCDP table can be found by
iterating over the configuration tables in the EFI system table.
To avoid more duplication, a function can be called with the GUID
of interest. The function will do the scanning. Use the function
in all places where we iterate over the configuration tables in
an attempt to find a specific one.

Bump the loader version number as the result of this.

Approved by: re (blanket)
2002-12-10 20:11:20 +00:00
Bruce A. Mah
e27933a498 Add ${BUILDNAME} and ${TARGET} to the filenames of ISO images
generated during release builds.

For the most part, re@ was doing this manually before putting ISO images
on ftp-master, but not always.  This should make naming more consistent
and descriptive.

Requested by:	jason andrade <jason@dstc.edu.au>, hubs@
Approved by:	re (rwatson)
MFC after:	1 month
2002-12-10 16:35:44 +00:00
Robert Watson
eba0370d90 Default policies to on: if you load them or compile them into your
kernel, you should expect them to do something, so now they do.  This
doesn't affect users who don't load or explicitly compile in the
policies.

Approved by:	re (jhb)
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-12-10 16:20:34 +00:00
Scott Long
749142ecbf Play nice with GEOM and use the appropriate ioctls for getting the
partition size and sector size.  The old way of groveling through the
disklabel doesn't work anymore.

Noticed by:	anholt
Approved by:	re
2002-12-10 15:52:56 +00:00
Ruslan Ermilov
a2931c092e mdoc(7) police: overhaul.
Approved by:	re
2002-12-10 14:21:55 +00:00
Ruslan Ermilov
49bd9c3e42 mdoc(7) police: nit.
Approved by:	re
2002-12-10 14:20:38 +00:00