Age | Commit message (Collapse) | Author |
|
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@
|
|
Diff from Vladimir Sotirov via tech@. Thanks!
ok millert@
|
|
|
|
|
|
|
|
|
|
Requires new firmware! Which has been available in fw_update(1) for some time.
With helpful hints from Emmanuel Grumbach and contributions from Imre Vadasz.
Tested verbatim by phessler@, jasper@, gilles@. Tested as part of a larger
diff by reyk@, robert@, Imre Vadasz, and Bryan Vyhmeister.
Earlier version tested by many. Also passed by kettenis@ very early on.
|
|
|
|
|
|
jmc, ok benno claudio
|
|
happen when remote devices are used and is not an error.
|
|
OK czarkoff@
|
|
|
|
Restoring the original errno found in el_wgetc() after
el_wgets() did some cleanup that may have changed errno.
Improve clarity and robustness of the code by not setting and
inspecting el_errno where it isn't needed; in particular, let
keymacro_get() properly report read failure to read_getcmd().
Move el_errno to el_read_t because it's only used in read.c.
Never set errno back to zero.
Checked with a test program installing a USR1 signal handler
without SA_RESTART, for the cases read_getcmd(), ed_quoted_insert(),
keymacro_get(), ed_command(), and EL_EDITMODE=0.
OK czarkoff@
|
|
|
|
right before we call poll().
|
|
audioctl and alike.
|
|
and non-utf8 bytes escaped.
ok sthen@
|
|
in the correct path on disk u-boot will load it and search for dtb
files without a script.
Leave sabre lite/nitrogen with the old method as boundary devices haven't
released u-boot 2015.05 yet.
ok kettenis@
|
|
implementations; fixes issue when exec*() is used for
fuse_args, notably in sshfs; from Hiltjo Posthuma and
reminded by ray.
ok mpi@
|
|
ok mpi@ beck@ mlarkin@
|
|
I'm debugging the read module for weeks now,
but these ifdefs aren't helpful.
OK cpp(1).
|
|
ptm/pty subsystem, and got left behind.
ok beck
|
|
|
|
better use of memory. This should prevent gather buffer starvation on
currently supported systems.
Discussed with mpi@
|
|
ok mpi@
|
|
|
|
|
|
ok deraadt@
|
|
ok deraadt@
|
|
ok bluhm@
|
|
|
|
Problem reported by James Hastings.
ok dcoppa@ mlarkin@
|
|
|
|
ok deraadt@
|
|
|
|
|
|
this isn't the kernel.
requested by deraadt@
|
|
This eliminates the idiom 'arc4random() % X' (where X + 1 is not a
power of two) from base.
Part of a patch from Matthew Martin from end of last year.
ok tedu@ (a long time ago), natano@
|
|
tell if the buffer is too small, and an expanding buffer is overkill
anyway.
|
|
sigtramp page, so that it will generate a nice kernel fault if touched.
While here, move most of the sigtramps to the .rodata segment, because
they are not executed in the kernel.
Also some preparation for sliding the actual sigtramp forward (will need
some gdb changes)
ok mlarkin kettenis
|
|
|
|
|
|
|