Age | Commit message (Collapse) | Author |
|
|
|
allocation; tested on most archs
|
|
|
|
|
|
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...
|
|
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
|
|
argument. old cred only calls user suser_ucred. this will allow future
work to more flexibly implement the idea of a root process. looks like
something i saw in freebsd, but a little different.
use of suser_ucred vs suser in file system code should be looked at again,
for the moment semantics remain unchanged.
review and input from art@ testing and further review miod@
|
|
ok deraadt@
|
|
|
|
that we can see no legal situation under which they could require that
term to remain (ie. This is equivelant to us taking the old UCB file,
removing term 3 as specified by UCB, then re-applying each diff
afterwards from the various authors)
|
|
|
|
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
|
|
mickey.
|
|
|
|
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@
|
|
|
|
fries@ niklas@ ok
|
|
fries@ niklas@ ok.
|
|
|
|
attribute.
|
|
|
|
ok mickey@
|
|
|
|
|
|
understand it enough to fix.
|
|
Other m68k-based arches do not need it.
- do not wait to allocate struct pv_page. Either pmap_enter() has been
invoked with PMAP_CANFAIL and can live with this, or we are close to
fandagoland anyways.
|
|
|
|
|
|
drivers to link.
|
|
|
|
read the label and the Apple DPME partition table in one shot (this idea from
NetBSD), and generally make things much safer.
Solves spurious panic while building labels on disks with a large number of
DPME partitions.
|
|
necessary since the last pmap changes, to get proper serial console
initialization.
From NetBSD, tested by nick@
|
|
eventually be factorized someday...
|
|
|
|
this was done in -two- places is beyone me); spotted and tested by Nick.
|
|
based on netbsd.
|
|
This allows us to remove some ambiguities on how some functions are called,
remove some diagnostic checks for conditions that can never happen and
remove the ugly hack with "pmap_initialized".
Then, rework internal function interfaces and some logic so as to stop
fetching vm_page from a pa and the reverse every now and then - this makes
some pmap operations run much faster.
per art@'s idea.
|
|
for every collision.
ok theo
|
|
remaining instances of them with appropriate copy(9) usage.
ok art@, tested on all arches unless my memory is non-ECC
|
|
still.
|
|
misleading, and it was never used anyways.
|
|
set from <sys.mk>
|
|
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.
|
|
|
|
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.
|
|
uvm_unmap, uvm_deallocate and a few other functions.
Simplifies some code and reduces diff to the UBC branch.
|