| Commit message (Collapse) | Author | Files | Lines |
|
|
|
OK deraadt
|
|
OK sthen, deraadt
|
|
(the src path lookup is considered a rpath operation)
noticed by kristaps, discussed with semarie
|
|
ok millert
|
|
between input and output block sizes. This was inherited from sndiod,
but is not required for files because they are continuous streams of
samples and do not need to be split in blocks of equal duration.
This change makes playback/recording rate match exactly the requested
sample rate.
|
|
play buffer if there's less than one block of data left. This is the
correct condition in the general case. No behaviour change, as all
input/output is multiple of the block size.
|
|
|
|
provide routines to calculate them. This way we don't rely on it
to calculate the bytes procuded/consumed anymore. No behaviour change.
|
|
tls_* function; so actually do that.
|
|
existing naming standards. Also provide functions for setting a struct
tls_error * directly (rather than having to have a struct tls * or a
struct tls_config *).
|
|
|
|
|
|
|
|
requests lacking "HTTP/<version>".
This makes it more obvious that httpd(8) does not attempt to support
HTTP v0.9 (circa 1991), when "GET <url>\r\n" was valid.
ok millert@ florian@
|
|
Found the hard way by jca@
|
|
|
|
a short delay so that baud rate changes on the console have
a chance of working. Lots of help from theo on this one.
Makes my serial console on my APU work for an unattended
reboot instead of hanging when garbage is echoed to the tty.
ok deraadt@
|
|
in some cases. Be consistent and use "dst" everywhere like for
strlcat(3) and strncat(3). From Tim Kuijsten.
|
|
|
|
no need for cpp here. From natano@
|
|
Found while comparing qmake specs of different *BSDs.
okay deraadt@ and millert@
|
|
|
|
The name cache walking code got adapted to the new name cache layout.
Along with the previous commit, procmap is now able to map a vnode
to a filename as long as it is in the name cache.
"nice stuff" deraadt@
|
|
Ignore the listed protection (which may contain X) when making page
writeable temporary.
|
|
This gives ddb access to the symbols of the kernel running inside the VM.
ok mlarkin@
|
|
|
|
left using it is fuse. It has been removed from all other filesystems.
ok millert deraadt
|
|
|
|
OK krw
|
|
- move the info message inside the function
- skip reordering if /usr/lib is on a nfs mounted filesystem
- temporarily remount rw if /usr/lib is on a ro ffs file-system
OK deraadt
|
|
|
|
|
|
Don't try to calculate strlen(NULL).
|
|
and REG_NOTBOL with line and word anchors
|
|
The original diff would crash at least i386 and powerpc, as spotted by
guenther@ The reason was an incorrect use of sizeof in amap_lookups().
Confirmation that powerpc works by mpi@ and mglocker@
"throw it in" deraadt@
Original commit message:
This is achieved by grouping amap slots into chunks that are allocated
on-demand by pool(9). Endless "fltamapcopy" loops because of kmem
shortage should be solved now. The kmem savings are also important to later
enable vmm(4) to use larged shared memory mappings for guest VM RAM.
This adapts libkvm also because the amap structure layout has changed.
Testing and fix of libkvm glitch in initial diff by tb@
Feedback and "time to get this in" kettenis@
|
|
|
|
completion, just like puts(3). Found the hard way in portable code.
OK jmc@
|
|
doesn't necessarily work if there is an entry with an empty name.
|
|
|
|
when restarting poll() after receiving a signal.
The ruby runtime send signals to threads periodically, so without accounting
for elapsed time, the timeout would never expire if we didn't get a response
from a nameserver.
ok deraadt@ eric@
|
|
consumed from both input and output buffers. No behaviour change.
|
|
The new code sees this combination as a continuation of string at offset
pmatch[0].rm_so, instead of a new string which starts at that offset.
This change fixes a search quirk in vi and is needed for upcoming fixes in
ed/sed/vi.
This new behaviour is also used in gnu regex.
Lots of help from schwarze@
Manpage bits by schwarze@
OK schwarze@ and millert@
|
|
store the alternate video interface number already.
From Patrick Keshishian, thanks!
|
|
things. OMAP can still load the first u-boot stage (MLO) from the fs
and imx u-boot can load files off fat. The offset allows space for the
u-boot images placed at raw offsets on imx and sunxi.
discussed with kettenis
|
|
terminal, for ASCII and UTF-8, escape bytes not forming characters
and bytes forming non-printable characters with vis(3) VIS_OCTAL.
For other character sets, abort printing of the current string in
these cases. In particular,
* let scp(1) respect the local user's LC_CTYPE locale(1);
* sanitize data received from the remote host;
* sanitize filenames, usernames, and similar data even locally;
* take character display widths into account for the progressmeter.
This is believed to be sufficient to keep the local terminal safe
on OpenBSD, but bad things can still happen on other systems with
state-dependent locales because many places in the code print
unencoded ASCII characters into the output stream.
Using feedback from djm@ and martijn@,
various aspects discussed with many others.
deraadt@ says it should go in now, i probably already hesitated too long
|
|
|
|
issue found by ross l richardson
help/ok stsp
|
|
This change touches code that only runs when REG_BASIC is given and the
regular expression is anchored with [[:<:]] or \< _and_ uses backreferences.
Simplify the logic while here, already looking at the previous character
if REG_STARTEND and REG_NOTBOL are both in use, in anticipation of
martijn@'s upcoming patch which will further improve REG_STARTEND.
OK millert@ martijn@
Also tested by Pedro Giffuni (pfg) on FreeBSD.
|
|
Otherwise procmap interprets the uvm_vnode contents as a vnode,
yielding bogus values. This should cure the
"procmap: invalid address (ffffffffffffffff) == -1 vs. 656 @ ffffffffffffffff"
error messages that appear sporadically.
ok deraadt@
|