Commit Graph

152474 Commits

Author SHA1 Message Date
mlelstv
a3ee681f33 Abort decompression with an error when EOF is reached on input. The
test output will then be 'NOT OK'. Fixes PR bin/32933.
2006-10-13 20:16:32 +00:00
macallan
222fbf8824 clear only interrupts we really use, fixes weirdnesses with PCMCIA cards on
my PB3400
2006-10-13 19:48:41 +00:00
dogcow
44603cac1f more unused variable fallout. 2006-10-13 18:28:06 +00:00
tnozaki
65b88fc7e0 PR/30809 added manpages of wcswcs(3) and wcscoll(3), wcsxfrm(3)
(wcs?width and wprintf are already in repository).
2006-10-13 17:28:09 +00:00
dogcow
2023789a40 More -Wunused fallout. sprinkle __unused when possible; otherwise, use the
do { if (&x) {} } while (/* CONSTCOND */ 0);
construct as suggested by uwe in <20061012224845.GA9449@snark.ptc.spbu.ru>.
2006-10-13 16:53:35 +00:00
elad
c136b6cd0d Refactor code a bit so we only use kmem when we really need it. 2006-10-13 16:33:57 +00:00
elad
8c494ca741 Introduce KAUTH_REQ_NETWORK_SOCKET_CANSEE. Since we're not gonna be having
credentials on sockets, at least not anytime soon, this is a way to check
if we can "look" at a socket. Later on when (and if) we do have socket
credentials, the interface usage remains the same because we pass the
socket.

This also fixes sysctl for inet/inet6 pcblist.
2006-10-13 15:39:18 +00:00
tsutsui
498acdb572 Use a non-zero quality for mftb counter. 2006-10-13 14:17:37 +00:00
yamt
e3c9a705bc re_start: fix tx stall. 2006-10-13 11:06:15 +00:00
yamt
04200ace96 re_txeof: fix watchdog timeout. 2006-10-13 11:02:38 +00:00
hannken
e94d6cd4a7 Add __unused to unused function arguments. 2006-10-13 10:42:19 +00:00
hannken
1dac4c24ec More __unused (COMPAT_OSOCK not defined). 2006-10-13 10:29:41 +00:00
hannken
3e0dbf3bc5 Add __unused to unused function arguments. 2006-10-13 10:21:21 +00:00
hannken
a92696acd1 More __unused (NPCPPI == 0 case). 2006-10-13 10:09:36 +00:00
peter
463fbff409 Only compile in pf specific code when pf is configured.
Fixes kernel build when ALTQ is configured and pf not.
2006-10-13 09:57:28 +00:00
he
1d78afbff8 Fix set lists so that prop_number_equals_integer.0 is there as well. 2006-10-13 05:03:50 +00:00
wiz
361e86f38f Bump date for previous. 2006-10-13 00:20:00 +00:00
wiz
f592019bff Bump date for previous.
New sentence, new line.
2006-10-13 00:19:21 +00:00
uwe
bb003f9487 More __unused (in cpp conditionals not touched by i386). 2006-10-12 21:35:00 +00:00
uwe
bdfc8192a4 Add __unused to unused function arguments. 2006-10-12 21:31:29 +00:00
uwe
44b3507820 -Wextra fixes 2006-10-12 21:19:13 +00:00
peter
0f87202ad8 Use another number for JOBS_CLEAR because it clashes with PRIQ_CLEAR. 2006-10-12 21:13:53 +00:00
salo
df733399d6 Add a couple of (mostly) 802.11 related terms, WEP, WPA, EAP, PSK. 2006-10-12 20:47:55 +00:00
dogcow
e0909532c0 even more __unused. 2006-10-12 20:18:19 +00:00
dogcow
e5fd0c244b more __unused; also, ew, K&R decls. 2006-10-12 20:16:59 +00:00
peter
dd191f37f3 Merge the peter-altq branch.
(sync with KAME & add support for using ALTQ with pf(4)).
2006-10-12 19:59:07 +00:00
dogcow
ede54d51fa more __unused. (hi, christos!) 2006-10-12 19:45:32 +00:00
dogcow
64d163c11c de-__Pify, ANSIfy, and add __unused where necessary. 2006-10-12 19:28:47 +00:00
thorpej
3b2ca36caa Appease our stupid lint. 2006-10-12 18:52:55 +00:00
xtraeme
7455ba536b sigh, another missing __unused. 2006-10-12 17:50:07 +00:00
christos
c3c402ca3b kill __unused 2006-10-12 16:19:06 +00:00
cube
cdaa7fb3df Don't do PCI stuff if there is no PCI. PR#31971 by Lubomir Kundrak. 2006-10-12 15:28:30 +00:00
pavel
529cc0c586 Apply patch from Hauke Fath to solve port-mac68k/29049: sysinst did not
newfs and mount the target filesystem.

