Age | Commit message (Collapse) | Author |
|
if there's lingering bugs we'll deal with them in tree.
ok jmatthew@
|
|
for findopenbsd_gpt().
|
|
fix from Andreas Bartelt <obsd at bartula.de>
|
|
|
|
Work around this particular case by reseeding whenever pid=1, but as guenther@
notes, directly calling clone(2), and then forking to match another pid,
provides other ways to bypass new process detection on Linux.
Hopefully at some point Linux implements something like MAP_INHERIT_ZERO, and
does not invent a corresponding mechanism to subvert it.
Noted by Sebastian Krahmer and the opmsg team.
See http://stealth.openwall.net/crypto/randup.c for a test program.
ok beck@
|
|
This should fix some of the odd termination errors people have been seeing
(vmctl status showing running VMs after they have exited/crashed, and
invalid instruction panics on vmptrld during certain races)
This diff also implements dropping the biglock when running a VCPU, and
reacquiring the lock as needed based on the type of exit (normal vs.
external interrupt)
diff supplied by Stefan Kempf <sn.kempf at t-online.de>, many thanks!
|
|
|
|
From Michal Mazurek, thanks!
|
|
of KNF.
Submitted by Michal Mazurek, thanks!
|
|
Pointed out by mlarkin@
|
|
visble bell call.
|
|
username, as determined by the real user id, not the real user id
itself.
ok jmc@
|
|
|
|
diff from Marcus MERIGHI <mcmer-openbsd@tor.at>
ok jmc@
while at it, fixed an example
|
|
|
|
OpenBSD partition. Just one 128-byte stack copy of a single entry.
Problems with EFI installs involving many disks reported by and fix
tested by Thomas Bohl.
Stefan Kempf pointed finger of suspicion at the addition of the 2nd
16K static buffer for softraid GPT and suggested/reviewed several
versions of the diff.
Tweaked and ok jsing@
|
|
line and the `remote file name' is subject to `tilde expansion', a call
to getpwnam(3) happens.
ok semarie@
|
|
srandom(time()+getpid()), was changed by srandomdev(), but #include <time.h>
lived up until this day so remove it.
Additionally, earlier than that, 18 years ago, random(6) was one of the first
consumers of arc4random(3) family, and was pulling it from dev/rndvar.h but
these days we pull it from stdlib.h, which is already done, so while here
remove dev/rndvar.h also.
"seems comprehensive to me" deraadt@ and OK tb@
|
|
ok benno@, claudio@
|
|
ok kettenis@
|
|
ok kettenis@
|
|
|
|
|
|
loglevel_to_string() uses "unknown" as well)
ok kettenis@ florian@
|
|
ok kettenis@ florian@
|
|
remove useless decleration of variable change.
ok kettenis@ florian@
|
|
|
|
|
|
found by evh -AT- riseup -DOT- net, ok florian@
|
|
incorrect detection of mp3 sample frequency/audio channels with non-mp3 files
tracked down by Brandon Vincent. ok nicm@
|
|
problem reported by Michael Reed m.reed at mykolab dot com.
ok tb@ and benno@ (which as provided near the same diff, but 5min later :p)
|
|
|
|
|
|
|
|
|
|
ok jmc@
|
|
Otherwise the PHY goes undetected on the slave node of a dual-node
Origin 200. The PHY gets enabled by diagnostic checks but only on the
master node. As the attach code will now do the enabling, the checks can
be disabled on reboot, making reboots faster especially on IP27.
Tested on Origin 200 (IP27), Fuel (IP35 with iec), and Origin 350
(IP35 without iec).
Diff from miod@, ok krw@
|
|
oflags & 3 == 3 case. Therefore this depends on vn_open() blocking the
operation later. Probably this meant the ni_pledge request would be too
high, causing transient operation failure, rather than transient operation
passage). Instead of initializing based on the oflags value use the
result of FFLAGS(). I should have done this from the start.
ok semarie
[oflags & 3 == 3 is major dejavu for me]
|
|
From Michael Reed, thanks!
ok deraadt@
|
|
to tputchar() and could crash the kernel. Better use cnwrite() in
sendsyslog2() for writing to console. It takes a struct uio which
does the copyin() automatically. In addition cnwrite() outputs to
the real console or to a redirected one, whichever is appropriate.
One drawback is that the syslog priority cannot be stripped off
easily.
OK deraadt@
|
|
|
|
check for them.
ok benno@, bluhm@
|
|
'Sure' deraadt@
|
|
|
|
|
|
|
|
|
|
This syncs our videoio.h with upstream videodev2.h and inlines their
v4l2-controls.h (which was split off from videodev2.h). Another header,
v4l2-common.h, is currently not imported as it is GPL2 licensed.
There will be a second commit just addressing whitespace and formatting. The
current version has only real changes whereas the second commit will bring
videoio.h in line with videodev2.h formatting so that potential syncs in the
future are easier to implement.
Bulk build by ajacoutot@; ok robert@; "you should go for it" deraadt@
|
|
from Fabian Raetz via tech@
ok krw
|
|
to -portable
ok gilles
|