]>
CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
Tim J. Robbins [Mon, 27 May 2002 06:53:54 +0000 (06:53 +0000)]
The XCU issue 5 requirement of accepting the file operand intermingled
with options has been withdrawn in issue 6, to which nl(1) now conforms.
Tim J. Robbins [Mon, 27 May 2002 06:46:29 +0000 (06:46 +0000)]
style(9): use errx() where appropriate instead of fprintf() + exit().
Tim J. Robbins [Mon, 27 May 2002 06:37:34 +0000 (06:37 +0000)]
style(9): use err() instead of perror() + exit().
Tim J. Robbins [Mon, 27 May 2002 06:08:14 +0000 (06:08 +0000)]
Claim conformance to IEEE Std 1003.1-2001.
See also csplit(1).
Tim J. Robbins [Mon, 27 May 2002 05:27:10 +0000 (05:27 +0000)]
Allow "-" to be specified as an operand as well as an option.
SUSV3 requires something like "split -- -" to work. Document the "-" operand.
Dima Dorfman [Mon, 27 May 2002 05:20:15 +0000 (05:20 +0000)]
Don't tsleep() with an sb_mtx held.
Tim J. Robbins [Mon, 27 May 2002 04:59:46 +0000 (04:59 +0000)]
Avoid overflowing `fname' if the file name prefix given on the command
line is too long.
Obtained from: OpenBSD
Tim J. Robbins [Mon, 27 May 2002 03:54:45 +0000 (03:54 +0000)]
Exit non-zero if the tags file cannot be opened.
Dima Dorfman [Mon, 27 May 2002 03:45:27 +0000 (03:45 +0000)]
Remove spurious period.
Tim J. Robbins [Mon, 27 May 2002 03:17:28 +0000 (03:17 +0000)]
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
Tim J. Robbins [Mon, 27 May 2002 02:01:25 +0000 (02:01 +0000)]
Initialise the `positions' array correctly before use.
Mike Barcroft [Mon, 27 May 2002 00:55:17 +0000 (00:55 +0000)]
Use underscored variant of BYTE_ORDER and friends to allow this to
work in a !__BSD_VISIBLE environment.
Josef Karthauser [Mon, 27 May 2002 00:01:21 +0000 (00:01 +0000)]
Regen.
Josef Karthauser [Mon, 27 May 2002 00:00:48 +0000 (00:00 +0000)]
Add a couple of new aue ethernet adapters from NetBSD:
ELECOM LDUSBLTX
IODATA USBETTXS
Josef Karthauser [Sun, 26 May 2002 23:54:37 +0000 (23:54 +0000)]
Use aue_lookup for looking up devices.
Josef Karthauser [Sun, 26 May 2002 22:13:09 +0000 (22:13 +0000)]
Correct the usage of DMAADDR in a piece of '#if 0'd code. (The compiler
didn't pick it up.)
Josef Karthauser [Sun, 26 May 2002 22:11:34 +0000 (22:11 +0000)]
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.
Josef Karthauser [Sun, 26 May 2002 22:00:06 +0000 (22:00 +0000)]
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.
Udo Erdelhoff [Sun, 26 May 2002 19:41:51 +0000 (19:41 +0000)]
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
Udo Erdelhoff [Sun, 26 May 2002 19:35:41 +0000 (19:35 +0000)]
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.
Poul-Henning Kamp [Sun, 26 May 2002 18:14:38 +0000 (18:14 +0000)]
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.
Poul-Henning Kamp [Sun, 26 May 2002 17:35:14 +0000 (17:35 +0000)]
Give the closet-dev_t we hand to the diskdrivers a name.
Poul-Henning Kamp [Sun, 26 May 2002 17:17:25 +0000 (17:17 +0000)]
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.
David E. O'Brien [Sun, 26 May 2002 17:16:21 +0000 (17:16 +0000)]
Alpha has crtfastmath also.
David E. O'Brien [Sun, 26 May 2002 17:09:31 +0000 (17:09 +0000)]
Rev 1.12 broke `make all' w/o a previous `make depends'.
Sebastien Gioria [Sun, 26 May 2002 17:07:32 +0000 (17:07 +0000)]
Initial translation
Sebastien Gioria [Sun, 26 May 2002 16:49:48 +0000 (16:49 +0000)]
Initial translation
Sebastien Gioria [Sun, 26 May 2002 16:43:04 +0000 (16:43 +0000)]
- be more FDP compliant
- be more French compliant
- fix some spelling
Tony Finch [Sun, 26 May 2002 16:29:25 +0000 (16:29 +0000)]
Note that this is a historical document and that users should refer
to flex(1) in preference.
Reviewed by: grog
Approved by: dwmalone (mentor)
Sebastien Gioria [Sun, 26 May 2002 16:29:08 +0000 (16:29 +0000)]
First shot of the translation in the userland section.
David E. O'Brien [Sun, 26 May 2002 16:04:37 +0000 (16:04 +0000)]
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
Doug Rabson [Sun, 26 May 2002 16:03:13 +0000 (16:03 +0000)]
Add declarations of suword32 and suword64. Add implementations of one or
the other (or both) to all the platforms. Similar for fuword32 and
fuword64.
Jake Burkholder [Sun, 26 May 2002 15:55:28 +0000 (15:55 +0000)]
Remove a hack for using an external compiler if cross compiling.
Tim J. Robbins [Sun, 26 May 2002 12:51:38 +0000 (12:51 +0000)]
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
Tim J. Robbins [Sun, 26 May 2002 12:12:36 +0000 (12:12 +0000)]
Add lchmod(2) to the list of syscalls that do not follow symbolic links.
Dag-Erling Smørgrav [Sun, 26 May 2002 12:02:36 +0000 (12:02 +0000)]
Mutex statistics script.
Dag-Erling Smørgrav [Sun, 26 May 2002 11:23:00 +0000 (11:23 +0000)]
Make sure there's a statement after the out: label in clockattach().
Nick Hibma [Sun, 26 May 2002 10:11:17 +0000 (10:11 +0000)]
Cosmetic change (align with other boot blocks):
CONSPEED -> COMSPEED
Approved by: nyan
Poul-Henning Kamp [Sun, 26 May 2002 09:57:59 +0000 (09:57 +0000)]
Mis-edit in last commit.
Poul-Henning Kamp [Sun, 26 May 2002 09:38:51 +0000 (09:38 +0000)]
Be a bit smarter about rewriting data so we don't loose too much performance.
Sponsored by: DARPA & NAI Labs.
Tim J. Robbins [Sun, 26 May 2002 07:07:14 +0000 (07:07 +0000)]
Add Standards, Diagnostics and History sections.
Poul-Henning Kamp [Sun, 26 May 2002 06:48:55 +0000 (06:48 +0000)]
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.
Tim J. Robbins [Sun, 26 May 2002 06:15:15 +0000 (06:15 +0000)]
If a file operand cannot be processed, go on to process any remaining files
but exit non-zero.
Dima Dorfman [Sun, 26 May 2002 05:24:53 +0000 (05:24 +0000)]
Remove extra word.
Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>
Alan Cox [Sun, 26 May 2002 04:54:56 +0000 (04:54 +0000)]
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().
John W. De Boskey [Sun, 26 May 2002 04:43:26 +0000 (04:43 +0000)]
Log invalid config entries. Make the -d option actually log to
the terminal(-d fix from dwmalone).
Approved by: dwmalone
MFC after: 2 weeks
Mark Murray [Sat, 25 May 2002 21:11:13 +0000 (21:11 +0000)]
Trim out this subdir; nothing has been made in here for _ages_.
Poul-Henning Kamp [Sat, 25 May 2002 20:44:20 +0000 (20:44 +0000)]
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.
Brooks Davis [Sat, 25 May 2002 20:20:35 +0000 (20:20 +0000)]
Make discard devices clonable and unloadable. Also, change the
interface name from ds# to disc#.
Brooks Davis [Sat, 25 May 2002 20:17:04 +0000 (20:17 +0000)]
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)
Mark Murray [Sat, 25 May 2002 19:36:09 +0000 (19:36 +0000)]
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
Alan Cox [Sat, 25 May 2002 18:39:42 +0000 (18:39 +0000)]
o Remove some unnecessary casting from and add some necessary casting to
aio_suspend() and lio_listio().
Submitted by: bde
Ruslan Ermilov [Sat, 25 May 2002 17:31:27 +0000 (17:31 +0000)]
Perl left src/.
Ruslan Ermilov [Sat, 25 May 2002 16:13:52 +0000 (16:13 +0000)]
PC98 creates different BOOTMFS configs for different floppy sizes.
Broken in: rev. 1.672
Spotted by: nyan
Dag-Erling Smørgrav [Sat, 25 May 2002 15:52:53 +0000 (15:52 +0000)]
ANSIfy (significant portions were already partly ANSIfied)
Dag-Erling Smørgrav [Sat, 25 May 2002 15:44:38 +0000 (15:44 +0000)]
Remove register.
Dag-Erling Smørgrav [Sat, 25 May 2002 15:43:06 +0000 (15:43 +0000)]
Automated whitespace cleanup.
Ruslan Ermilov [Sat, 25 May 2002 13:43:16 +0000 (13:43 +0000)]
Make it work for a different endianness binary.
(This version is still limited to ELF64.)
Reviewed by: jake
Ruslan Ermilov [Sat, 25 May 2002 13:39:20 +0000 (13:39 +0000)]
Get all the fruit from makefile.
Ruslan Ermilov [Sat, 25 May 2002 13:29:47 +0000 (13:29 +0000)]
Move elf2aout to usr.sbin/.
Approved by: jake
Ruslan Ermilov [Sat, 25 May 2002 12:51:34 +0000 (12:51 +0000)]
Respect -q with "add" and "delete". Document who respects -q.
PR: bin/38531
Tim J. Robbins [Sat, 25 May 2002 12:18:27 +0000 (12:18 +0000)]
sh appeared in Version 1, not System V.1.
Tim J. Robbins [Sat, 25 May 2002 12:11:58 +0000 (12:11 +0000)]
Implement `set +o', which displays the currently set options in a format
suitable for re-input into the shell.
Tim J. Robbins [Sat, 25 May 2002 11:37:10 +0000 (11:37 +0000)]
Sync usage message with manual page synopsis.
Bruce Evans [Sat, 25 May 2002 11:18:03 +0000 (11:18 +0000)]
Fixed printf format errors which apparently crept in while -Wformat was
disabled for gcc-3.
Bruce Evans [Sat, 25 May 2002 11:12:30 +0000 (11:12 +0000)]
"Fixed" printf format errors (64-bit daddr_t casualties; should use %jx
instead of %llx when %j is available).
Changed nearby output formats from %x to %#x so that it is obvious that the
numbers are in hex (vinum mostly uses 0x%x elsewhere).
Didn't fix nearby format printf errors (long lines).
Bruce Evans [Sat, 25 May 2002 11:05:07 +0000 (11:05 +0000)]
Fixed printf format errors. Most of them are 64-bit daddr_t casualties.
Printing daddr_t's using %d format was always an error, but gcc's
warning about it was ignored for supported 64-bit arches and not printed
for supported 32-bit arches. Hundreds if not thousands thousands of
previously "fixed" daddr_t printings are now broken on 32-bit machines
by casting daddr_t's to longs. daddr_t's should be printed using %jd
format, but this fix uses %lld since %j is not implemented in the
kernel yet.
Fixed some nearby format printf errors (style bugs).
Bruce Evans [Sat, 25 May 2002 10:48:03 +0000 (10:48 +0000)]
Fixed a printf format error. It was old and should have been detected by
gcc-2.9x, but somehow wasn't fixed already.
Tim J. Robbins [Sat, 25 May 2002 10:37:24 +0000 (10:37 +0000)]
Bad numeric arguments or usernames should cause non-zero exit status.
Ruslan Ermilov [Sat, 25 May 2002 10:37:00 +0000 (10:37 +0000)]
Make these work with one-true-awk.
Spotted by: nyan
Tim J. Robbins [Sat, 25 May 2002 03:32:23 +0000 (03:32 +0000)]
Determine exit status to use before writing diagnostic message; warn()
may change errno.
Tim J. Robbins [Sat, 25 May 2002 03:08:21 +0000 (03:08 +0000)]
Typo: use plural now that we have more than one option.
Tim J. Robbins [Sat, 25 May 2002 03:04:28 +0000 (03:04 +0000)]
If a file cannot be processed, try to process any remaining files
then exit non-zero.
Jake Burkholder [Sat, 25 May 2002 02:39:28 +0000 (02:39 +0000)]
Convert the interrupt queue from an array to a linked list. Implement
intr_dequeue in asm so that it can easily be modified to do light weight
context switching.
David E. O'Brien [Sat, 25 May 2002 01:46:44 +0000 (01:46 +0000)]
The man page is VERY WRONG about using "-o noupdate" with -s.
So fix it, and add an example using -s.
Jake Burkholder [Sat, 25 May 2002 01:45:11 +0000 (01:45 +0000)]
Try to handle "double faults" occuring at more trap levels (ie 4 :)).
Jake Burkholder [Sat, 25 May 2002 01:44:08 +0000 (01:44 +0000)]
Minor style.
Jake Burkholder [Sat, 25 May 2002 01:12:23 +0000 (01:12 +0000)]
Make the run queue parameters machine dependent. Optimize 64 bit
architectures by using a 64 bit word for the bit array which keeps
track of non-empty queues.
Reviewed by: peter
Sheldon Hearn [Fri, 24 May 2002 22:01:18 +0000 (22:01 +0000)]
Regen:
* Hart: rev 230 of pcidevs.txt (2002-05-21)
* Boemler: vendors.txt (2002-05-24)
Alfred Perlstein [Fri, 24 May 2002 19:16:08 +0000 (19:16 +0000)]
Backout 1.54 (restore definition for printf0 to actually do something).
Tom Rhodes [Fri, 24 May 2002 19:12:02 +0000 (19:12 +0000)]
Add the word ``fields'' to the description, and change an instance from
fields to num in the SYNOPSIS
Noticed by: keramida
Maxime Henrion [Fri, 24 May 2002 17:39:37 +0000 (17:39 +0000)]
Convert mount_ext2fs(8) to nmount(2).
Reviewed by: iedowse
Maxime Henrion [Fri, 24 May 2002 17:38:01 +0000 (17:38 +0000)]
Convert ext2fs to nmount(2).
Ruslan Ermilov [Fri, 24 May 2002 16:08:13 +0000 (16:08 +0000)]
Forgot to commit this for the `includes' -> `buildincludes',
`incsinstall' -> `installincludes' changes.
Ruslan Ermilov [Fri, 24 May 2002 15:51:27 +0000 (15:51 +0000)]
Back out the ``run shell from $PATH'' change; this was an overkill
and is insecure.
Requested by: bde
Gregory Neil Shapiro [Fri, 24 May 2002 15:50:34 +0000 (15:50 +0000)]
Add release notes for the changed file permissions on sendmail alias
and map databases as well as the statistics file.
MFC after: 1 day
pending RE approval
Warner Losh [Fri, 24 May 2002 15:28:38 +0000 (15:28 +0000)]
Correct US Robotics Wireless Card 2410 entry
Dag-Erling Smørgrav [Fri, 24 May 2002 13:22:15 +0000 (13:22 +0000)]
Add openpam_nullconv.3.
Dag-Erling Smørgrav [Fri, 24 May 2002 13:20:40 +0000 (13:20 +0000)]
Add missing include.
Dag-Erling Smørgrav [Fri, 24 May 2002 13:18:43 +0000 (13:18 +0000)]
This commit was generated by cvs2svn to compensate for changes in r97241,
which included commits to RCS files with non-trunk default branches.
Dag-Erling Smørgrav [Fri, 24 May 2002 13:18:43 +0000 (13:18 +0000)]
Vendor import of OpenPAM Cinquefoil.
Thomas Moestl [Fri, 24 May 2002 12:47:41 +0000 (12:47 +0000)]
Fully reset a gem on some error conditions; otherwise it would hang in
about 1 of 10 cases.
Proposed and tested by: phk
Ruslan Ermilov [Fri, 24 May 2002 11:03:41 +0000 (11:03 +0000)]
Convert Perl scripts to awk(1).
Tim J. Robbins [Fri, 24 May 2002 10:58:21 +0000 (10:58 +0000)]
If a file argument cannot be processed, process the remaining ones
and exit non-zero (SUSv3)
Tim J. Robbins [Fri, 24 May 2002 09:56:18 +0000 (09:56 +0000)]
When a file name of "-" is given, read from standard input (SUSv3)
Mark Murray [Fri, 24 May 2002 09:40:51 +0000 (09:40 +0000)]
The previous ANSIfication did not take into account earlier,
non-compliant compilers. Revert to the compatible form to allow
upgrade-builds.
Mark Murray [Fri, 24 May 2002 09:37:10 +0000 (09:37 +0000)]
The previous ANSIfication did not take into account upgrade-builds
uing an earlier, non-compliant compiler. Revert to the compatible
form.
Tim J. Robbins [Fri, 24 May 2002 09:11:18 +0000 (09:11 +0000)]
Allow byte/character positions >_POSIX2_LINE_MAX to be specified by
dynamically growing the `positions' array.
Tim J. Robbins [Fri, 24 May 2002 08:56:49 +0000 (08:56 +0000)]
Use fgetln(3) to handle lines of unlimited length instead of a
getc/putc loop.
Suggested by: dd
Alfred Perlstein [Fri, 24 May 2002 08:34:18 +0000 (08:34 +0000)]
Don't err(3) (and exit prematurely) when a sysctl's object size has
changed, instead just warn(3)