Commit Graph

50334 Commits

Author SHA1 Message Date
Mark Murray
b74aa5644c Add entropy caching. With this, some entropy is cached at shutdown
time, and this is used to reseed the random number generator at
boot time.

NOTE - this has no hope of working if you halt(); you need to
execute rc.shutdown to get the entropy stash.
2000-07-17 12:28:58 +00:00
Mark Murray
720a3741cf Add randomness write functionality. This does absolutely nothing for
entropy estimation, but causes an immediate reseed after the input
(read in sizeof(u_int64_t) chunks) is "harvested".

This will be used in the reboot "reseeder", coming in another
commit. This can be used very effectively at any time you think
your randomness is compromised; something like

# (ps -gauxwww; netstat -an; dmesg; vmstat -c10 1) > /dev/random

will give the attacker something to think about.
2000-07-17 12:23:04 +00:00
Sheldon Hearn
e492a4c41a Correct the usage() message as per rev 1.25 of mtree.8 . 2000-07-17 11:00:55 +00:00
Sheldon Hearn
7cd36f5d04 * Order options in the SYNOPSIS correctly.
*	Re-order the list of options in teh DESCRIPTION as per
	the SYNOPSIS.
   *	Move the description of exit conditions from the
	DESCRIPTION section to a new DIAGNOSTICS section.
   *	Typo fix: "effect" -> "affect" when used as a verb.
   *	Clear the Nm macro as appropriate.
   *	Typo fix: "consider" -> "considers" for a singular subject.
   *	Use Nx instead of NetBSD.
2000-07-17 10:59:38 +00:00
Sheldon Hearn
ed9b87e322 Locale support was added by ache long ago. 2000-07-17 10:40:48 +00:00
Ruslan Ermilov
ecd1fe62de Suggest looking at rc.conf(5) on how to start natd(8) during boot.
Submitted by:	dcs
2000-07-17 10:06:54 +00:00
Nick Hibma
f10e5a6e89 Regen. 2000-07-17 09:56:01 +00:00
Nick Hibma
b067ff95e2 Lots of new device Ids. From NetBSD. 2000-07-17 09:55:34 +00:00
Jordan K. Hubbard
4b3d3c6d79 Add descriptive start/stop time information to make release. Now
you can just ``grep >>> release.log'' and get all the highlights.
2000-07-17 04:50:28 +00:00
Bill Fumerola
9a6eeac9f4 Fix a paste-o in the tcpoptions check (not a security problem, just a
error in the usage printf())

Reviewed by:	rwatson
2000-07-17 03:02:15 +00:00
Jun-ichiro itojun Hagino
74f575394c sync with latest kame doc. wording changes and updates 2000-07-17 02:37:26 +00:00
Jun-ichiro itojun Hagino
9c77442e63 bring in latest kame doc. talk about ah tunnel caveat. 2000-07-17 02:22:18 +00:00
Matt Jacob
e2dc1289d2 Clean up after oneself on exit. 2000-07-17 02:05:45 +00:00
Matt Jacob
0bee04cc98 Preserve CAM_DIS_DISCONNECT as passed up from SIM (like
CAM_TAG_ACTION_VALID and CAM_DIR_MASK). Remove redundant
CAM_DEBUG line. Spiff up CAM_DEBUG printout for commands
and move the printout up to the top where we can see it,
even for the pending_ua/pending_ca cass. Add missing
newline in a CAM_DEBUG.
2000-07-17 01:45:51 +00:00
Matt Jacob
a4eb4f1646 Whoops- forgot to commit this other pearl from Justin- only set or
clear CAM_TAG_ACTION_VALID if this is an XPT_SCSI_IO CCB (otherwise,
the peripheral driver knows best...)..
Obtained from:gibbs@freebsd.org
2000-07-17 00:43:47 +00:00
Matt Jacob
a4de02ec12 Roll back target mode f/w to 7.55- 7.65 hangs when presented with a
non-disconnecting command. Interestingly enough, of the other flavors
of the 7.65 f/w (the dual-id and multi-id flavor)- the dual-id doesn't
hang (they're also supposed to be the same except for supporting dual
or multi-id capture!), but other things are questionable as well.
2000-07-17 00:34:52 +00:00
Marcel Moolenaar
d5124417a7 Implement pread and pwrite.
PR: 17991
Submitted by: Geoffrey Speicher <geoff@caribbean.sea-incorporated.com>
2000-07-17 00:17:07 +00:00
Marcel Moolenaar
6037da7d24 Add prototypes for linux_pread and linux_pwrite.
PR: 17991
Submitted by: Geoffrey Speicher <geoff@caribbean.sea-incorporated.com>
2000-07-17 00:13:38 +00:00
David Malone
fddde8b056 Don't try to make files immutable (ie. chflags) before setting access times.
PR:		19973
Submitted by:	Arjan de Vet <Arjan.deVet@adv.iae.nl>
Reviewed by:	Matthew Jacob <mjacob@feral.com>
2000-07-16 23:22:15 +00:00
Dag-Erling Smørgrav
e66b380285 #ifdef DEBUG -> #ifndef NDEBUG
Pointed out by:	ache
2000-07-16 23:18:44 +00:00
Marcel Moolenaar
ddb48608ab Implement setfsuid and setfsgid. Implementation derived from patch
in PR.

