Age | Commit message (Collapse) | Author |
|
hppa reverse-stack gives us a valuable test case, but most developers don't
have a 2nd one to proceed further with this.
ok kettenis
|
|
OK deraadt@
|
|
notice by miod
|
|
|
|
commit.
|
|
bytes) then, adjust the block size accordingly. Fixes zaudio(4) not
starting when large blocks are requested. Found and reported by
Andre Smagin <as at smagin.com>, thanks.
|
|
pmap_enter(9), pmap_remove(9) and pmap_page_protect(9) should be
safe to use without the kernel lock.
No objection from deraadt@
|
|
|
|
architectures besides amd64.
ok deraadt@, krw@
|
|
block size multiplier (in bytes) and for the driver block size
multiplier (in frames). No behaviour change.
|
|
started and before init(8) has opened the console, the kernel could
crash as the console device has not been initialized. Open
/dev/console in the kernel before starting init(8) and keep it open.
This way sendsyslog(2) can be called early in the system.
OK beck@ deraadt@
|
|
this makes it more obvious that the bpf code should only read
packets, never modify them.
now possible because the paths that care about M_FILDROP set it
after calling bpf_mtap.
ok mpi@ visa@ deraadt@
|
|
inside the sigcontext. sigreturn(2) checks syscall entry was from the
exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie,
and clears it to prevent sigcontext reuse.
not yet tested on landisk, sparc, *88k, socppc.
ok kettenis
|
|
userland addressspace address. Those bits should be masked to
callers of the PROC_PC() macro.
ok kettenis
|
|
Idea from deraadt@ and mlarkin@.
|
|
shaves ~256 bytes off of qla_put_data_seg on sparc64
ok kettenis@ jmatthew@
|
|
random data on the disk as an inode. Thus avoiding crashes when
translating a bogus filehandle to a vnode. Yes, I'm looking at you,
NFS!
Adapted from a diff by Christos Zoulas via NetBSD, pointed out by
kurt@.
ok beck@
|
|
ok mpi@
|
|
|
|
from miod
|
|
SD Host Controller standard.
ok patrick@
|
|
|
|
It is supposed to control whether an amap should allocate memory
to store anon pointers lazily or upfront. Needed for upcoming amap
changes.
ok kettenis@
|
|
Only fail hard when running out of swap space also, as suggested by
kettenis@
While there, let amap_add() return a success status and handle
amap_add() errors in uvm_fault() similar to other out of RAM situations.
These bits are needed for further amap reorganization diffs.
lots of feedback and ok kettenis@
|
|
|
|
we attach the device itself. The _DEP methode, introduced in ACPI 5.0,
is a hint that the device in question depends on OpRegion support from
the devices listed by _DEP, so we have to order them the proper way.
To prevent us from attaching those devices again when we encounter them
later walking down the device tree, keep track of our attempts to
attach a device driver to them using aflag in the aml_node structure.
ok guenther@
|
|
|
|
|
|
hint.
ok kettenis@, deraadt@
|
|
|
|
SoC.
|
|
artifacts seen in X on some G5 machines. Unfortunately not enough to fix
G4 machines. With help from Marcus Glocker.
ok mpi@
|
|
Export _gmonparam again.
Make gcrt0.o use an reserved name for _monstartup()
ok millert@
|
|
This stores errno, the cancelation flags, and related bits for each thread
and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable!
Make libpthread dlopen'able by moving the cancelation wrappers into libc
and doing locking and fork/errno handling via callbacks that libpthread
registers when it first initializes. 'errno' *must* be declared via
<errno.h> now!
Clean up libpthread's symbol exports like libc.
On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec.
Testing by various, particularly sthen@ and patrick@
ok kettenis@
|
|
AML to peek and poke at GPIO pins as if it were reading and writing
registers. For now this only implements peeking at pins. It will print
a message if AML attempt to poke at a pin. And it will panic if the
assumptions made in the code are violated.
ok mlarkin@
|
|
acpiec(4) calls the _REG method.
ok mlarkin@
|
|
all modern machines are "misconfigured". We simply have to configure them
and it is pointless to complain.
|
|
ok sthen@, visa@
|
|
are now using the returned route for forwarding as well.
This restore the behavior of r1.274 when using mpath entries for
forwarding.
ok visa@, henning@
|
|
ok patrick@ kettenis@
|
|
ok patrick@ kettenis@
|
|
work on the cubox-i, whereu-boot leaves the controller in 4-bit mode.
|
|
pagedaemon and the buffer cache.
requested by deraadt@
|
|
sure that we reset the bus width (to 1-bit) after powering up the bus.
Apparently the register write fails if the bus isn't powered on.
Implement the chip callback function and advertise 4-bit bus support.
ok stsp@
|
|
insisting on an exact match. Add support for a 50 MHz clock.
ok stsp@
|
|
ok stsp@
|
|
Report and diff from Vegar Linge Haaland
ok krw
|
|
the tx dma maps, apparently to allow heavily fragmented packets to be sent.
The tx ring accounting in bnx_start assumed that the longest fragment chain
we'd see was BNX_MAX_SEGMENTS, so sending a heavily fragmented packet when the
ring was already full could cause it to overflow.
In the 10 years since r1.10, we've started defragmenting packets if they
won't fit in the dma map, so we can limit the maps to BNX_MAX_SEGMENTS again.
While we're here, ensure there's always at least one slot on the tx ring free,
for consistency between drivers.
Fixes packet corruption seen by otto@
ok mpi@ dlg@
|
|
card. Data transfers don't seem to work on the Realtek RTS5229 Card Reader
if the clock frequency is too low, and reading the SCR requires a data
transfer.
|
|
Found by David Hill with clang.
|