Age | Commit message (Collapse) | Author |
|
be necessary soon); from henric@
|
|
interrupt map matches; from FreeBSD.
|
|
|
|
|
|
attack protection scheme, into gcc.
This protection is enabled by default. It can be turned off by using the
-fno-stack-protector flag.
Code by Hiroaki Etoh (etoh at jp dot ibm dot com); work on openbsd-specific
integration by fgsch@, deraadt@ and myself; tests by fgsch@, naddy@ and
myself; beer drinking by myself.
Please note that system upgrades with this new code will require a new
libc and ld.so to be build and installed before the propolice-enabled
compiler can be installed.
|
|
Driver from Alexander Kabaev <kan.FreeBSD.org> and Ichiro FUKUHARA
<ichiro@ichiro.org>
|
|
|
|
|
|
|
|
attach it with the appropriate keymap table, rather than the default KB_US
table.
If this is not the expected behaviour, users can still revert to US layout
via "kbd us" or "wsconsctl -w keyboard.encoding=us".
As the installation media uses the prom console, which will honor the
international keyboard layout, this will definitely help users with
international keyboards and fancy characters in their passwords...
Note that there is still some Sun keyboard tables missing at the moment.
|
|
|
|
|
|
|
|
The macro PG_PALCODE in pte.h is supposed to be used when comparing
two ptes to see if we need a tlb flush. For that it uses the macro
ALPHA_PTE_PALCODE which in turn is defined to ~ALPHA_PTE_SOFTWARE.
Unfortunately ALPHA_PTE_SOFTWARE is small enough to fit in an int,
so ALPHA_PTE_PALCODE becomes an int to and the masking in PG_PALCODE
masks off the pfn in the pte and pmap_enter will then fail to flush
certain TLB entries when it needs to (this situation shouldn't
happen too often).
This might or might not be the solution for the memory corruption
bug I've been hunting for the last three months (the machine still
borks up, but in different ways now).
|
|
|
|
miod@, millert@ ok
|
|
|
|
|
|
|
|
from rasops_cmap table, rather than providing our own, especially when
they are wrong.
|
|
|
|
stubs, so that userland can do the same. we cannot just determine based
on sun4m, because cypress (at least) is a sun4m cpu without the instructions
|
|
|
|
|
|
not used in kernel anyway. pointed out by art@
|
|
device selection situation (IDE disk controllers on the AX).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- get rid of splpmap, use splvm everywhere
- harmonize some 4_4c routines to wake them easier to diff against 4m
- fix an spl botch in can't happen situations on 4_4c
- fix pmap_stas.ps_npg_prot_all on 4m in case someone cares
- slightly better pmap_kenter_pa and pmap_kremove on 4_4c
art@ ok
|
|
uvm_map_create() and uvm_km_suballoc().
|
|
|
|
do not check copyin() result, take care and properly handle copyin() failure.
This was not harmful, but a bit more correctness never harms.
|
|
seeing it's packets and thinking another machine with the same mac is
on the wire when running half-duplex); from NetBSD.
tested by matthieu, jason and him ok.
|
|
reset the curpcb and force a reload
|
|
|
|
status reg
|
|
|
|
the user addresses directly from the kernel. copyin is faster and can
correctly deal properly with mappings that uvm_useracc thinks are
correct but will fault anyway (to figure out how to generate such
mappings is left as en excercise for the reader).
|
|
the user addresses directly from the kernel. copyin is faster and can
correctly deal properly with mappings that uvm_useracc thinks are
correct but will fault anyway (to figure out how to generate such
mappings is left as en excercise for the reader).
Blatantly stolen from art@'s similar fix to sparc.
|
|
pr2962
|
|
|
|
add a missing pte flush in page_remove(),
removed a few dead debugs and ifdefs.
use local vars inestead of long -> chains./
miod@ ok
|
|
the user addresses directly from the kernel. copyin is faster and can
correctly deal properly with mappings that uvm_useracc thinks are
correct but will fault anyway (to figure out how to generate such
mappings is left as en excercise for the reader).
|
|
In sys_sigreturn - don't uvm_useracc the context address and then copyin
it afterwards. The copyin deals better with finding if the user address is
correct and it's faster.
|
|
helps if the ramdac does not get initialized (idea from jason@)
- only register a shutdown hook for the frame buffers which need it, if this
is the console frame buffer. Otherwise this is just a waste of time.
|
|
Also uvm_map returns KERN_* codes that are directly mapped to
errnos, so we can return them instead of doing some attempt to
translation.
drahn@ "I see no problem" pval@ "makes sense"
|