Commit Graph

49626 Commits

Author SHA1 Message Date
Brian S. Dean
c6d3f3bfc1 Fix my own style bugs (use of spaces instead of tabs for indentation).
This is a style-only change.
2000-07-01 02:40:13 +00:00
Matthew Hunt
e97781bf25 Quit on EOF from terminal instead of redisplaying the prompt. 2000-06-30 20:05:21 +00:00
Warner Losh
27dc3a2b96 Note des' libfetch/fetch changes.
Clarify requirements for dev random, et al, from markm's commit.

Initial diffs for the latter by: archie
2000-06-30 17:19:07 +00:00
Archie Cobbs
c38d75f43d Previous commit didn't work; this time really fix it. 2000-06-30 16:38:24 +00:00
Garrett Wollman
9ec4c09af1 Use consistent markup for literals and quoted metasyntactic variables.
Left unfixed: `NIS' should be marked up as a tradename.
2000-06-30 15:59:48 +00:00
Garrett Wollman
c9e5fb39e5 Spell `99%' correctly. 2000-06-30 15:28:06 +00:00
Garrett Wollman
4469e49ba8 Fix spelling of `whose'. 2000-06-30 15:22:18 +00:00
Andrey A. Chernov
84cbde3ac5 Update cons* entries from termcap 2000-06-30 14:01:49 +00:00
Sheldon Hearn
c5eadb2bdb Do not link bktr.4 and bt.4 into ../, since these are no longer
installed from man4.i386.

PR:		19601
Submitted by:	Ben Smithurst <ben@scientia.demon.co.uk>
2000-06-30 11:50:46 +00:00
Sheldon Hearn
98a83e2dd1 Use "yesterday's" instead of "yesterdays" as required for correct
grammar.

Since this pushes the line to an unacceptable length, apply the
accepted line breaking style.
2000-06-30 11:24:31 +00:00
Peter Wemm
f1cfac6222 Fix the perl build on the Alpha. int32 is 'int' not 'long'. int64 is
'long', not 'long long'.  Maybe the intXX_t types should have been used.
2000-06-30 11:22:19 +00:00
Brian Somers
1fb83b0a07 De-spam (oops!)
Spotted by: sheldonh
2000-06-30 11:18:19 +00:00
Brian Somers
2d60050a94 Add $daily_status_mail_rejects_logs, defaulting to 3 to control
how many /var/log/maillog* files to check

PR:	19587
2000-06-30 09:41:16 +00:00
Brian Somers
7c26f8927b Correct two variable names
Mostly submitted by:	howardjp@wam.umd.edu
PR:			19567
2000-06-30 09:39:51 +00:00
Sheldon Hearn
cbe10916b3 Only punctuation is an allowed argument type for open-close macros
such as Po/Pc, as explained by phantom.

Reported by:	billf
2000-06-30 06:30:53 +00:00
Bill Fumerola
765823fba4 add a real prototype for printit() 2000-06-30 03:17:42 +00:00
Archie Cobbs
44ce4b7dcd Provide forward declarations for struct ifnet and struct mbuf
to avoid compiler warnings.
2000-06-29 22:30:42 +00:00
Archie Cobbs
6ec86086e7 Fix kernel build breakage when 'device ether' was not included. 2000-06-29 19:14:28 +00:00
Daniel C. Sobral
6b709b74ae Initialize variables used by the Boyer-Moore algorithm.
This should fix core dumps when the must pattern is of length
three or less.

Bug found by: knu
2000-06-29 18:53:55 +00:00
Mark Murray
8bea8d9daa Tweaks to the build to allow "make -DNOCLEAN" and "make release" to
work.
2000-06-29 18:21:51 +00:00
Archie Cobbs
6c66bbed1a Move the securelevel check before loading KLD's into linker_load_file(),
instead of requiring every caller of linker_load_file() to perform the
check itself. This avoids netgraph loading KLD's when securelevel > 0,
not to mention any future code that may call linker_load_file().

Reviewed by:	dfr
2000-06-29 17:57:04 +00:00
Andrey A. Chernov
849c64f5ff Fix assigning alt_month in compatibility code 2000-06-29 17:21:45 +00:00
Yoshihiro Takahashi
7ec62217f0 - Removed machine dependent directory and command from
src/release/{boot,fixit}_crunch.conf.
- Added machine specific fixit_crunch.conf for PC/AT and PC-98 to
  src/release/$MACHINE.
- Use config file in src/release/$MACHINE if exist. If it does not exist,
  use in src/release.
2000-06-29 13:34:54 +00:00
Alexander Langer
dba11ce52b - MSDOSFS can do both FAT _and_ FAT32. Since the name "MSDOS" might be
confusing, explecitely mention this.
- softupdates' README is no longer in contrib/softupdates. Fix new location.
2000-06-29 10:45:55 +00:00
Dag-Erling Smørgrav
893980ad29 Make restart work in active mode, too.
PR:		bin/18688
Submitted by:	Rudolf Cejka <cejkar@dcse.fee.vutbr.cz>
2000-06-29 10:44:10 +00:00
Dag-Erling Smørgrav
047843dd61 Note that the -h, -c and -f options are deprecated, and remove note that
incorrectly stated that they were not implemented.
Document the -d option.
2000-06-29 10:35:24 +00:00
Dag-Erling Smørgrav
a8369cd91b Implement the -c option 2000-06-29 10:32:56 +00:00
Ruslan Ermilov
f685a909b5 "Ease understanding" of how -punch_fw works.
Reviewed by:	sheldonh
2000-06-29 09:52:14 +00:00
John Baldwin
44bb7ac654 Note that the cleaning up and reordering in revision 1.19 actually fixed a
nasty bug.  The comparison to tset for an instruciton with the $0xf prefix
should have jumped down to the next non-prefix instruction test.  Instead,
it jumped down to the next instruction test, which happened to be prefixed
instruction test.  This test assumed that the earlier test had succeeded,
thus in some rare cases, this test would actually succeed, and we would
actually attempt to emulate a RDMSR instruction instead of the instruction
we were supposed to be emulating.  Since %ecx usually did not contain a
valid MSR index at the time of the trap, this usually resulted in a #GP
due to an invalid MSR address and a lovely BTX fault when one tried to boot
the machine.

Noticed by:	unfurl and others
2000-06-29 09:51:53 +00:00
Boris Popov
5badeabaca Move #ifdef to the right place. 2000-06-29 09:26:26 +00:00
Peter Wemm
33f644c41f Include the src-crypto-rsa collection by default for internat users. 2000-06-29 09:03:59 +00:00
Peter Wemm
65e941047c List src-secure-rsa and clarify that cvs-crypto does not have it. 2000-06-29 09:00:23 +00:00
Dag-Erling Smørgrav
df6f33d182 Don't forget to delete the output file if the request fails.
Don't delete the output file if -r was specified.
2000-06-29 08:39:29 +00:00
John Baldwin
0b74850760 Change the fault message to say 'BTX halted' isntead of 'System halted' to
avoid confusion.

Submitted by:	George Scott <George.Scott@its.monash.edu.au>
2000-06-29 08:24:50 +00:00
Ollivier Robert
2c5b483a3d Remove a comment that should not have been committed. 2000-06-29 08:15:47 +00:00
Paul Saab
898e18b849 Only try to detect Linksys PCMCIA cards when we are in a pccard
environment.  This fixes the breakage to ISA ethernet cards.

Reviewed by:	peter
2000-06-29 07:31:37 +00:00
Satoshi Asami
1dea2d58f0 Increment __FreeBSD_version to mark perl5 upgrade in -current. (I
know, a little late, but snaps with the new perl5 aren't showing up
yet so it should still help.)
2000-06-29 06:26:13 +00:00
Satoshi Asami
d492a4aa1f Add "mach" dir for perl, that's where it installs a lot of stuff now. 2000-06-29 06:22:10 +00:00
Andrey A. Chernov
5911ecd993 Add randomdev_load="NO" 2000-06-29 06:10:14 +00:00
Daniel C. Sobral
6049d9f0eb Add Boyler-Moore algorithm to pre-matching test.
The BM algorithm works by scanning the pattern from right to left,
and jumping as many characters as viable based on the text's mismatched
character and the pattern's already matched suffix.

This typically enable us to test only a fraction of the text's characters,
but has a worse performance than the straight-forward method for small
patterns. Because of this, the BM algorithm will only be used if the
pattern size is at least 4 characters.

Notice that this pre-matching is done on the largest substring of the
regular expression that _must_ be present on the text for a succesful
match to be possible at all.

For instance, "(xyzzy|grues)" will yield a null "must" substring, and,
therefore, not benefit from the BM algorithm at all. Because of the
lack of intelligence of the algorithm that finds the "must" string,
things like "charjump|matchjump" will also yield a null string. To
optimize that, "(char|match)jump" should be used.

The setup time (at regcomp()) for the BM algorithm will most likely
outweight any benefits for one-time matches. Given the slow regex(3)
we have, this is unlikely to be even perceptible, though.

The size of a regex_t structure is increased by 2*sizeof(char*) +
256*sizeof(int) + strlen(must)*sizeof(int). This is all inside the
regex_t's "guts", which is allocated dynamically by regcomp(). If
allocation of either of the two tables fail, the other one is freed.
In this case, the straight-forward algorithm is used for pre-matching.

Tests exercising the code path affected have shown a speed increase of
50% for "must" strings of length four or five.

API and ABI remain unchanged by this commit.

The patch submitted on the PR was not used, as it was non-functional.

PR: 14342
2000-06-29 04:48:34 +00:00
Boris Popov
99063cf89e If kernel compiled with INVARIANTS:
On unload, remove references from freelist to memory type defined by module.
Print a warning if module defines and allocate its own memory type, but
didn't free it all on unload.

Reviewed by:	peter
2000-06-29 03:41:30 +00:00
Andrew Gallatin
d8cbedb6b0 remove breakage that snuck in with my last commit
pointed out by: peter
2000-06-29 02:26:48 +00:00
John Baldwin
52f5035190 Rework the detecting of the rdmsr and wrmsr instructions in the v86
monitor so that the codepath is cleaner and easier to maintain in the
future.
2000-06-29 01:25:31 +00:00
Boris Popov
6843189ab9 Fix memory leakage on module unload.
Spotted by:	fixed INVARIANTS code
2000-06-29 01:19:12 +00:00
Boris Popov
432a84000f Fix memory leakage on module unload.
Spotted by:	fixed INVARIANTS code
2000-06-29 01:12:47 +00:00
Warner Losh
b8c215accd Added a dire sounding note about how crypto is required to build the
system.  Well, not really required if you know what you are doing, but
there's enough people that don't fit into this class that are getting
burned now that we need to say it is required.  The actual message
says that one should treat it as if it was required to try to be
weasilly for the nitpickers amoung us :-)Killed by signal 2.
2000-06-29 00:34:54 +00:00
Peter Wemm
c20ac811f3 Add device_identify methods so that we do not need the
hint.sc.0.at=isa and hint.vga.0.at=isa  hints in order for these to
probe/attach.
2000-06-28 22:53:35 +00:00
John Baldwin
61e9944f4f _PATH_DEV'ify libdisk 2000-06-28 22:28:50 +00:00
Archie Cobbs
e962a82308 Fix incorrectly implemented receive ACK timeout algorithm:
instead of bumping the recvAck counter by one, pretend that
all outstanding xmit packets are acknowleged, and restart
transmitting anew, with an empty (but halved) transmit window.

Put a lower bound on the adaptive timeout value.
2000-06-28 19:43:34 +00:00
Chris Costello
726bd7bebf fdesc_getattr:
Don't fake any file types, just set vap->va_type to IFTOVT(stb.st_mode).
  If something does not report its mode, vap->va_type is set to VNON
  accordingly.
2000-06-28 19:18:25 +00:00