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
christos
e0b8cfed06
Coverity CID 2287: Fix memory leak.
...
Plus:
- change fprintf -> errx
- remove unneeded casts
- avoid err() shadowing
2006-04-03 15:21:26 +00:00
tls
374e37364a
Move "cucommon" label (ugh) to above the O_NONBLOCK handling for direct
...
connections. This stops the tipout process from spinning.
2006-04-03 14:54:16 +00:00
christos
cb82eb0f6b
Redo the previous in the tip sanctioned way :-)
2006-04-03 14:12:29 +00:00
cherry
50756fb219
Allows processor ABI specific ELF segment loads.
...
If the macro MD_LOADSEG defined in
machine/loadfile_machdep.h evaluates to 1, the machine
specific segment is loaded.
See: http://mail-index.netbsd.org/tech-kern/2005/12/30/0003.html
2006-04-03 14:08:41 +00:00
martin
d6d78510c3
printf format fixes for 64bit archs
2006-04-03 13:30:24 +00:00
skrll
c965f60a50
Remove empty lines.
2006-04-03 13:23:15 +00:00
he
3a81e1c420
For the benefit of our 64-bit ports, we need to cast via intptr_t when
...
casting from pointer to unsigned int.
2006-04-03 13:00:48 +00:00
uwe
11419c1870
Build XFree86 server on netwinder with a minimal set of generic drivers
...
(XFree doesn't have a driver for CyberPro cards).
2006-04-03 11:15:17 +00:00
uebayasi
71f939eb25
Oops; put back -ffreestanding to avoid function prototype mismatch.
2006-04-03 09:08:03 +00:00
scw
aefe7288c0
Add utoppy* at uhub?
2006-04-03 08:53:22 +00:00
scw
e3b72e26b7
Note addition of utoppya(1) and utoppy(4)
2006-04-03 08:21:21 +00:00
scw
34b4a96dbb
Add a kernel driver and userland program for the Topfield TF5000PVR range
...
of digital video recorders popular in Europe and Australia.
These devices have a USB client port which can be used to upload and
download recordings (and other files, such as MIPS binaries for execution
on the DVR's CPU) to/from their internal hard disk, in addition to some
other operations on files and directories.
2006-04-03 08:15:48 +00:00
scw
842f766ad5
Regen.
2006-04-03 07:15:01 +00:00
scw
310e551bbb
Add vendor id for Topfield Co., Ltd.
...
Add product id for the TF5000PR range of digital video recorders.
2006-04-03 07:14:03 +00:00
uebayasi
c00933e927
Comment about what this is like to prevent future mistake...
2006-04-03 06:22:45 +00:00
uebayasi
979db3a4b2
Fix build of this mysterious boot program; a userlevel bootloader run on
...
NetBSD and boot NetBSD (!).
The program was run from within boot-only, NetBSD-as-bootloader as a userlevel
program, then in-kernel boot code loads another NetBSD image and jumps to
it.
2006-04-03 06:15:00 +00:00
wiz
e9a003bced
Use Dq, punctuation vs whitespace nits.
2006-04-03 05:56:20 +00:00
yamt
e6e5a0e51b
actually set up baudrate after rev.1.33.
2006-04-03 05:08:40 +00:00
yamt
25e67975a5
fix a typo in LINKS.
2006-04-03 05:05:55 +00:00
christos
c4341bc3e1
Pass a little lint.
2006-04-03 04:53:58 +00:00
perry
29dc02e572
delinting. more needed. (lint found some real bugs that I haven't fixed yet.)
2006-04-03 04:25:30 +00:00
perry
b43b6e6666
Merge a few of the OpenBSD manual page changes. Not yet close to
...
finished but I have to break for now and Thor will probably pick up
from where I left off.
2006-04-03 03:46:34 +00:00
tls
125606b781
Wwwwwwww! Do not remove variables from the vtable in vars.c without
...
changing the indices in tip.h -- what a terrible design.
Okay, "design". Fine. Whatever. ;-) Now we don't dump core all the time.
2006-04-03 03:13:10 +00:00