Commit Graph

75452 Commits

Author SHA1 Message Date
tjr
89c62e14bd Avoid overflowing `fname' if the file name prefix given on the command
line is too long.

Obtained from:	OpenBSD
2002-05-27 04:59:46 +00:00
tjr
3a59030266 Exit non-zero if the tags file cannot be opened. 2002-05-27 03:54:45 +00:00
dd
ef78f19043 Remove spurious period. 2002-05-27 03:45:27 +00:00
tjr
ec252a0e8b From NetBSD:
Revision 1.10 Sat Oct 14 17:41:55 2000 UTC by bjh21
    Don't core dump with an empty format string.  Fixes PR#11218.
    Patch supplied by Launey Thomas.

Obtained from:	NetBSD
2002-05-27 03:17:28 +00:00
tjr
fb067c8f63 Initialise the `positions' array correctly before use. 2002-05-27 02:01:25 +00:00
mike
e24a2ccd6a Use underscored variant of BYTE_ORDER and friends to allow this to
work in a !__BSD_VISIBLE environment.
2002-05-27 00:55:17 +00:00
joe
708a20ee7b Regen. 2002-05-27 00:01:21 +00:00
joe
a65e356625 Add a couple of new aue ethernet adapters from NetBSD:
ELECOM LDUSBLTX
	IODATA USBETTXS
