tls
062dab3c81
Remove RND_FLAG_NO_ESTIMATE and comment claiming we can't estimate (which
...
means "count", in this context) the entropy we're adding because we poll the
device periodically. Sure, we poll it periodically, but it's a hardware
RNG -- the data returned should be random no matter when we read the
register!
2003-08-12 09:46:46 +00:00
wiz
c3404e58ed
latest gcc is 3.3.1.
2003-08-12 09:26:09 +00:00
skrll
d900731978
Resolve dlsym(3) and friends directly so that dlsym(RTLD_NEXT,...) works.
...
Previously dlsym resolved to the version in crt0.o or libc which would
mean that the caller's shared object couldn't be determined correctly
using __builtin_return_address(0).
Mainly from FreeBSD, but adapted by me. Benefits of this solutions are:
- backward comptibility maintained
- existing broken binaries are fixed with a new ld.elf_so
- __mainprog_obj can be removed from crt0.o
- we do the same thing as FreeBSD
Fixes PR 22067.
OKed by Jason and Christos.
2003-08-12 09:18:38 +00:00
dsl
b4c1c6117c
Stop superblock being written to sector 0 for small filesystems.
...
Honour the '-s size' command option.
Allow an LFS filesystem to be created in a file.
2003-08-12 08:41:36 +00:00
bsh
e1cdd07843
use CLZ insn to find a pending interrupt.
2003-08-12 08:24:04 +00:00
matt
a3a18840be
Remove SPILLSTK leftovers.
2003-08-12 05:15:41 +00:00
matt
c0d6cb285d
Nuke ci_curpm and curpm. Nuke pcb_pmreal. Those were use for spill stacks
...
and those no longer exist. for few uses that need CURPM, use CURPCB/PCB_PM
2003-08-12 05:06:53 +00:00
lukem
a66b0c9e9a
Rework to use comm(1) instead of diff(1),
...
and separate "missing files in DESTDIR" (which is fatal)
from "extra files in DESTDIR" (which is now non-fatal).
2003-08-12 04:20:08 +00:00
simonb
658a8c458e
Fix bad use of "sizeof(pointer)" where the length of a buffer was the
...
intention. Fixes problems with least ssh's known_hosts file and factor.
Patch from Berndt Josef Wulf's PR lib/22347.
2003-08-12 03:25:24 +00:00
simonb
0f5220a9e0
Descend into games.
2003-08-12 03:05:20 +00:00
simonb
103942fe21
Add a regression test for factor(6). Just has the Jenny prime for now.
2003-08-12 03:03:20 +00:00
fvdl
8655b27bf5
SA fixes from Stephan Uphoff. Quoting him:
...
The patch below (hopefully) improves some signaling problems
found by Nathan.
It also contains some cleanup of the sa_upcall_userret() function
removing any sleep calls using PCATCH.
Unblocked threads now only use an upcall stack after they
acquire the virtual CPU.
This prevents unblocked threads from stealing all available
upcall stacks.
Tested by Nick Hudson.
2003-08-11 21:18:18 +00:00
fvdl
8c1a2eef97
Fix deadlock issue. Slight variation on patch by Stephan Uphoff.
2003-08-11 21:15:50 +00:00
christos
8229ffad82
Re-add dead files.
2003-08-11 20:58:34 +00:00
christos
b36d5146cd
Import gdb-5.3
2003-08-11 20:31:36 +00:00
christos
4084bd69eb
Import gdb-5.3
2003-08-11 20:21:35 +00:00
jmc
d9556f9ecc
Fix 2 remaining places items are depending on execute permissions coming out
...
from a cvs checkout on scripts.
2003-08-11 19:26:04 +00:00
drochner
657c8bd72c
fix a memory deallocation botch in the realloc-ldt case,
...
plus some cosmetics
from Stephen Ma per PR port-i386/19724
2003-08-11 17:26:24 +00:00
drochner
21fd723e0c
choose ldt positions invidious enough to exercise the
...
kernel's ldt reallocate strategy,
now we can reproduce the problem described in
PR port-i386/19724 by Stephen Ma
2003-08-11 17:19:51 +00:00
drochner
6fb41457ab
arrgh - KERNBASE_LOCORE!
2003-08-11 16:56:46 +00:00
pk
d022b5caad
uao_pagein_page() & anon_pagein():
...
* return failure if the page cannot be retrieved.
* wakeup any waiters when releasing a page after successful page in.
2003-08-11 16:54:10 +00:00
pk
96f1796f30
Only deactivate pages if their wired count is zero.
2003-08-11 16:48:05 +00:00
pk
3bef941831
Make sure to call uvm_swap_free() and uvm_swap_markbad() with valid (i.e.
...
positive) slot numbers.
2003-08-11 16:44:35 +00:00
pk
5869d91cb9
Introduce uvm_swapisfull(), which computes the available swap space by
...
taking into account swap devices that are in the process of being removed.
2003-08-11 16:33:30 +00:00
itojun
9088831850
tabify
2003-08-11 16:20:11 +00:00
matt
3527dc3950
When getting the lwp to switch to, test to see if the scheduling queue is
...
empty, and if so panic. Change references to "proc/process" to lwp.
2003-08-11 15:39:24 +00:00
itojun
9ec3d05b38
remove weird #define MNULL/PCBNULL (NULL should do it just fine)
2003-08-11 15:17:29 +00:00
itojun
497e73e9cf
rm extra blank line
2003-08-11 15:14:16 +00:00
itojun
bdbf60398b
minor knf
2003-08-11 15:13:59 +00:00
yamt
44d0d57217
do wakeup() only when someone is waiting for us.
2003-08-11 15:07:14 +00:00
yamt
104f2a80df
introduce SME_FLAG_BUSY and set it during operations
...
instead of keeping sysmon_envsys_list_slock spinlock held
because some drivers might sleep in sysmon_envsys ops,
XXX sysmon_envsys_lock is now redundant
2003-08-11 14:24:41 +00:00
drochner
e8d0979bed
Fix stack location for VM86 processes in the !sigaltstack case.
...
I doubt it makes much sense to use the VM's stack for this, but the
old code was doubtless wrong because it potentially overwrote random
user memory.
(It might be a good idea to use the process' pre-vm86()-call stack,
but atm the infrastructure for this is missing.)
2003-08-11 14:09:18 +00:00
drochner
4257f06ff2
close the stack frame properly before using the return address
...
(did this ever work with recent compiler versions?)
2003-08-11 13:30:16 +00:00
christos
cdf5cfc132
Kill another stray setup_stack. Thanks @@@.
2003-08-11 13:27:58 +00:00
drochner
bae50cfb57
correct an assertion about minimum stack size: MINSIGSTKSZ is sufficient
2003-08-11 13:25:30 +00:00
atatat
3e5ef14f22
Make sure to wrap include opt_foo.h in _KERNEL_OPT.
2003-08-11 13:20:39 +00:00
christos
2b16e874b8
I don't understand why there this is here, since we have exec_ecoff.c in kern,
...
but remove the stack setup function anyway.
2003-08-11 12:58:43 +00:00
dsl
3530472a3b
Rework VTIME calculations so that they don't hit numeric overflow (ok now
...
for hz < ~200kHz). Old code failed VTIME > 214 even with hz=100.
Fixes kern/12285.
2003-08-11 10:49:06 +00:00
pk
9f987d0ac0
Workaround to prevent a lockup in pipelock() in the case that signals are
...
pending while we must wait for the lock.
2003-08-11 10:24:41 +00:00
lukem
28d70b03dc
order .SUFFIXES similar to other *.mk files
2003-08-11 09:59:43 +00:00
wiz
d509f2554d
We use long month names in .Dd.
2003-08-11 08:23:21 +00:00
augustss
df8ead8f63
Add Sony Ericsson DCU10.
2003-08-11 08:19:18 +00:00
augustss
6100a552cc
Add Sony Ericsson DCU10 USB Cable. PR kern/22432.
2003-08-11 08:16:34 +00:00
augustss
3a0b9f8c20
Regen.
2003-08-11 08:15:00 +00:00
augustss
d35ae49748
Add Sony Ericsson DCU10 USB Cable. PR kern/22432
2003-08-11 08:13:42 +00:00
mrg
b66a12790c
- delete generated-for-i386--netbsdelf auto-build.h
...
- generate an auto-build.h at build time the same way ./configure does
- add dozens of missing dependancies
2003-08-11 07:34:03 +00:00
chs
b90614b54e
catch up with changes elsewhere.
2003-08-11 05:13:20 +00:00
matt
4907369a14
export size_t __getcachelinesize(void) for memset()
2003-08-11 02:11:23 +00:00
matt
341742a7e9
Add PTEGCOUNT defparam for opt_pmap.h
2003-08-11 01:33:30 +00:00
uwe
5b9717919b
In sh.h, ASM_OUTPUT_LABELREF - const'itfy lname.
...
Pull the fix for RETURN_ADDR_RTX from gcc-current:
sh-protos.h - 1.45; sh.h - 1.217 (partial); sh.c - 1.230 (partial).
Pertinent parts of the gcc changelog follows.
prologue / epilogue / warning patches:
2003-07-16 J"orn Rennecke <joern.rennecke@superh.com>
Con Bradley <con.bradley@superh.com>
* sh-protos.h (sh_get_pr_initial_val): Declare.
[...]
* sh.h [...]
(RETURN_ADDR_RTX): Use sh_get_pr_initial_val.
2003-08-11 00:45:34 +00:00