Age | Commit message (Collapse) | Author |
|
Matches GNU's behaviour. OK ray@.
|
|
OK markus@ and dtucker@.
|
|
the correct size for my 4.TB volume. Original diff from dlg@ with some
tweaks by me; ok dlg@
|
|
|
|
|
|
Propagate the wait flag from fsync down to softdep_fsync_mountdev()
and do not perform synchronous sync there is no wait requested by
skipping the drain_output() call. This fixes a problem where
update kthread would sleep forever on some vnode since work is created
faster than it can be flushed.
OK deraadt@
|
|
|
|
|
|
ok otto
|
|
|
|
from Arnaud Bergeron <abergeron at gmail.com>
|
|
MBR-like partitions.
|
|
ok otto@ millert@ krw@
|
|
|
|
it to 16-bit slinear_le.
this appears to be the result of a mistake in porting the driver
from NetBSD. when this driver was ported, NetBSD had some members
in it's 'audio_params' structure that OpenBSD doesn't have. in
particular, NetBSD had 'hw_encoding' and 'hw_precision', which store
what the hardware is presenting. the 'encoding' and 'precision' members
store what the audio layer is presenting (both in NetBSD and
OpenBSD) and can be different than what the hardware is presenting.
the original NetBSD code was setting 'hw_encoding' and 'hw_precision',
and in porting was changed to 'encoding' and 'precision'.
with this change the hardware is still presenting 16-bit slinear_le;
having the variable 'b16' set to '1' is enough to ensure this.
however now the audio layer will convert it to the requested format,
instead of always outputting 16-bit slinear_le.
|
|
|
|
while i'm here, fix allocation of the Rx ring descriptors so we don't
waste memory.
IMPORTANT: you must upgrade your wpi-firmware package to rev. 2.14.4
or the driver will stop working.
|
|
ok miod@
|
|
table/state tail queue design. corrects ftp-proxy errors "server lookup
failed (no rdr?)" okay henning@
|
|
revision, serial #) and print that.
when the default bio ioctl fails with ENOTTY because the given disk is not
on a bio-supported raid controller, fall back to -q.
use strnvis to sanitize inquiry data so it is safe to use in scripts.
ok deraadt
|
|
|
|
data is expanded before it goes in the buffer. all sizes
and offsets used internally are of this expanded data.
there's no need to compensate for this fact except when
showing information to the user in case their actions
depend on how many bytes are in the buffer.
|
|
|
|
changes to uipc_mbuf.c, but right now all it causes is infinite recursion.
|
|
and green when idling.
from Joel Sing <joel at ionix.com.au>
ok miod@
|
|
|
|
computer the resulting code is smaller and faster. Also remove the
_MEXTREMOVE macro which was only used by MFREE.
OK markus@ long time ago
|
|
use realpath(3) to sanitize the path we're going to
work with, prevents silly errors when passing ncheck_ffs
paths from the shell with a trailing '/' since that
doesnt match the entry in fstab.
ok deraadt@,krw@
|
|
|
|
When writing data into a buffer in the file_printf() function, the
length of the unused portion of the buffer is not correctly tracked,
resulting in a buffer overflow when processing certain files.
Adapted from FreeBSD's SA-07:04.file fix, with ok and some minor
tweaks from canacar@ and ray@.
|
|
|
|
than the hardware page size, as was the case in the old clustering code.
This fixes vnd reads on alpha and sparc64
On behalf of pedro@, ok art@
|
|
|
|
|
|
|
|
try to go past the end of the buffer.
this and the last commit allow ffplay and gnash to work properly
on devices that may need to do mono to stereo conversion, like
auich(4).
problem reported by and much debugging deanna@
|
|
by taking into account expansion we may have done in cases such as
playing monoaural media on a device that only plays stereo, like
auich(4).
|
|
|
|
|
|
defined.
|
|
ok krw@
|
|
|
|
and do for loops for real.
|
|
and matthieu@
This all revolves around putting ALL global variables into one single big
hash, and using flags. This removes some impossible to understand stuff,
like old varfind, and allows for some nice stuff.
- each time we reference a global variable, we create it, possibly as a dummy
variable.
- each time we go to the environment, we remember it, thus we no longer go
back to it.
Lists of dependant changes:
- isolate changes to oldVars and checkEnvFirst.
- remove VAR_CMD and VAR_GLOBAL contexts. The only distinction is in parsevar.
Split Parse_DoVar into Parse_DoVar and Parse_CmdlineVar
- rework var modules around obtain_global_var, observe flags in various
functions like Var_Value and Var_Seti.
- Var_Seti/Var_Appendi are almost the same code, use that internally.
- add magic to handle the very special SHELL variable.
- introduce Var_Definedi for the cases where we don't want the actual
value, to simplify tests.
- add keyword .poison, parse it and set global flags accordingly.
- do poison_checks where needed.
- document poison.
- in for loops, set variable temporarily, so that Var_SubstVar will also
substitute it in varmodifiers expressions.
|
|
|
|
pthread_stackseg_np(). With input and okay marc@
|
|
successful compilation of assembler or generating microcode.
|
|
|
|
|
|
from Maximilian Gass
|