Commit Graph

162180 Commits

Author SHA1 Message Date
pavel
6fb3a9fdf6 regen the list of changes from NetBSD-4.0.xml rev 1.25 . Also, do not
add extra whitespace at the end of some lines.
2007-09-29 16:53:13 +00:00
hubertf
f03f64f273 regen 2007-09-29 15:40:58 +00:00
hubertf
7b080fd18e Fix the update-domains target:
update domains.sed to parse new HTML structure, and greatly simplify
it at the same time.
2007-09-29 15:40:31 +00:00
hubertf
d5f06899da First step at fixing the update-domains target:
Give the URL that's being redirected to, as ftp(1) can't parse&follow
the redirect automatically.
2007-09-29 14:24:08 +00:00
dsl
2e20a70dbf Change the way p->p_limit (and hence p->p_rlimit) is locked.
Should fix PR/36939 and make the rlimit code MP safe.
Posted for comment to tech-kern (non received!)

The p_limit field (for a process) is only be changed once (on the first
  write), and a reference to the old structure is kept (for code paths
  that have cached the pointer).
Only p->p_limit is now locked by p->p_mutex, and since the referenced memory
  will not go away, is only needed if the pointer is to be changed.
The contents of 'struct plimit' are all locked by pl_mutex, except that the
  code doesn't bother to acquire it for reads (which are basically atomic).
Add FORK_SHARELIMIT that causes fork1() to share the limits between parent
  and child, use it for the IRIX_PR_SULIMIT.
Fix borked test for both IRIX_PR_SUMASK and IRIX_PR_SDIR being set.
2007-09-29 12:22:30 +00:00
xtraeme
2a98ad5a88 Add two missing entries that someone forgot to add. 2007-09-29 11:17:08 +00:00
xtraeme
3b93bb68c4 Move entries from ticket #876 to CHANGES.prev now that it was pulled
up into the netbsd-4 branch.
2007-09-29 11:15:28 +00:00
bouyer
adc1896a31 Properly set b_resid in an error case.
Clamp b_resid to b_bcount in case the info field is larger. Fix a KASSERT
in physio() when a media error occurs on my SDLT320 drive (maybe this drive
is bogus for not setting the highter bits to 0 in the INFO field in this
case).
2007-09-29 11:04:51 +00:00
dsl
2b7c33c183 Use netbsd32_uint64 instead of fsblkcnt_t and fsfilcnt_t in order to get
the correct alignment (4 bytes for i386) for the whole structure.
2007-09-29 10:47:45 +00:00
kiyohara
3e56b57e2a We must not call bus_space_unmap() here. 2007-09-29 10:20:31 +00:00
tnozaki
fc34dcfbb7 s/__attribute__((__packed__))/__packed/g; 2007-09-29 08:10:17 +00:00
tnozaki
059d600590 1. add workaround for ctype.h is* funcs problem.
isspace((int)0xA0) should return false under LC_CTYPE=en_US.UTF-8,
   see: http://www.freebsd.org/cgi/query-pr.cgi?pr=116363&cat=gnu
2. change __runtable_to_netbsd_ctype() as reentrant.

patch ok'ed by tshiozak-san, thanks!
2007-09-29 07:55:45 +00:00
dyoung
97d392d2c5 Always build & link net/link_proto.c, since net/if.c needs it. 2007-09-28 22:52:13 +00:00
uwe
17bb5b2554 tlst[inptype(...)] is bad C code because inptype() can realloc tlst
and there's no intermediate sequence point!  We actually hit this on
sh3 with -O2 where gcc4 caches tlst in a register prior to recursive
call to inptype() and if you are unlucky the recursive call needs to
realloc tlst.

Introduce a temp variable to force a sequence point.
2007-09-28 21:53:50 +00:00
joerg
9e4ace25c5 Add kern.no_sa_support to easily detect whether a kernel supports
Scheduler Activation or not. This is a negative name as ld.so.conf
conditionals threat undefined sysctls like 0.
2007-09-28 21:25:21 +00:00
pooka
c4ad0e4da1 Release vnode being created in error branch instead of leaving it
locked.  Ideally the function should be rewritten to do things in
a different order, but this tries to keep changes minimal aiming
for a possible netbsd-4 pullup.

fixes PR kern/37034
2007-09-28 19:48:42 +00:00
tsutsui
b2791a870b Remove ugly port ifdefs around install media of MS-DOS floppy and Tape.
I don't think users will complain that their machine doesn't have it,
and it's worthless to maintain which ports support these devices or not.
2007-09-28 19:45:56 +00:00
tsutsui
3a408b6a40 Update sgimips kernel names. 2007-09-28 19:40:24 +00:00
tsutsui
f9c4ad0965 Several update for ews4800mips.
XXX: set sizes should be updated by list-setsizes.sh
2007-09-28 19:14:33 +00:00
tsutsui
668270d69e Remove "text only" from description of XA framebuffer on NWS-5000
since we have Xserver for it.
2007-09-28 18:27:42 +00:00
tsutsui
f780efe971 - alpha now requires three floppies
- newsmips now requires two floppies
2007-09-28 18:26:47 +00:00
tsutsui
cf02cebf04 First cut at NetBSD/ews4800mips install notes. Not well confirmed.
(I guess very few people will actually require it...)
2007-09-28 18:20:13 +00:00
ad
2b42802f4e Repair the RAS check. 2007-09-28 17:02:39 +00:00
msaitoh
fff21ff359 Fix three bugs.
1) Move a magic number writing code.
Fix a watchdog timeout and "block failed to stop" problem on BCM5701 B5 card.

