Commit Graph

300759 Commits

Author SHA1 Message Date
hgutch 836e5e938d Reset SIGCHLD handler to SIG_DFL.
If run with "-c", both child and parent script processes will handle
SIGCHLD resulting in a possible duplicate "Script done" line in the
output.  This fixes bin/54514.
2023-05-09 15:43:39 +00:00
rillig b889b215f6 tests/lint: demonstrate wrong warning about loss of accuracy 2023-05-09 15:37:29 +00:00
christos 3b53ecd493 Handle OpenSSL-3.x 2023-05-09 15:02:59 +00:00
rillig 815f75fc84 tests/lint: demonstrate wrong warning about losing accuracy 2023-05-09 14:46:36 +00:00
christos 7e65eca671 Handle OpenSSL-3.x 2023-05-09 14:31:55 +00:00
christos dd778eebe6 deal with OpenSSL-3.x 2023-05-09 14:08:18 +00:00
riastradh b0a502843c dk(4): Fix typo: sc_state, not sc_satte.
Had tested a patch series, but not every patch in it, and I
inadvertently fixed the typo in a later patch in the series, not in
the one I committed.
2023-05-09 13:14:14 +00:00
christos bffdc903ae Deal with OpenSSL-3.x 2023-05-09 13:07:43 +00:00
riastradh b3e71c1908 dk(4): Omit needless sc_iopend, sc_dkdrn mechanism.
vdevgone guarantees that all instances are closed by the time it
returns, which in turn guarantees all I/O operations (read, write,
ioctl, &c.) have completed, and, if the block device is open,
vinvalbuf(V_SAVE) -> vflushbuf has completed, which forces all
buffered transfers to be issued and waits for them to complete.

So by the time vdevgone returns, no further transfers can be
submitted and the bufq must be empty.
2023-05-09 12:49:00 +00:00
riastradh 76abd28dc3 ioctl(DIOCRMWEDGES): Delete only idle wedges.
Don't forcibly delete busy wedges.

Reported-by: syzbot+e46f31fe56e04f567d88@syzkaller.appspotmail.com
https://syzkaller.appspot.com/bug?id=8a00fd7f2e7459748d7a274098180a4708ff0f61

Fixes accidental destruction of the busy wedge that the root file
system is mounted on, triggered by syzbot's ioctl(DIOCRMWEDGES).
2023-05-09 12:04:04 +00:00
riastradh 17fe932c5f dk(4): dkclose must handle a dying wedge too to close the parent.
Otherwise the parent open leaks on detach (or revoke) when the wedge
was open and had to be forcibly closed.

Reported-by: syzbot+e46f31fe56e04f567d88@syzkaller.appspotmail.com
https://syzkaller.appspot.com/bug?id=8a00fd7f2e7459748d7a274098180a4708ff0f61