In Hauke's words: "Basically, the mac68k md_make_bsd_partitions() function,
which replaces the MI make_bsd_partitions() because the mac68k port does not
have an on-disk BSD disklabel, neglected to sign up BSD partitions for
newfs'ing and mounting by setting the appropriate flags."

Revert the commit to the install notes (rev. 1.14 of notes/mac68k/prep) which
added a warning and a workaround for this bug, as requested by hubertf in the
PR log.
2006-10-12 12:46:18 +00:00
rpaulo
c1fc16d084 PR 34776: don't accept TCP connections to broadcast addresses.
Move the multicast/broadcast check above (before creating a syn_cache entry)
By Yasuoka Yasuoka.
2006-10-12 11:46:30 +00:00
yamt
0a8c1584c7 remove unnecessary #include of vnode.h. 2006-10-12 10:14:43 +00:00
yamt
9de1cdc8fe move some knowledge about vnode into uvm_vnode.c. 2006-10-12 10:14:20 +00:00
yamt
b290489c81 whitespace. 2006-10-12 10:13:35 +00:00
yamt
0b30e1501c uobj_wirepages and uobj_unwirepages from Mindaugas. PR/34771.
(commented out in files.uvm for now because there is no user in tree.)

http://mail-index.netbsd.org/tech-kern/2006/09/24/0000.html
http://mail-index.netbsd.org/tech-kern/2006/10/10/0000.html
2006-10-12 10:11:57 +00:00
yamt
35048d7491 genfs_putpages: don't try to deactivate loaned pages.
reported and tested by Nicolas Joly on current-users@.
2006-10-12 10:10:48 +00:00
yamt
39c1d8e71e - include uvm_extern.h for vm_prot_t.
- add a forward decl of struct lwp.
2006-10-12 09:28:05 +00:00
yamt
24a777197d intr_establish: add a missing ";" in the case of NIOAPIC==0. 2006-10-12 09:01:02 +00:00
tacha
7a76839cea All members of PLAN should be initialized. 2006-10-12 08:46:18 +00:00
xtraeme
1b2a823a5f Use __unused in function arguments where appropiate. 2006-10-12 07:43:39 +00:00
xtraeme
9b97f910cf More -Wunused warnings. 2006-10-12 07:39:27 +00:00
xtraeme
4a09170d84 Use __unused in function arguments where appropiate. (hi christos) 2006-10-12 06:56:47 +00:00
thorpej
7dadf8e782 Note signed/unsigned changes to prop_number(3). 2006-10-12 04:49:46 +00:00
thorpej
8f6016c4e6 Bump libprop version to 0.4. 2006-10-12 04:48:09 +00:00
thorpej
873293facc Make prop_number_t handle both signed and unsigned numbers. The *integer*
routines now take int64_t arguments, and new *unsigned_integer* routines
take uint64_t arguments.  See prop_number(3) for complete details.
2006-10-12 04:46:56 +00:00
thorpej
b5c9ebab95 Make this compile with -Wunused and handle the case where __predict_false()
is not defined (non-NetBSD environments).
2006-10-12 04:43:20 +00:00
thorpej
4c9ab4b0a8 _prop_object_fini(): Consume all of the arguments. 2006-10-12 04:41:51 +00:00