PR: 16993
Submitted by: Bjoern Groenvall <bg@sics.se>
2000-07-16 21:23:34 +00:00
Ben Smithurst
044e09a0a8 1. "braces" -> "brackets" when referring to [ and ].
PR:		19894
Submitted by:	Tony Finch <dot@dotat.at>

2.   "brackets" -> "angle brackets" when referring to < and >.

3.  Clean up the bit about creating the usage() message.  After clarifying a
couple of points the sentence became rather long, and rather poor English, so
it was converted to a enumerated list instead.

parts 1, 2, 3:
Reviewed by:	sheldonh
2000-07-16 20:46:43 +00:00
Ben Smithurst
e63d1b73d3 Clarify that CVSup doesn't understand comments in refuse files.
PR:		19949
Submitted by:	Jun Ushida <ushida@msa.biglobe.ne.jp>
2000-07-16 20:34:54 +00:00
Nick Hibma
fba108ec94 Add some detection code for the InSystem USB cable (ATAPI support not yet
there, so the cable does not work yet)
2000-07-16 17:40:23 +00:00
Mitsuru IWASAKI
575c57687f PCCard entry cleanup:
- Remove unit numbers in config lines.
 - Remove all of logger lines and add logstr lines for some cards.  This
   changes reduced file size from 84k to 45k.
 - Use '/sbin/ifconfig $device delete' instead of /etc/pccard_ether_remove
   which haven't merge from PAO yet.
 - Cosmetic changes.
2000-07-16 17:33:54 +00:00
Nick Hibma
7f2b4ad54a And another buffer overflow. Maybe next time I should read the manpage for
strlen.

This one only occurs if there is exactly one element on the line without any
whitespace. This is however never a valid line, so not a big chance that
this would ever cause any problems.
2000-07-16 17:28:01 +00:00
MIHIRA Sanpei Yoshiro
f20f83ab5f [Merge from PAO]
add about 67 entry and rewrite 18 entry
	change Xircom CompactCard Ethernet 10 entry
		config 0x20 -> auto

