Age | Commit message (Collapse) | Author |
|
kernel bugs that have slipped through.
|
|
|
|
|
|
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@
|
|
the client to the server did always trigger the session timeout.
The reason for this behavior was that any read event reset the
client side timeout. A read event on one side must reset the timeout
for the other side instead.
ok deraadt@
|
|
so use daddr32_t
ok jasper
|
|
|
|
|
|
discussed with ingo
|
|
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
|
|
In some sense, these are mainly to give names to hang manpages from.
|
|
%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@
|
|
Do not insert neighbors first to the address tree and then assign the
address to the struct. Instead pass the address to nbr_new() so all
keys for the various RB trees are available when setting the neighbor up.
|
|
|
|
|
|
be lied to by the BIOS about successfully reading data.
ok deraadt@ weingart@
|
|
parsing) TZ is unaffected. This makes it it easier to convert timestamps
from any timezone to any other timezone -- no need for $() gymnastics
ok millert
|
|
ok millert
|
|
Okay guenther@, millert@.
|
|
Patch from David Julio (david.a.julio at gmail.com)
|
|
seen it in the wild yet, but the detection seems easy). Few bugs spotted
by kettenis.
ok kettenis
|
|
|
|
(--print-provides, --print-requires and --print-requires-private)
ok ckuethe@
|
|
ok ckuethe@ jmc@
|
|
ok ckuethe@
|
|
action fail, not just reload and stop.
ok sthen@
|
|
|
|
authentication failure and don't count such failures against MaxAuthTries;
bz#1244 from simon AT sxw.org.uk; ok markus@ before lock
|
|
after the recent changes.
ok sthen@ robert@
|
|
Use $() constructs as it's safer than ``.
Both req. by deraadt@
Use pkill instead of pgrep in rc_check so that we don't need to fiddle
with redirections in reload.
prodded by schwarze@
ok robert@
|
|
authentication failure and don't count such failures against MaxAuthTries;
bz#1244 from simon AT sxw.org.uk; ok markus@ before lock
|
|
cache as "ndp info overwritten". This makes the behavior similar
to ARP.
ok todd@, deraadt@, henning@, giovanni@, claudio@
|
|
|
|
ok robert@
|
|
rc_stop so scripts don't need to set it.
ok sthen@ (on a much bigger diff) robert@
|
|
In UDP mode the tcpbench client tries to flood the pipe to the maximum
and the server will busy read the packets. For TCP mode nothing has
changed. All the work was done by Christiano F. Haesbaert
(haesbaert(at)haesbaert org).
OK myself and a lot of pushing from deraadt@
|
|
krw@
|
|
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.
|
|
ok jasper@, otto@
|
|
feedback from Dan Harnett
OK deraadt@
|
|
rc_cmd start/stop actions. This way when rc.d(8) scripts override these
functions, we don't loose rc_{pre,post}.
Add a max 5 secs loop after rc_stop in the rc_cmd top action. This seems
to be a good default for returning to command line only after the daemon
has really stopped. This fixes "restart" for some daemons and allows to
properly stop some others at shutdown time.
Note that this is just a best-effort default, some daemons may need a
lot more time to shutdown but this case is usually handled in the
rc.d(8) script itself and we obviously do not want to hang the shutdown
process.
Call rc_cmd start/stop in restart and _not_ rc_start/rc_stop which can
get overriden in a script.
discussed with and inputs from sthen@ and schwarze@
ok sthen@ robert@
|
|
|
|
(correct, but ugly) low-level roff(7) quoting of quote characters.
As a side effect, this avoids ugly formatting caused by a nasty mandoc(1)
bug with roff(7) quoting in mdoc(7) documents. Of course, that bug
will ultimately get fixed as well, but that can't be done quickly.
Reported by Tim van der Molen <tbvdm at xs4all dot nl>
ok jmc@
|
|
ok gilles@
previous commit should have read:
when copying 'struct sockaddr' data, use sa_len not sizeof(struct sockaddr_in)
this fixes truncation of IPv6 addresses in the mail delivery path
ok gilles@
|