Commit Graph

113476 Commits

Author SHA1 Message Date
Gleb Smirnoff
8bb55179ad Plug item leak in case when NGI_FN is applied to invalid node.
Submitted by:	Roselyn Lee
MFC after:	3 days
2005-03-10 19:27:08 +00:00
Poul-Henning Kamp
2647407860 One more bit of the major/minor patch to make ttyname happy as well. 2005-03-10 18:49:17 +00:00
Poul-Henning Kamp
b43ab0e378 Try to fix the mess I made of devname, with the minimal subset of the
larger minor/major patch which was posted for testing.
2005-03-10 18:21:34 +00:00
Warner Losh
530a692468 Fix a couple of problems with the probe code when used with pnpbios
resources.  When allocating 6 ports for a 4 port range isa code
returns an error.  I'm not sure yet why this is the case, but suspect
it is just a non-regularity in how the resource allocation code works
which should be corrected.  Use 1 as the ports size in this case.
However, in the hints case, we have to specify the length, so use 6 in
that case.  I believe that this is also acpi friendly.

Also, complain when we can't allocate FDOUT register space.  Right now we
silently fail when we can't.  This failure is referred to above.

When there's no resource for FDCTL, go ahead and allocate one by hand.
Many PNPBIOS tables don't list this resource, and our hints mechanism also
doesn't cover that range.  If we can't allocate it, whine, but fake up
something.  Before, we were always bogusly faking it and no one noticed
the sham (save the original author who has now fixed his private shame).
2005-03-10 18:09:25 +00:00
Alexey Zelkin
f07a48ddd9 Update comment to reflect default GENCAT value (changed in previous rev)
Reminded by:	Joerg Sonnenberger
2005-03-10 15:58:16 +00:00
Hartmut Brandt
da559dbfd0 Constify Var_Dump and simplify it by inlining VarPrintVar. 2005-03-10 15:38:01 +00:00
Hartmut Brandt
248cf569be Call ParseFinishLine() for the last line of a file too. 2005-03-10 15:30:09 +00:00
Gleb Smirnoff
0504a89fdd Add antifootshooting workaround, which will make all routes "connected"
to carp(4) interfaces host routes. This prevents a problem, when connected
network is routed to carp(4) interface.
2005-03-10 15:26:45 +00:00
Hartmut Brandt
6dfe1d848e Reorganize Suff_EndTransform to be called only for nodes for
which it is needed (transforms).
2005-03-10 14:54:47 +00:00
Denis Peplin
d7011881e7 MFen 1.274 -> 1.275 2005-03-10 14:21:32 +00:00
Robert Watson
47605579c9 Marginally reformat my copyright statement to remove the spurious ','. 2005-03-10 14:19:31 +00:00
Denis Peplin
0f970d7612 Add a Russian override of dev-auto.sgml (device entities only)
and example script which can translate some repeated device
entities.  With -o <file> option it can be used to update
translated list of entities (skip translated ones).

Obtained from:  The FreeBSD Russian Documentation Project
2005-03-10 14:15:08 +00:00
Yoshihiro Takahashi
e3e5366a05 Backout revision 1.20. I was a misunderstanding.
Pointed out by:	Watanabe Kazuhiro
Pointy hat to:	nyan
2005-03-10 13:07:32 +00:00
Denis Peplin
d10c16f752 Remove early-adopter translation from HEAD 2005-03-10 11:44:05 +00:00
Hajimu UMEMOTO
858ff96a88 use cast128 in opencrypto to nuke duplicate code. 2005-03-10 11:40:53 +00:00
Hartmut Brandt
8c87f5a0c7 Style: fix function style before working on it (mainly intendation). 2005-03-10 10:16:03 +00:00
Colin Percival
2fc230e298 Belatedly update the md5(1) man page to reflect the addition of sha256. 2005-03-10 09:56:39 +00:00
Hartmut Brandt
f81e89ed1d Add a man page for ng_ccatm(4).
Reminded by:	brueffer
2005-03-10 09:28:39 +00:00
Stefan Farfeleder
1f7d62b344 Avoid pointer arithmetics on void *.
Approved by:	alfred
2005-03-10 08:25:49 +00:00
Christian Brueffer
3096e5d2d6 s/cdrom/CD-ROM/
MFC after:	3 days
2005-03-10 08:07:59 +00:00
Stefan Farfeleder
08baa8a1fa Remove an superfluous assignment.
Approved by:	alfred
2005-03-10 00:58:21 +00:00
Stefan Farfeleder
720138bbde Use socklen_t where appropriate.
Approved by:	alfred
2005-03-10 00:57:01 +00:00
Paul Saab
e891d82b56 Add limits on the number of elements in the sack scoreboard both
per-connection and globally. This eliminates potential DoS attacks
where SACK scoreboard elements tie up too much memory.