Fixes assertion sc->sc_dk.dk_openmask == 0.
2023-05-09 12:03:55 +00:00
macallan a2341d739f check for proper error value from OF_finddevice()
should fix PR57394
2023-05-09 10:49:46 +00:00
wiz 974fef9b9d gcc 12.3 is out 2023-05-09 10:42:34 +00:00
rillig 6b94bf57da tests/make: demonstrate parse bug in :gmtime and :localtime modifiers 2023-05-09 08:26:14 +00:00
christos ebc1b23201 Deal with OpenSSL-3.x 2023-05-09 02:31:02 +00:00
christos f403516638 deal with OpenSSL-3.x 2023-05-09 02:30:21 +00:00
christos ac172e9e3f deal with OpenSSL-3.x 2023-05-09 02:19:32 +00:00
christos 95d57831bc Accomodate OpenSLL-3.x 2023-05-09 02:08:31 +00:00
christos bbe2f6f754 accommodate OpenSSL-3.x 2023-05-09 01:47:21 +00:00
christos dfe7b6ae9d accommodate OpenSSL-3.x 2023-05-09 01:21:09 +00:00
christos 0f4c02b710 handle OpenSSL-3.x 2023-05-09 00:14:44 +00:00
christos 616ffa0105 Handle OpenSSL-3.x 2023-05-08 23:45:52 +00:00
christos b7e32b3484 handle OpenSSL-3 deprecations 2023-05-08 22:17:36 +00:00
christos 50dfd7d5ed Elide OpenSSL-3 deprecation warning 2023-05-08 21:20:29 +00:00
skrll 64e2e8792e RISC-V: enabled GDB 2023-05-08 20:58:17 +00:00
skrll be56099062 RISC-V mknative and build support for gdb.old 2023-05-08 20:57:34 +00:00
skrll 06dfa8449c RISC-V mknative and build support. 2023-05-08 20:56:19 +00:00
skrll a84fd9ea4a Don't expose vaddr_t or register_t to userland. The gdb configure script
needs this so it can detect struct lwp correctly.
2023-05-08 20:51:53 +00:00
andvar e171cef674 fix the grammar in comments reported by Jim Spath in misc/57397. 2023-05-08 19:23:45 +00:00
christos baf3398b43 put back ssl.h in libcrypto it is also in libssl 2023-05-08 19:14:28 +00:00
nia 8a9c1dc111 doc: Add recent changes. 2023-05-08 18:39:36 +00:00
christos 59a49c3ac2 make tests support both 1.x and 3.x.
Lot of work needed to add all the 3.x tests, but that can wait until all
is switched
2023-05-08 17:46:06 +00:00
christos 7bcea16228 Allow linking against archives like PROGDPLIBS does. 2023-05-08 14:31:43 +00:00
christos ea33b0e454 remove stuff accidentally committed 2023-05-08 14:31:08 +00:00
christos 5314239046 make legacy.so work 2023-05-08 14:30:33 +00:00
rillig 36f24c2b4f make: disallow characters like '$' in variable names in .for loops
Fixes PR 53146.
2023-05-08 10:24:07 +00:00
skrll 64ea3e1f07 Google goldfish config goop 2023-05-08 10:18:03 +00:00
skrll baf487ef7a Set ac_cv_func_sigprocmask=yes as the symbol renaming confuses the
configure script on architectures that don't provide a compatibilty
symbol, e.g. RISC-V
2023-05-08 09:47:20 +00:00
rillig e997dbfa68 tests/make: add more tests for unusual variable names in .for loops 2023-05-08 09:24:42 +00:00
rillig 34f7aa2d4b make: fix parsing of unusual line continuations in .for loops 2023-05-08 09:01:20 +00:00
skrll 2cf8f174ba Ugly hack to fix the builds. 2023-05-08 08:26:11 +00:00
skrll cafafc1be8 Remove some #if 0'ed code 2023-05-08 08:07:36 +00:00
skrll 3400fe2f9f KNF 2023-05-08 07:56:08 +00:00
skrll 2ee8bb11b6 RISC-V: Add the Google Goldfish RTC to the GENERIC.common 2023-05-08 07:52:55 +00:00
skrll f4806a4269 Add a Google Goldfish RTC driver 2023-05-08 07:51:44 +00:00
skrll 528da60089 Missed a file in the RISC-V support commit 2023-05-08 07:38:48 +00:00
christos c563a46740 fix cross references (from Anon Ymous) 2023-05-08 01:28:35 +00:00
manu a804834721 Remove XXX todo marker left by mistake 2023-05-08 00:40:50 +00:00
christos 79f27b9d8a Provide a hook to link in libraries statically in PROGDPLIBS.
OpenSSL protects the symbols in the shared object via a linker
script, but programs and tests need those protected symbols, so
they either must link against the archive, or I need to expose the
symbols. For now, I chose to expose the symbols.  Note that we
cannot use -Bstatic -Lpath -llibrary -Bdynamic because this seems
to be broken with collect2 and so we use the path directly.
2023-05-07 23:24:51 +00:00
christos f88177bd0d regen man pages 2023-05-07 20:06:17 +00:00