2) Fix incorrect register write.
Fix a watchdog timeout "block failed to stop" problem on BCM5700 B2 card.

3) Wait more long time for PCISTATE register to return to its original
pre-reset state.
Fix "pcistate failed to revert" problem on BCM5703 A2 card.
2007-09-28 15:37:45 +00:00
njoly
69b70bfe60 Add ACPI address32 resource type support (DWord Address Space
Descriptor), for fixed size io and mem.

Fix hpet@acpi attachement on Dell Poweredge 860.
Tested by Wouter Schoot, thanks.

While here:
- Update some indentation
- Correct function check
- Add missing break
- Update wrong debug message

Reviewed by cube.
2007-09-28 15:16:16 +00:00
ad
9988fd44ee Shuffle registers a bit to make bus_space_write_region_N work again. 2007-09-28 14:33:10 +00:00
drochner
0e0b59826f apply a patch from openssl CVS to fix a remaining off-by-one error
in an older security fix, see
http://www.securityfocus.com/archive/1/480855/30/0/threaded
2007-09-28 13:09:26 +00:00
lukem
9b5022a3a6 add raise_default_signal 2007-09-28 09:12:49 +00:00
lukem
339d6e2876 regen for raise_default_signal 2007-09-28 09:12:19 +00:00
lukem
5f778f6e61 Add raise_default_signal(). 2007-09-28 09:11:11 +00:00
lukem
2aa3c760cc support nbtool_config.h. 2007-09-28 09:07:16 +00:00
pooka
db8a762626 comments & other minor maintenance 2007-09-27 23:25:10 +00:00
pooka
28636f63b4 Split routines handling nodes from puffs_subr to puffs_node.
No functional change.
2007-09-27 23:21:07 +00:00
pooka
6eff998647 silence lint. also noticed by xtraeme 2007-09-27 23:11:41 +00:00
pooka
1bbaeda6c3 nuke trailing , from enum. spotted by xtraeme 2007-09-27 23:10:42 +00:00
pooka
25d66b7667 Revert previous, it makes no sense whatsoever. 2007-09-27 23:03:25 +00:00
xtraeme
d6f5cb72fc Fix DEBUG builds and use %lx to print vaddr_t. 2007-09-27 22:43:15 +00:00
pooka
7f0d130f47 Undo state created in cookie2vnode if an error is returned. 2007-09-27 21:49:56 +00:00
pooka
7f467f6fac Differentiate between cookie2vnode returning an error and
return to caller, address unknown: no such cookie, no such node.
Make the callers use this info to either create a new vnode or bail.
2007-09-27 21:44:12 +00:00
pooka
aa533e99dd Add error notifications, which are used to deliver errors from the
kernel to the file server for silly things the file server did,
e.g. attempting to create a file with size VSIZENOTSET.  The file
server can handle these as it chooses, but the default action is
for it to throw its hands in the air and sing "goodbye, cruel world,
it's over, walk on by".
2007-09-27 21:14:49 +00:00
bouyer
784505d037 Ops, need to properly restore %esp after calling Xspllower(). 2007-09-27 21:14:04 +00:00
bouyer
a3ef51f22f Use the proper label name in cpu_switchto, here is no '2' label in this
function.
2007-09-27 19:39:20 +00:00
xtraeme
6d61a6b51b Duh! add missing free(3) in previous. 2007-09-27 18:11:05 +00:00
xtraeme
6c73c21f44 In debug mode, don't forget to free the buffer returned by
prop_dictionary_externalize().
2007-09-27 18:08:32 +00:00
pooka
c342f5d6d4 Don't forget to insert the root node on the hash list.
... I should remember to test also if unmounting a file system works
before I commit stuff.
2007-09-27 18:06:41 +00:00
christos
f1f2d5a365 make this compilable from rtld. 2007-09-27 17:53:05 +00:00
christos
596c6ec5db provide xrealloc, and don't cast and use malloc and realloc directly. 2007-09-27 17:52:16 +00:00
christos
2cce1500a2 If we are using SSP, compile in a separate copy of the stack protector
functions so that we don't end up calling syslog_ss() which drags in
a large portion of libc. Found by skrll...
2007-09-27 17:51:40 +00:00
snj
c04093ea93 As part of netbsd-4 ticket 863, shuffle some entries from CHANGES
to CHANGES.prev.
2007-09-27 17:25:50 +00:00
ad
b4d4283669 i386, amd64: pcc is now able to compile most of the i386 kernel.
a number of changes have been made for LKM and
                preemption safety. [ad 20070927]
        i386: i386 bootblocks are now able to boot amd64 kernels.
                support for a.out kernels has been removed [ad 20070927]
2007-09-27 15:10:33 +00:00