Commit Graph

283633 Commits

Author SHA1 Message Date
yamaguchi
f171edc80d remove unnecessary lock acquire and release 2020-12-10 04:00:11 +00:00
yamaguchi
cdc9b0031a Fix a wrong value about HENA configuration 2020-12-10 03:58:35 +00:00
christos
33763ceda8 New OpenSSL 2020-12-10 00:36:22 +00:00
christos
4a7cf967a5 merge conflicts, regen 2020-12-10 00:33:08 +00:00
christos
f30e0929c0 Changes between 1.1.1h and 1.1.1i [08 Dec 2020]
Fixed NULL pointer deref in the GENERAL_NAME_cmp function This
function could crash if both GENERAL_NAMEs contain an EDIPARTYNAME.
If an attacker can control both items being compared then this
could lead to a possible denial of service attack. OpenSSL itself
uses the GENERAL_NAME_cmp function for two purposes:

Comparing CRL distribution point names between an available CRL
and a CRL distribution point embedded in an X509 certificate When
verifying that a timestamp response token signer matches the
timestamp authority name (exposed via the API functions
TS_RESP_verify_response and TS_RESP_verify_token) (CVE-2020-1971)
Matt Caswell

Changes between 1.1.1g and 1.1.1h [22 Sep 2020]
Certificates with explicit curve parameters are now disallowed in
verification chains if the X509_V_FLAG_X509_STRICT flag is used.

Tomas Mraz

The 'MinProtocol' and 'MaxProtocol' configuration commands now
silently ignore TLS protocol version bounds when configuring
DTLS-based contexts, and conversely, silently ignore DTLS protocol
version bounds when configuring TLS-based contexts. The commands
can be repeated to set bounds of both types. The same applies with
the corresponding "min_protocol" and "max_protocol" command-line
switches, in case some application uses both TLS and DTLS.

SSL_CTX instances that are created for a fixed protocol version
(e.g. TLSv1_server_method()) also silently ignore version bounds.
Previously attempts to apply bounds to these protocol versions
would result in an error. Now only the "version-flexible" SSL_CTX
instances are subject to limits in configuration files in command-line
options.

Viktor Dukhovni

Handshake now fails if Extended Master Secret extension is dropped
on renegotiation.

Tomas Mraz

The Oracle Developer Studio compiler will start reporting deprecated
APIs
2020-12-10 00:12:35 +00:00
martin
04ba0baf0e Remove <sys/param.h> include and assume users already include that.
Removes an include cycle when including <sys/resource.h> via:
ys/time.h, sys/timevar.h, sys/mutex.h, sys/intr.h on top of this
file, and sys/param.h, uvm/uvm_param.h, sys/resourcevar.h below.
2020-12-09 15:28:38 +00:00
jakllsch
35857d2e18 xhci_pci: avoid potential double free of interrupt handles
Found by Kouichi Hashikawa in PR 55855.
2020-12-09 14:21:09 +00:00
uwe
5c2cedda1f Add "memory" constraint on wrpsr, lost in previous. 2020-12-09 11:35:44 +00:00
skrll
20a68a6fd8 Remove unnecessary aarch64_dcache_wbinv_all now that pmapboot_enter does
dsb(ish)
2020-12-09 08:51:05 +00:00
rillig
a37bf773f6 make(1): clean up test output of opt-jobs-no-action 2020-12-09 08:20:56 +00:00
rillig
255e230425 make(1): remove noise from test output of opt-jobs-no-action 2020-12-09 08:18:35 +00:00
rillig
a98a651d79 make(1): split the -j -n test into separate targets
The manual page says that in -j mode when the shell does not have ErrCtl
(and none of the default shells has that), the command prefix '-'
"affects the entire job", but this seems to be wrong.  At least, there
is no change in the output from before, when all commands had been in
the same target.
2020-12-09 08:15:45 +00:00
rillig
c179784be7 make(1): add test for the -n option combined with RunFlags 2020-12-09 07:57:51 +00:00
rillig
332d2f1b45 make(1): refine test for combining -j1 and -n 2020-12-09 07:24:52 +00:00
skrll
72b9f5a656 Restructure the abort code for TD based transfers (ctrl, bulk, intr).
In PR kern/22646 some TDs can be on the done queue when the abort start
and, if this is the case, they need to processed after the WDH interrupt.
Instead of waiting for WDH we release TDs that have been touched by the
HC and replace them with new ones.  Once WDH happens the floating TDs
will be returned to the free list.

Also addresses the issue seen in PR kern/55835

Thanks to both Andreas Gustafsson and Edgar Fuß for testing.  Apologies to
Andreas Gustafsson for not committing this to HEAD for 4y6m.w
2020-12-09 07:10:01 +00:00
isaki
e0775c3f49 Remove an old description.
This behavior was modified in sys/dev/audio/audio.c rev 1.65 (Mar. 2020).
2020-12-09 05:48:56 +00:00
isaki
70b518eb6f Rewrite error handling on audio_open().
This also fixes a few resource leaks on error case.
2020-12-09 04:30:39 +00:00
isaki
f78151f2d8 Fix that audio_open() didn't halt the recording mixer correctly
if fd_allocfile() failed, since rev 1.65.
Will fix PR kern/55848.
2020-12-09 04:24:08 +00:00
uwe
bd65e18f86 sp_tlb_flush() - fix inline asm miscompiled by newer gcc versions.
As one national park director once said: "my problems start when the
dumber of my visitors meet the smarter of my bears".

