Age | Commit message (Collapse) | Author |
|
won't try to read past the end of the record, no matter what kind of garbage
it may contain.
No functional change on IP35 systems with valid IA records.
|
|
Add missing __statement modifiers and correct %1 to %0 in the asm.
ok mikeb@, pirofti@, drahn@
|
|
|
|
|
|
local registers for a few temporaries. This was changed to use two global
registers. Maybe to permit use in-kernel without conflicting with the
register V7 register window handlers. (Was this done by Chris Torek? Is this
related to Gordon Irlam's work? Or was it in NetBSD? Hard to tell because
NetBSD removed their original cvs tree.)
In V8 the ABI was tightened; more global registers became offlimits in
different ways. We started supporting sun4m, and did not consider this.
As a result, the global registers chosen are the wrong choice. In
particular, %g7 is a poor choice for upcoming TLS work. It looks like
it is safer to use %g5 and %g6 since these functions are "system software".
All re-entrant parts of the system save it.
On sparc64 these functions are in libc per ABI requirement, but are unused.
On sparc, they occur in bootblocks (no reentrancy), kernel (reentrancy saves
globals; kernel is not ABI compliant), userland libc (signal handlers save
globals), and ld.so (symbol binding is not re-entrant on its own).
Discussed rather extensively with guenther, kettenis, miod and drahn.
|
|
socket. soreceive() releases splsoftnet for uiomove(). In that
moment, somove() could pull the mbuf from the receive buffer. After
that, soreceive removed the mbuf again. The corrupted length
accounting resulted in a panic.
The fix is to block read calls in soreceive() until splicing has
been finished.
just commit deraadt@
|
|
in libkvm with the stable-ABI versions that are currently named
KERN_PROC2, kvm_get{proc,argv,envv}2(). The latter names and symbols
will continue to be supported for a few releases.
Committing now that they ports people have had a couple releases
to update pkgs that usd the old functions
|
|
%1 to %0 in the i386 asm.
asm correction ok drahn@
|
|
default, with per-rthread base offsets and with sysarch() functions,
I386_{GET,SET}_{FS,GS}BASE, for fetching and setting those base
offsets. This is necessary for both rthread and Linux compat support.
suggestions from kettenis@, prodding from pirofti@ and deraadt@
|
|
be lied to by the BIOS about successfully reading data.
ok deraadt@ weingart@
|
|
Okay guenther@, millert@.
|
|
seen it in the wild yet, but the detection seems easy). Few bugs spotted
by kettenis.
ok kettenis
|
|
cache as "ndp info overwritten". This makes the behavior similar
to ARP.
ok todd@, deraadt@, henning@, giovanni@, claudio@
|
|
feedback/ok deraadt@
|
|
|
|
- switch to generic naming ("Somevendor UPS") where the vendor uses
the same device ID for several devices
feedback/ok deraadt@
|
|
a global em_display_debug_stats variable.
OK mcbride, matthew, deraadt, henning.
|
|
Updating the HMAC from the carp_ioctl call does not see the newly
set IP address in the if_addrlist. The only chance for carp to see
the new address is via the address-hook callback. This change moves
the detection of address changes entirely into carp_addr_updated.
Furthermore, only call carp_hmac_prepare for the SIOCSVH case. This
second bug was the reason why the first one went unnoticed for such
a long time.
Problem found and debugging help by camield@.
OK camield@
|
|
ok kettenis
|
|
of the next EBR is relative to the start of the extended partition
described in the first MBR, not relative to the EBR specifying the
offset in its extended partition entry.
Clean up installboot -v output. Use daddr64_t for all sector numbers.
Not a complete fix, but better than what we had. More tweaks to
come.
Inspired by a diff and cluebat from uscav on tech@ a few weeks
ago.
Feedback from matthew@, weingart@.
ok deraadt@
|
|
|
|
|
|
to make it reusable by pf fragment reassembly. No functional change.
discussed with henning@, claudio@, deraadt@, kettenis@
ok guenther@
|
|
into struct process.
ok tedu@ deraadt@
|
|
|
|
ok ketttenis
|
|
|
|
to make it reusable by pf. No functional change.
ok henning@, claudio@
|
|
instead of a read barrier only, as it is used in read-modify-write cycles.
ok mjacob
|
|
all cases, it should not waste time doing extra if/else if/else if/else
conditions. i wonder how much this is going to speed up sparc64...
ok miod kettenis
|
|
Fixes DMA errors seen on sparc64.
ok miod@
|
|
and make it void.
ok henning@, markus@, mcbride@
|
|
ok deraadt@
|
|
non-functional. Reduce the root port reset delay to 100 ms. This is still
twice as long as the delay mandated by the standard, but makes the Gunze
TouchScreen on the Sony Vaio VGN-UX91S and a few other devices work.
ok jakemsr@
|
|
damien@ ok. ports checked by sthen@.
|
|
azalia_configure_pci(). use that function in azalia_attach() and
azalia_resume(). fixes post-resume "static" during playback for
some machines with ATI chipsets.
|
|
queue. In some situations this prevents us from reading a garbled reply.
If this commit breaks your mpi, please report ASAP.
The issue was reported and the fix was verified by Emeric Boit. Thanks!
Ok dlg, kettenis, marco (who warned us and wanted to test more)
|
|
the WSMOUSEIO_SCALIBCOORDS fail with EINVAL if the settings would cause a
division-by-zero.
ok deraadt@
|
|
ok miod@ drahn@ kettenis@
|
|
ok miod@
|
|
function-like macros. Allows (questionable but legal) use of "va_arg"
as a local variable name in code that includes <stdarg.h>.
"seems right" deraadt@
|
|
blindly assuming everything is v4 to be sent with ip_output.
problem originally reported by Marco Fretz.
fix verified locally.
ok henning@ mcbride@
|
|
deraadt@ ok.
|
|
in pxe.h.
ok deraadt@ sthen@
|
|
Prompted by dlg@'s tape library trying to report a failure to thread
a media (0x53, 0x04).
|
|
|
|
|
|
devices.
my theory is that some devices report queue full conditions in ways
the firmware doesnt understand, or some firmwares default to NOT
doing the queue full handling internally. either way it reports
queue full conditions as faulted io which gets passed up to the
block layer as errors.
this makes us conservative again and safe.
this fixes panics from ajacout
ok sthen@ deraadt@
|
|
immediately by unsetting the SS_ISSENDING flag. This prevents a
possible 5 seconds delay in socket splicing.
ok markus@; commit it deraadt@
|
|
after every disklabel read or write. This keeps the DUID cache more
in sync with the physical world. De-syncing noted by drahn@ while
zapping disklabels with dd.
ok jsing@ deraadt@
|