Reviewed by:	iwasaki
Obtained from:	PAO3
2000-07-16 14:33:47 +00:00
Mark Murray
1200a0a6e4 WITH_IDEA --> MAKE_IDEA fix. 2000-07-16 12:20:28 +00:00
Wilko Bulte
64ac9827f2 Document Ethernet card reqs for SRM boot. Note that 8255x (fxp)
does not currently work correctly on alpha.
2000-07-16 11:38:01 +00:00
Andrey A. Chernov
8804e81e7e Bump __FreeBSD_version to indicate mtree defaults changed back to original 2000-07-16 10:02:34 +00:00
Mark Murray
7d4e8b5df8 Don't break the ability to debug the kernel when gathering entropy.
Pointed out by:	bde
2000-07-16 09:25:04 +00:00
Andrey A. Chernov
c5dfaf05b1 Add -L to mtree to preserve old functionality exact 2000-07-16 08:58:02 +00:00
Andrey A. Chernov
8b873d926b Add -L to mtree.
Not shure ever it needed for MFS, but just to keep old behaviour exact, can be
removed later
2000-07-16 08:44:40 +00:00
Andrey A. Chernov
25718fe3f0 Fix getopt string I forget 2000-07-16 08:22:38 +00:00
Andrey A. Chernov
06eaff03b7 Forget to add -L to one mtree call 2000-07-16 08:20:54 +00:00
Andrey A. Chernov
043ada1051 Add -L to mtree 2000-07-16 08:19:49 +00:00
Andrey A. Chernov
590694fb28 Add -L to mtree calls since default changed back 2000-07-16 08:02:48 +00:00
Andrey A. Chernov
106beffea3 Add -L to mtree calls since defaults changed back 2000-07-16 07:58:25 +00:00
Jun-ichiro itojun Hagino
059e468480 s/IPSEC_IPV6FWD/IPSEC/. this avoids unexpected behavior on ipv6 fowarding.
(even if you ask for tunnel-mode encryption packets will go out in clear)
sync with kame.
2000-07-16 07:56:54 +00:00
Andrey A. Chernov
1896f37452 Revert back to original mtree default behaviour to not follow symlinks, to be
compatible with other *BSD camp.  Add -L option to follow symlinks, so remove
-P option which is now default. The next step will be to add -L to building
process.

Asked-by: 	bde
2000-07-16 07:55:07 +00:00
David E. O'Brien
489fa7954a Add FreeBSD Id to make this easier to track. 2000-07-16 06:33:13 +00:00
David E. O'Brien
b9cee99a1e Squeeze the BOOTMFS kernel image some more. The Alpha kernel was simply
over flowing its britches.  So remove all ppbus bits except those for PLIP
(untested), and all USB bits as SRM does not know what USB is.  Also remove
/dev/random as I don't think we need it just for whacking bits onto a disk.

Approved by:	JKH
2000-07-16 06:32:28 +00:00
Warner Losh
409e887c85 Take jdp's excellent message to -current about the internat crypto
files and put it in my freebsd web area.  Rewrite the entry in
UPDATING to point to it the message and hopefully not confuse people
like the old one did.
2000-07-16 06:00:40 +00:00
Peter Wemm
4577434fff Forced commit. This is to try and help folks that used the international
crypto repo and have slightly different files but with the same version.
cvsup in 'checkout mode' has no trouble with this, but cvs can get really
silly about it.
2000-07-16 05:53:14 +00:00
Peter Wemm
ecece7e319 Add missing $FreeBSD$ to files that are NOT still on vendor a branch. 2000-07-16 05:48:49 +00:00
Kenneth D. Merry
259665fa0a Get rid of non-existent CAM 'scan' device.
PR:		19961
Submitted by:	Cyrille Lefevre <clefevre@citeweb.net>
2000-07-16 02:49:23 +00:00
Jun-ichiro itojun Hagino
978ee2ed92 improve route/nd cache cleanup on interface removal.
CAVEAT: haven't really tested it yet, please report
2000-07-16 01:46:42 +00:00
David Nugent
670eb236c0 Catch up to the fact that we now have tcsh in the tree. 2000-07-16 01:46:26 +00:00
Dag-Erling Smørgrav
6290ee735b Reinsert the MIT copyright, which applies to the base64 code and was
left out by accident during the rewrite.
2000-07-16 01:04:10 +00:00
Dag-Erling Smørgrav
78394463ee Better signal handling.
Submitted by:   green
2000-07-16 00:47:00 +00:00