2002-05-27 00:00:48 +00:00
joe
831cd78c74 Use aue_lookup for looking up devices. 2002-05-26 23:54:37 +00:00
joe
334090e937 Correct the usage of DMAADDR in a piece of '#if 0'd code. (The compiler
didn't pick it up.)
2002-05-26 22:13:09 +00:00
joe
514cd97aa3 MFNetBSD:
revision 1.124
    date: 2002/05/26 03:10:02;  author: minoura;  state: Exp;  lines: +3 -3
    Clear done_head in the HCCA *before* acknoledging the interrupt.
    Driver lost some completed transfers under heavy loads.
2002-05-26 22:11:34 +00:00
joe
7a6410c018 MFNetBSD: ohci.c (1.124), uhci.c (1.159), usbdi.c (1.100)
date: 2002/05/19 06:24:31;  author: augustss;  state: Exp;
    Update dma memory access API a little.

NetBSD have adopted our way of using the KERNADDR macro.  Update
the revision tags to show that we're in sync, and remove the casts
that they did in their adaptation.
2002-05-26 22:00:06 +00:00
ue
98011cfe8b More catchup MFbeds:
hardware/alpha/proc-alpha.sgml:		MFen 1.40 -> 1.41
hardware/common/dev.sgml:		MFen 1.87 -> 1.91
installation/common/install.sgml:	translation fixes
readme/article.sgml:			translation fixes
relnotes/common/new.sgml:		MFen 1.340 -> 1.355
2002-05-26 19:41:51 +00:00
ue
725df5d34c The pre-release sweep continues:
Just update the 'original revision' markers of some files where the last
update of the english version has no impact on the translated version
(spelling checks are a premium cause of this) except making it harder
to find the changes that still need to be translated/comitted.
2002-05-26 19:35:41 +00:00
phk
d41562720e Add a proof-of-concept encryption class.
"The only hard problem in cryptography is key-management."

All sectors are encrypted with AES in CBC mode using a constant key,
currently compiled in and all zero.

To activate this module, write the magic header on the partition:

	echo "<<FreeBSD-GEOM-AES>>" | dd conv=sync of=/dev/md98

The encrypted device will be one sector shorter and have ".aes"
appended to its name.

Sponsored by: DARPA & NAI Labs.
2002-05-26 18:14:38 +00:00
phk
571d9aa442 Give the closet-dev_t we hand to the diskdrivers a name. 2002-05-26 17:35:14 +00:00
phk
8bb89b7b0c Only clear the spoiled flag if the class had no spoiled method, the spoiled
method may have deallocated the consumer already and modifying free()'ed
memory is bad style.

Sponsored by: DARPA & NAI Labs.
2002-05-26 17:17:25 +00:00
obrien
0b1a4f9b10 Alpha has crtfastmath also. 2002-05-26 17:16:21 +00:00
obrien
1c24f917c1 Rev 1.12 broke make all' w/o a previous make depends'. 2002-05-26 17:09:31 +00:00
gioria
81d4e1c41c Initial translation 2002-05-26 17:07:32 +00:00
gioria
a8cd5422f5 Initial translation 2002-05-26 16:49:48 +00:00
gioria
960d3f6583 - be more FDP compliant
- be more French compliant
- fix some spelling
2002-05-26 16:43:04 +00:00
fanf
f905b5cdd3 Note that this is a historical document and that users should refer
to flex(1) in preference.

Reviewed by:	grog
Approved by:	dwmalone (mentor)
2002-05-26 16:29:25 +00:00
gioria
ae078823a2 First shot of the translation in the userland section. 2002-05-26 16:29:08 +00:00
obrien
c63b7df4ec The special checks for %b and %D in rev 1.1 were done before skipping over
any characters between the % and the [bD], so only plain %b and %B worked.
This may un-1/2ass our -fformat-extensions support.

Submitted by:	bde
2002-05-26 16:04:37 +00:00
dfr
e8d149b2f7 Add declarations of suword32 and suword64. Add implementations of one or
the other (or both) to all the platforms. Similar for fuword32 and
fuword64.
2002-05-26 16:03:13 +00:00
jake
82d31a36d4 Remove a hack for using an external compiler if cross compiling. 2002-05-26 15:55:28 +00:00
tjr
77288420b0 Note that the lutimes(2) and lchflags(2) syscalls also do not follow symlinks.
Remove incorrect examples.

PR:		25016
Submitted by:	Martin Kammerhofer, Joshua Goodall
2002-05-26 12:51:38 +00:00
tjr
4cc401e5ef Add lchmod(2) to the list of syscalls that do not follow symbolic links. 2002-05-26 12:12:36 +00:00
des
3ff8fb1cb4 Mutex statistics script. 2002-05-26 12:02:36 +00:00
des
9471e31450 Make sure there's a statement after the out: label in clockattach(). 2002-05-26 11:23:00 +00:00
n_hibma
6029daa1e0 Cosmetic change (align with other boot blocks):
CONSPEED -> COMSPEED

Approved by:	nyan
2002-05-26 10:11:17 +00:00
phk
cd78b1f556 Mis-edit in last commit. 2002-05-26 09:57:59 +00:00
phk
3a79eba71d Be a bit smarter about rewriting data so we don't loose too much performance.
Sponsored by: DARPA & NAI Labs.
2002-05-26 09:38:51 +00:00
tjr
ec9860cfd0 Add Standards, Diagnostics and History sections. 2002-05-26 07:07:14 +00:00
phk
bf00330394 Use an umazone per unit for allocating the sectors for malloc backing.
Clean up things properly when we unconfigure malloc backed units.

Sponsored by:	DARPA & NAI Labs.
2002-05-26 06:48:55 +00:00
tjr
dc6576dc1f If a file operand cannot be processed, go on to process any remaining files
but exit non-zero.
2002-05-26 06:15:15 +00:00
dd
1bb2478dbe Remove extra word.
Submitted by:	Andre Guibert de Bruet <andy@siliconlandmark.com>
2002-05-26 05:24:53 +00:00
alc
642723e24c o Acquire and release Giant around pmap operations in vm_fault_unwire()
and vm_map_delete().  Assert GIANT_REQUIRED in vm_map_delete()
   only if operating on the kernel_object or the kmem_object.
 o Remove GIANT_REQUIRED from vm_map_remove().
 o Remove the acquisition and release of Giant from munmap().
2002-05-26 04:54:56 +00:00
jwd
da8203a816 Log invalid config entries. Make the -d option actually log to
the terminal(-d fix from dwmalone).

Approved by:	dwmalone
MFC after:	2 weeks
2002-05-26 04:43:26 +00:00
markm
c4089dd479 Trim out this subdir; nothing has been made in here for _ages_. 2002-05-25 21:11:13 +00:00
phk
45b9277876 Give the "malloc" backing of md(4) an adaptive multilevel index tree to
remove the need for a contiguous array with pointers to all the sectors.

Try to make failure to malloc(9) memory a non-hang situation.

Eventually this will allow us to test the 64bit cleanness of the disk
I/O patch, but more work is outstanding here and elsewhere.

Sponsored by:	DARPA & NAI Labs.
2002-05-25 20:44:20 +00:00
brooks
9380aef83f Make discard devices clonable and unloadable. Also, change the
interface name from ds# to disc#.
2002-05-25 20:20:35 +00:00
brooks
6cfd5a5a1d Move all unit number management cloned interfaces into the cloning
code.  The reverts the API change which made the <if>_clone_destory()
functions return an int instead of void bringing us into closer
alignment with NetBSD.

Reviewed by:	net (a long time ago)
2002-05-25 20:17:04 +00:00
markm
c23d71a355 This directory (whis was supposed to do indexes etc for the printable
documentation) hasn't had its nappies changed since FreeBSD-2.0, and
is now starting to smell rather ripe.

Its dependant on ancient and removed tools, and the last maintainer
can't remember looking at it 1 1/2 years ago.

If we need it, its in the Attic.

Discussed with:	asmodai
2002-05-25 19:36:09 +00:00
alc
afb615dae0 o Remove some unnecessary casting from and add some necessary casting to
aio_suspend() and lio_listio().

Submitted by:	bde
2002-05-25 18:39:42 +00:00
ru
a8947d5548 Perl left src/. 2002-05-25 17:31:27 +00:00
ru
cd1298b341 PC98 creates different BOOTMFS configs for different floppy sizes.
Broken in:	rev. 1.672
Spotted by:	nyan
2002-05-25 16:13:52 +00:00
des
324a67fe9d ANSIfy (significant portions were already partly ANSIfied) 2002-05-25 15:52:53 +00:00
des
94fe5108ff Remove register. 2002-05-25 15:44:38 +00:00