Old inline asm used specific hardcoded registers "assuming that gcc
doesn't do anything funny with these".  Unfortunately now it does,
especially when this function is inlined.  We ended up restoring a
wrong context.  The result was mysterious infinite memory faults.

Rewrite in safer inline asm, so that gcc is not confused.

Many thanks to chs@ for his patience.
2020-12-09 04:02:20 +00:00
dholland
3818c9a287 arm bswap32: Improve the comments showing the byte flow.
It's confusing to use 1-4 for bytes 1-4 and then 0 for literal zero,
so use a-d for bytes 1-4.
2020-12-09 02:46:57 +00:00
rillig
de83a47b93 make(1): add more tests for combining -j1 and -n 2020-12-09 00:43:48 +00:00
rillig
32df21f05a make(1): add test for combining -j1 with -n 2020-12-09 00:25:00 +00:00
chs
ffc294f923 make rump's uvm_aio_aiodone_pages() look more like the kernel version.
fixes some more rumpy assertions.
2020-12-09 00:03:32 +00:00
rillig
c7f2a250c3 make(1): in jobs mode, invert local variable noSpecials to run 2020-12-08 21:34:49 +00:00
rillig
8fe50308d3 make(1): negate RunFlags.silent to become RunFlags.echo
This reduces the number of negations in the code.
2020-12-08 20:17:18 +00:00
rillig
e539c72b67 make(1): move flags errOff into RunFlags.ignerr 2020-12-08 20:10:24 +00:00
rillig
d79cfe4364 make(1): move flag runAlways into RunFlags 2020-12-08 20:04:17 +00:00
rillig
14ae239081 make(1): move flag shutUp into struct RunFlags
Running a command is controlled by several flags.  Instead of passing
them around individually, it's easier to have them grouped.
2020-12-08 19:58:20 +00:00
chs
a7b9f93047 the busypage test is buggy, expect it to fail. 2020-12-08 17:52:11 +00:00
christos
9d73d70e90 include gdbarch.h 2020-12-08 13:56:38 +00:00
yamaguchi
2ed09c7e02 Change the default interrupt-affinity of iavf(4) 2020-12-08 07:53:20 +00:00
thorpej
a21a9cd665 A couple of tweaks to the previous re-factor:
- Some of what was defined as "generic itimer" behavior turned out to be
  ptimer-specific.  As such, everything related to the "fired timer queue"
  is now specific to ptimers, and the queue and softint handle fields of
  itimer_ops are not needed.

- Split itimer_fini() into 2 parts: itimer_poision() marks the timer as
  dead and attempts to cancel it.  itimer_fini() is then just responsible
  for freeing itimer resources and releasing the lock.  They are split
  into two parts, as ptimers require an addition processing step between
  those two operations, but other kinds of itimers do not necessarily require
  that.

- Export a few more itimer-related symbols that other itimer types will
  need.

Riding previous kernel version bump since there are no external uses of
this code since the version bump that accompanied the original change.
2020-12-08 04:09:38 +00:00
rillig
0f9f7cf8c4 make(1): split JobPrintSpecials into manageable pieces 2020-12-08 00:50:04 +00:00
rillig
b6db76aec6 make(1): extract JobPrintSpecials from JobPrintCommand 2020-12-08 00:23:30 +00:00
rillig
ba0f4facab make(1): extract InitShellNameAndPath from Shell_Init
This gets rid of the ugly "else #endif".
2020-12-08 00:09:51 +00:00
rillig
2125e11bfd make(1): clean up debug logging 2020-12-07 23:59:59 +00:00
rillig
b75505322d make(1): replace signal handling macros with local functions 2020-12-07 23:53:09 +00:00
rillig
d96e3096f2 make(1): indent job.c with tabs instead of spaces 2020-12-07 23:48:04 +00:00
rillig
f411373c7b make(1): remove duplicate code for job output 2020-12-07 22:55:01 +00:00
rillig
affd50e454 make(1): replace macro MESSAGE with local function
The first parameter of the macro was always stdout, and there was no
apparent reason to pass anything else there.

Let the compiler decide whether to inline this or not, it's not
time-critical.
2020-12-07 22:47:03 +00:00
rillig
4d2ba079d3 make(1): remove duplicate code from bmake_strdup
Inlining is the job of the compiler, not of humans.
2020-12-07 22:37:18 +00:00
rillig
c8309d07f3 make(1): normalize output of test sh-dots for non-native mode 2020-12-07 22:27:56 +00:00
rillig
1e55774c0d make(1): add tests and tutorial for the ?= assignment operator 2020-12-07 21:35:43 +00:00
christos
16f88d4a62 make function static (fixes crossgdb build, reported by martin@) 2020-12-07 20:28:53 +00:00
jdc
fd3cc354e8 Add some debugging output to check sensor addition and refresh. 2020-12-07 13:24:15 +00:00
jmcneill
772dec48b4 acpicpu(4): Add support for Arm CPUs. 2020-12-07 10:59:26 +00:00
jmcneill
30d28f2000 acpicpu: Add support for ACPI P-states and T-states on Arm. 2020-12-07 10:57:41 +00:00
jmcneill
2f0b7cb5a1 ACPI Processor UID is 32-bits (ci_acpiid). 2020-12-07 10:56:12 +00:00
mrg
a63aaf55a5 micron SMART 202 is percent lifetime used not remaining.
almost gave myself a heart attack when my server said 7% remaining!
2020-12-07 10:36:19 +00:00
jmcneill
569b81e664 Fix 32-bit build. 2020-12-07 10:02:51 +00:00