Submitted by:	Raja Mukerji (raja at moselle dot com).
Reviewed by:	Mohan Srinivasan (mohans at yahoo-inc dot com).
2005-03-09 23:14:10 +00:00
Simon L. B. Nielsen
4da9b346a7 - Auto generate device listings for snd_vibes(4) and snd_via82c686(4).
- Sort dev.archlist.txt.
2005-03-09 22:44:23 +00:00
Simon L. B. Nielsen
69921a6d1c Add manual page for snd_via82c686(4).
Submitted by:	Joel Dahl <joel@automatvapen.se>
PR:		docs/78586
MFC after:	3 days
2005-03-09 22:39:26 +00:00
Simon L. B. Nielsen
a064211729 Add manual page for snd_vibes(4).
Submitted by:	Joel Dahl <joel@automatvapen.se>
PR:		docs/78580
MFC after:	3 days
2005-03-09 22:31:56 +00:00
Robert Watson
53358cc907 Document, via WITNESS, that the NFS server mutex falls ahead of the socket
buffer mutexes.
2005-03-09 21:38:53 +00:00
Colin Percival
186c183c23 In light of the recent 2^69 operation collision-finding attack on SHA1,
add support for SHA256.

Tested on:	i386, sparc64
Tested using:	NIST test vectors, built-in tests
X-MFC-after:	5.4-RELEASE
2005-03-09 19:23:04 +00:00
Hiroki Sato
3765fba6c1 Markup fixes: use &tm.*;, &man.*;, and <quote>. 2005-03-09 18:41:42 +00:00
Hiroki Sato
142cd93898 Retire the Early Adopter's Guide in HEAD. 2005-03-09 18:32:29 +00:00
Hiroki Sato
d8a46c80db New release notes:
ddb(4) "show alllocks" command,
	fix reading config files with a line without a newline character,
	TCP RST handling improved and net.inet.tcp.insecure_rst sysctl,
	lpd(8) data file check, and
	syslogd(8) ":" and "%" characters in hostname.

MFC:
	ipfw with debug.mpsafenet=1.
2005-03-09 18:21:42 +00:00
Roman Bogorodskiy
f7dc064cb6 Add myself.
Approved by:	krion (mentor)
2005-03-09 17:41:42 +00:00
Hartmut Brandt
a2e5fa0890 Implement a new macro LST_NEXT which is like Lst_Succ but doesn't check
for its argument to be non-NULL.
2005-03-09 16:53:31 +00:00
Hartmut Brandt
0d037244ba Split SuffExpandChildren into three functions: one that skips
variables and expands archive specifications, one that expands
wild cards and a driver that loops over the children list and
expands each child if necessary replacing it with it's expansions.
2005-03-09 16:51:43 +00:00
Colin Percival
c7981eaee3 The third parameter to SHA_Update and SHA1_Update is a "size_t", not a
"unsigned int".
2005-03-09 16:22:21 +00:00
Sam Leffler
95ef8c711c connect wlan_acl to the build
Submitted by:	Alexey Zelkin
2005-03-09 15:53:27 +00:00
John Baldwin
dd1d2889f2 - Remove the BURN_BRIDGES marked support for hooking into the ISA timer 0
interrupt.
- Remove the timer_func variable as it now has a static value of
  hardclock() and is only used in one place.

Axe borrowed from:	phk
2005-03-09 15:33:58 +00:00
Sam Leffler
afa3570d6f correct space check
Submitted by:	ume
2005-03-09 15:28:48 +00:00
Hajimu UMEMOTO
d34fd3c7e0 reported from VANHULLEBUS Yvan [remote kernel crash may result]
Submitted by:	itojun
Obtained from:	KAME
MFC after:	1 day
2005-03-09 14:39:48 +00:00
Denis Peplin
8413f1ccdd Merge the following from the English version:
1.261 -> 1.274 hardware/common/dev.sgml
   1.13 -> 1.14 hardware/i386/proc-i386.sgml
   1.4 -> 1.5 hardware/pc98/proc-pc98.sgml
   1.28 -> 1.30 installation/common/install.sgml
   1.780 -> 1.782 relnotes/common/new.sgml
2005-03-09 14:03:59 +00:00
Stefan Farfeleder
ca6c5ccd4b Device counts are gone. 2005-03-09 12:29:07 +00:00
Dag-Erling Smørgrav
628b83cd08 My addled brains didn't realize that since vtp points into value, we
can't freeenv(value) before we're done inspecting vtp[0].

Tested by:	Anish Mistry <mistry.7@osu.edu>
2005-03-09 12:16:45 +00:00
Stefan Farfeleder
3dc2fe25dc Fix dubious C code construct. 2005-03-09 11:57:32 +00:00
Stefan Farfeleder
b26244446b Fix typo in comment. 2005-03-09 11:50:55 +00:00
Stefan Farfeleder
63d45d7da0 __FUNCTION__ -> __func__ 2005-03-09 11:28:46 +00:00
Stefan Farfeleder
4eb55c7adc Prefer the __printflike() macro to GCC's __attribute__ stuff. 2005-03-09 10:10:51 +00:00
Gleb Smirnoff
2ef4a436e0 Make ARP do not complain about wrong interface if correct interface
is a carp one and address matched it.

Reviewed by:	brooks
2005-03-09 10:00:01 +00:00
John-Mark Gurney
ada6ba6ef3 spell resource correctly...
MFC after:	3 days
2005-03-09 07:56:09 +00:00
Hartmut Brandt
4ca8a80cb5 Var_Subst() cannot return NULL so there is no reason to check
for it.
2005-03-09 07:53:03 +00:00
David E. O'Brien
2a907aec6b Be consistent about the serial line terminal type.
CVS ----------------------------------------------------------------------
2005-03-09 03:57:08 +00:00