Age | Commit message (Collapse) | Author |
|
errors to userland: make all cpu_setperf functions return void.
Tested by many, ok gwk@
|
|
|
|
the higher level sysctl code passing them to userland. Distinct diff from
the one I passed around internally with less crazy semantics. Also nuke
some trailing spaces in a few places.
"just go ahead" deraadt@
|
|
ok jmc
|
|
ok brad
|
|
devices with sectorsizes other than 512. e.g. cd's. Fixes PR #5235
from Paul Stoeber with a slightly tweaked diff. NetBSD did the same
with their r1.59 in 2001, closing their PR#3261 and PR#14026.
tweak suggestions and ok pedro@
|
|
diff received from matthieu.
ok matthieu
|
|
|
|
should never be referenced outside the context of the process to which
this stack belongs unless we do the PHOLD/PRELE dance. Loads of code
doesn't follow the rules here. Instead of trying to track down all
offenders and fix this hairy situation, it makes much more sense
to not swap kernel stacks.
From art@, tested by many some time ago.
|
|
that provides a PPS signal, more precision and less jitter can be expected.
With my test setting (a Garmin GPS 18 LVC hooked up to a i386 machine) I
observed a skew of 0.03 to 0.05 seconds between the tty timestamp and the soft
timestamp.
"put it in" deraadt
|
|
M_CANFAIL, idea from miod@, okay deraadt@
|
|
field unless it's root that's asking. This far, this has been done by
putting a struct statfs on the stack and modifying it.
struct statfs is large. Large things on the stack are bad. Create
copyout_statfs() that copies out a struct statfs to userland, does the
necessary root check and gives userland what it needs withtout wasting
stack space.
pedro@, deraadt@ ok.
|
|
return NULL instead of panic()'ing.
ok pedro@, deraadt@
|
|
original diff from) Jake < antipsychic (at) hotmail.com >. Discussed
with Mickey and Miod.
ok miod@ pedro@
|
|
|
|
|
|
|
|
|
|
the euid/egid of the server it connects to. The euid and egid are captured in
the bind() call -- this is the equivalent of the client behaviour where the
same thing is done in connect().
tested and ok espie@, ok henning@, go for it deraadt@
|
|
|
|
kern_descrip.c change ok deraadt
|
|
mib numbers are appended to the syscall record; broken by niklas in 1.39
|
|
to have to wait its timeout before the first run, which led to some
weird values or states being visible after boot, but before the first
update.
for jolan@
|
|
|
|
Tested by various using not (yet) committed amd64 timecounter code.
ok deraadt@
|
|
fixing odd output in the 'show vnode' ddb code.
ok mickey@
|
|
reported by ryo@nerv.org to netbsd, noticed by miod, ok millert
|
|
flag and the buffer queue went away when LFS was removed.
ok, pedro@
"looks sane", deraadt@
testing: tybollt@solace.miun.se
|
|
i got carried away and deleted a whole bunch of useless casts
this is C, not C++. ok md5
|
|
bdwrite call made on 'em due to otherwise pending softdeps and thus
being deferred by the sybcer. promote bdwrite into bawrite for
those cases. tested by many.
pedro@ ok
|
|
receives. Previously a non-blocking socket would mask this error by
returning EWOULDBLOCK and mislead applications to think accept() may
eventually succeed. Corrects a pthreads deadlock reported by Tero Koskinen
<tero.koskinen at iki.fi> okay kettenis@, theo@, markus@
|
|
ok art@
|
|
|
|
|
|
gmail.com.
Kill another unused variable in m_devget(). Pointed out by mcbride.
Rename all offset variables from off0 to off.
OK markus@, deraadt@
|
|
|
|
|
|
Okay weingart@, "I'm game with putting my name on it" dlg@
|
|
useful; miod@ ok
|
|
|
|
without those, even though they're currently not implemented
|
|
|
|
|
|
|
|
timeout_del() if we're going to timeout_add() in the next block.
ok dlg (a while ago), markus
|
|
|
|
(one not taken)
|
|
bwrte() to async op. this fixes in particular panics w/
softdep ffs mounted at a dir in an async mounted (mfs)
file system and also a few other evil scenarios.
this also matches a netbsd change 1.76 .
tested by many on many archs; pedro@ ok
|
|
allocated. Problem debugged by thib@
|
|
notified of posted signals for the current process, okay tedu@.
Based on initial diagnosis by R. Tyler Ballance <tyler@bleepsoft.com>
|