christos
cda1870a45
Coverity CID 28: Fix resource leak.
2006-04-04 21:29:42 +00:00
christos
99f1624bd3
Coverity CID 97: Remove dead code.
2006-04-04 21:27:42 +00:00
jld
00f39ded1b
Change diagnostic assertions to DEBUG-conditionalized printfs.
...
(Alternately, XEN_CLOCK_DEBUG may be defined to enable just the
checks in this module.)
2006-04-04 21:08:47 +00:00
wiz
d2420fdc86
Bump date for previous.
2006-04-04 20:48:21 +00:00
wiz
e9821b1244
Sort SEE ALSO; mark up -; end sentence with dot.
2006-04-04 20:45:41 +00:00
wiz
0f177102d6
Whitespace nits.
2006-04-04 20:34:46 +00:00
bouyer
65b5449cc4
Add NetBSD CVS Id.
2006-04-04 20:30:30 +00:00
wiz
e4293af91f
Sort SEE ALSO, bump date for previous.
2006-04-04 20:26:33 +00:00
wiz
9f0633f5c3
Sort options. Add RCS Id. Adapt a bit for NetBSD; needs more work
...
(e.g. removing kldloader references)
2006-04-04 20:25:14 +00:00
riz
99cd9e5be7
Correct a couple of typos in comments ("Hook info" -> "Hook into",
...
"prescision"->"precision")
2006-04-04 19:38:38 +00:00
mrg
a9fc8e65cd
actually, chuq says that now kcopy(9) should return a real errno in
...
the failure case (usually what ever uvm_fault() returned.)
2006-04-04 18:50:27 +00:00
mrg
d7ac53c209
be explicit about what the return values of kcopy(9) are: zero for success
...
and non-zero for failure. (this documents practice - there are -1, EFAULT
and semi-random non-zero values returned.)
2006-04-04 17:33:40 +00:00
christos
5e406be836
Coverity CID 1083: Avoid possible NULL pointer deref.
2006-04-04 17:30:20 +00:00
pavel
929734802b
Correct typo in a panic message.
2006-04-04 17:12:57 +00:00
martti
cda1799407
IPF 4.1.13
2006-04-04 16:20:21 +00:00
martti
7967220333
Removed BROKEN_TCP_WINDOW_CHECK hack.
2006-04-04 16:19:05 +00:00
martti
10531caa29
Removed file.
2006-04-04 16:18:56 +00:00
martti
b52bb48fee
Fix compilation problems.
2006-04-04 16:18:27 +00:00
martti
9ea58d54bc
Upgraded IPFilter to 4.1.13
2006-04-04 16:17:18 +00:00
martti
983a2072ce
Import IPFilter 4.1.13
2006-04-04 16:08:18 +00:00
rpaulo
b5d1102290
Add another bit from FreeBSD that I forgot: in tun_output, don't try to send
...
an AF_INET packet if TUN_IFHEAD is not set.
From FreeBSD and spotted (again) by DEGROOTE Arnaud.
2006-04-04 15:43:23 +00:00
dyoung
ca9de39d07
If MKUUCP=no, do not create links for cu and its manual page.
2006-04-04 15:09:50 +00:00
christos
afa610222b
Coverity CID 1002: Yes, this could really be NULL, so check against it.
2006-04-04 14:24:15 +00:00
christos
b33df30820
Coverity CID 1087: Clarify NULL test.
2006-04-04 14:21:55 +00:00
christos
e2b3af9d2c
Coverity CID 1140: NULL dereference cannot happen, but protect against it.
2006-04-04 14:18:35 +00:00
christos
41a4245aa5
Coverity CID 2413: NULL deref cannot happen, but nevertheless protect against
...
it.
2006-04-04 14:16:46 +00:00
gdt
1f2387e0e9
list gdt as responsible for coda
2006-04-04 13:30:59 +00:00
gdt
4d48cb3530
Update list of todo items, and note that old items are from 1998 and
...
thus likely no longer correct.
2006-04-04 13:20:39 +00:00
gdt
73e63e429a
Check symlink count and pointer returned from userspace before
...
dereferencing it. (I added this during search for the problem fixed by
the earlier readlink buffer allocation fix, and the checks have not
triggered. Still, it's wrong of the kernel to use pointers from user
space without validation.)
2006-04-04 13:11:08 +00:00
nakayama
616dcaceb9
Add missing "-elf" suffix to ATH_HAL for sparc and sparc64.
2006-04-04 13:00:23 +00:00
rpaulo
ca98b087a8
Fix a if-clause botched in a previous revision now that we have TUN_IFHEAD.
...
Spotted by DEGROOTE Arnaud <degroote@enseirb.fr>.
2006-04-04 11:33:15 +00:00
rpaulo
11a20f0dec
Change the number of TUN[GS]IFHEAD to avoid collision with if_pp.
...
Noticed by Simon Burge.
2006-04-04 11:23:59 +00:00
cherry
fb6529c627
Sleeps hard disk just before system shutdown.
...
Some hardware (eg: Apple iBooks) don't do this automatically
and the harddisk behaves as if the power plug were pulled.
Closes PR: kern/32766
2006-04-04 07:11:45 +00:00
wiz
da9647bfba
Bump date, so that version in src and pkgsrc have the same
...
version _and_ the same code.
2006-04-04 06:38:53 +00:00
gdamore
daaee9c532
Add support for using the MIPS Atheros HAL.
...
Atheros WLAN added to default evbmips DBAU1500, DBAU1550, and MTX-1 configs.
Note that AR5312 config will require unique HAL that we don't have yet.
2006-04-04 04:30:28 +00:00
gdamore
75670ddc44
Convert existing ath users to new Makefile, except for amd64, which needs
...
the rules due to needing to conditionally postprocess the HAL object file.
Macppc needs a a non-ELF HAL (EABI) object, so take care of that by default
in the atheros include file.
2006-04-04 03:13:12 +00:00
jld
344266fa22
Fix typo: and -> an
2006-04-04 02:20:35 +00:00
gdamore
27ea646343
Centralize rules for building atheros HAL for various supported platforms,
...
including easy override mechanism for ports that need it.
To use this, just .include this file instead of listing explicit rules
for building the target. A change to std/conf/files will be made shortly
that lists /athhal.o as an object if "ath" is defined.
If you need to override the default HAL selected for some reason (for example
to use an xscale version of the HAL on evbarm kernels that support it), add
a "makeoptions ATH_MACHINE_HAL=<hal>", for example to select the XScale
LE configuration you could use "makeoptions ATH_MACHINE_HAL=xscale-le-elf".
2006-04-04 01:26:53 +00:00
rpaulo
0dcbc9b794
Implement TUN_IFHEAD, the missing piece that was breaking old applications.
2006-04-03 23:29:39 +00:00
uwe
752f872bf4
Fix indentation nits.
2006-04-03 21:18:20 +00:00
uwe
d5925f5050
Honor RI_FULLCLEAR in igsfb_accel_eraserows.
2006-04-03 21:03:15 +00:00
uwe
774263e48a
Properly fix cursor sprite endianness problems: always build
...
cc_sprite[] in little-endian, as that's how the card wants it.
Tested on netwinder (hardware bswap) by myself, and on current krups
kernel (no bswap) and 3.0 krups kernel (software bswap) by macallan.
2006-04-03 20:44:35 +00:00
christos
6bd51d8bb0
PR/32683: Dieter Baron: gdb/i386 cannot single step of shared library functions.
...
Indicate that we are in the solib trampoline is when we are in the plt section
(from uwe).
2006-04-03 17:09:58 +00:00
gdamore
791851b497
Add entry for Atheros HAL.
2006-04-03 17:01:22 +00:00
rittera
9f5b030f1a
#included sys/lock.h which is apparently needed in order for ndiscvt to
...
compile on NetBSD.
2006-04-03 16:29:57 +00:00
tls
1189bd8566
Make this locking compatible with that of the new tip/cu: we still try
...
the old-style UUCP locks (this is harmless, since pppd must run as root,
but should perhaps be removed later) but now also try to flock the device
node, and error out if it fails.
2006-04-03 16:16:00 +00:00
tls
76f2334c55
Use closefrom, don't iterate over file descriptors from 3 to 20.
2006-04-03 16:13:34 +00:00
scw
bd13d3ce50
Add utoppy* at uhub?
2006-04-03 16:08:49 +00:00
tls
a973ebec53
Replace abuse of SIGIOT, SIGEMT, SIGSYS for communication between the
...
TIPIN and TIPOUT processes with a third "attention" pipe. While we're
here, fix a few other minor nits like the hardcoded use of fd 3 in
consh().
Now ~+/~C appear to work. This must have been broken for years.
2006-04-03 16:03:50 +00:00
cherry
3627104dbe
Encapsulated the MD test: phdr[i].p_type & PT_LOPROC out of MI code,
...
and into MD_LOADSEG() as suggested by Christos.
2006-04-03 15:45:36 +00:00