Age | Commit message (Collapse) | Author |
|
using a 3 clause licence.
|
|
|
|
|
|
various people. outside of some messy things in src/gnu, only one
thing in the main tree now violates this rule: bind
|
|
|
|
|
|
|
|
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@
|
|
|
|
crunch stuff still needs a bit of work.
|
|
|
|
|
|
|
|
a) strcpy -> strncpy for copies into disklabel fields d_packname and
d_typename.
b) '16' -> 'sizeof d_packname' or 'sizeof d_typename' in existing
strncpy's.
ok millert@
|
|
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@
|
|
|
|
|
|
|
|
ok henning@ jmc@
|
|
*installboot*: all Paul Kranenburg
pppctl(8): Brian Somers
rpc.bootparamd(8): public domain
|
|
|
|
|
|
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.
While there, various KNF and whitespace fixes, and rename some structure
fields to be closer to the m68k pmap.
per art@'s idea.
|
|
|
|
macros, rather than include files - no need to pollute <machine/> area...
|
|
and check input level in setipl() if DIAGNOSTIC.
Doing this pointed out an horrible bug where exception frames would refer
to the saved ipl at the time the exception was processed, but would not
save it before, and the joys of stack values would make it a correct value
90% of the time. Of course, bad things could happen when restoring the
``saved'' ipl...
|
|
|
|
remaining instances of them with appropriate copy(9) usage.
ok art@, tested on all arches unless my memory is non-ECC
|
|
|
|
like on mvme68k, rather than attempting to find the first off-board memory
location.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
can link against libc without unresolved symbols again.
Anyone who correctly guessed that my m88k hard drive has been recovered,
wins a strawberry lollipop.
|
|
|
|
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.
|
|
|
|
have the mail.
|
|
|
|
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.
|
|
Last bits of diff generated by Chris Kuethe.
|
|
instead of the pa. Most callers already had it handy and those who didn't
only called it for managed pages and were outside time-critical code.
This will allow us to make those functions clean and fast on sparc and
sparc64 letting us to avoid unnecessary cache flushes.
deraadt@ miod@ drahn@ ok.
|