Age | Commit message (Collapse) | Author |
|
probe fix in byte vs word, M_IFMADDR vs M_IPMADDR. some knf
|
|
|
|
for HP-UX, FreeBSD, and Linux emulations. Note that Linux has two
versions of these system calls. One for 16bit uids and another for
32bit uids.
|
|
|
|
|
|
partly on the Linux emul code and FreeBSD versions.
We need these for Linux, FreeBSD, and HP-UX emulation.
Also change sys_setreuid() and sys_setregid() to use uid_t and gid_t
respectively.
|
|
frantzen@ and dhartmei@
|
|
uvm_unmap, uvm_deallocate and a few other functions.
Simplifies some code and reduces diff to the UBC branch.
|
|
|
|
pcxl, more on pcxs/pcxt due to conditional pte ref update; tested on pcxt,pcxl by me on pcxs by miod
|
|
|
|
That gives us the advantage of not being the active address space when
freeing the mappings in the pmap, which can lead to expensive TLB
flushes on some architectures.
plus some minor cleaning.
|
|
should be equal to "entry->end". (len is never changed)
|
|
fix ptp accounting and move diagnostic check in pmap_destroy()
into a DIAGNOSTIC and it has not caught a one problem so far.
when random-allocating the space ids use linear rehashing instead
of a full new random which produces a better cache locality.
miod@ ok
|
|
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". It also removes some unnecessary
overhead in time-critical functions like pmap_{zero,copy}_page and
pmap_{is,clear}_{mod*,ref*}.
miod@ ok
|
|
thanks to jpmk@fibertel.com.ar for providing a testbed; jasoni ok.
|
|
|
|
hardware, like SUN4M is for sun4m hardware.
|
|
One relevant change: round up pool element size to the alignment.
VS: ----------------------------------------------------------------------
|
|
function. Can be useful for cards that only support 40-bit WEP or
where the card firmware lacks weak IVs avoidance. Prism/Symbol only.
In the future this will be expanded to support proposed WEP replacements.
Based on code from Jamison Adcock.
|
|
--
From: Jean-Francois Brousseau <krapht@secureops.com>
|
|
|
|
|
|
ok jason@ a long time ago
|
|
|
|
|
|
OK mickey@ and discussed with deraadt@
|
|
|
|
|
|
Found by DJ Gregor.
|
|
|
|
|
|
|
|
recently on other architectures.
|
|
|
|
|
|
|
|
|
|
(which I will leave for Dale since it needs special handling).
From NetBSD (and same as sparc64). espie@ OK
|
|
NUL-terminated string and 13 bytes is what you need for a 104-bit
WEP key. This fixes an off-by-one comparison in wi_set_nwkey().
mickey@ OK.
|
|
|
|
to the more correct and descriptive "sa_family_t af"
ok dhartmei@ henning@
|
|
|
|
(returns ifp, not ifname)
ok dhartmei@ ish@ camield@ henning@
|
|
|
|
First we check for running out of processes (nprocs variable) before we
continue with the fork, then we do various calls that might sleep (and
allow other forks to start and pass that check), then we increase that
variable. This could allow processes to be created past the limit.
Second is that we don't decrease the the process count for this uid
if the stack allocation fails. So a user could run out of processes
he's allowed to run without actually having them.
miod@ ok
|
|
many many many thanks to nick@, who booted no less then 8 kernels for me today
while hacking on that (and this includes going downstairs to the basement
and up again 8 times...)
ok jason@
|
|
|
|
|
|
This chip is some strange abnormal 21143 variant. It really only works with
10 MBit/s halfduplex only and autonegotiation is totally broken in hardware.
Should also have a HomePNA phy, but we don't support that.
for now requires and explicit "media 10BaseT".
if anybody has such a chip please mail me.
nick@ is the only one who has the hardware and did an incredible amount of
testing. Thanks for all the help, Nick!
some hints and ok jason@
|