Age | Commit message (Collapse) | Author |
|
separate tty registering is gone now that sparc has switched to wscons, and
this makes the code less error-prone.
Also, remove tests for ttymalloc() failure, since it uses M_WAITOK.
ok millert@ deraadt@, tested by various people as well besides me...
|
|
There are more occurences hiding in binutils, lynx and afs but I am too
lazy to report them upstream at the moment.
|
|
now call the poll backend. With this change we implement greater
poll(2) functionality instead of emulating it via the select backend.
Adapted from NetBSD and including some changes from FreeBSD.
Tested by many, deraadt@ OK
|
|
|
|
|
|
|
|
|
|
I've skipped the GNU stuff for now. From Patrick Latifi.
|
|
deraadt@ ok
|
|
ok deraadt@
|
|
|
|
|
|
|
|
|
|
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
test.
Some stylistic input from marc@
|
|
|
|
move chrtoblk and blktochr into MI code.
tested on several archs and ok deraadt@
|
|
stack protection when building kernels. Intended to be used on installation
media, with tight space constraints - currently, only added where
SMALL_KERNEL was already defined.
Not thoroughly tested, but requested by deraadt.
|
|
ok deraadt@
|
|
|
|
|
|
machdep.c changes by me, trap.c changes by deraadt.
|
|
something meaningful to chew on. Shine on you crazy diamond.
|
|
turns out that some arches will return (-1) in case of error, while others
will return (0).
Until we make our minds on this, make sure that callers of this function
properly handle 0 or (-1) as failure.
ok krw@
|
|
|
|
and should not be created or used as such.
This fixes some instances of both behaviours, and sets the stage for some
strcpy -> strncpy fixup.
ok tdeval@ millert@ deraadt@
|
|
|
|
. immediately service all available action reports in the transmit
. interrupt handler so we don't exhaust the action report fifo and
. hang the device when under high load
.
. set receive interrupt delay to 10ms if the hardware supports it,
. vastly reducing interrupts by allowing the receive fifo to fill
.
. always use dma when in DHU11 mode
|
|
instead. Driver now transmits successfully in both DHV and DHU mode.
|
|
the RX fifo goes from 0 -> 1 characters. If the FIFO is filled (eg. during
autoconf where interrupts are cleared), the dz will never interrupt for
rx again. Solution: drain the fifo on first open. ok hugh
|
|
during the "wait for a second looking for annoying interrupts" period, it
would mask it off... oops =)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
remaining instances of them with appropriate copy(9) usage.
ok art@, tested on all arches unless my memory is non-ECC
|
|
and don't ttymalloc lines we don't have. CXA16 in DHV-11 mode is
probably still not correct.
|
|
set from <sys.mk>
|
|
It works even, so enable the dhu.
|
|
Instead of allocating a static amount of memory for the data
structures via valloc() in allocsys(), allocate things dynamically
using pool(9) when possible and malloc(9) when not. The various
members of struct seminfo and struct shminfo are in kern.seminfo
and kern.shminfo respectively (not all members of kern.seminfo are
changable).
The data structures used still leave something to be desired but
things are not made worse in that respect by this commit.
|
|
|
|
wsscreen per wsdisplay device ; from deraadt@ long ago.
|
|
altq is merged into pf and handled through pf.
|
|
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.
|
|
|
|
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.
|
|
|