Commit Graph

283650 Commits

Author SHA1 Message Date
rillig
a6d2ec5914 make(1): unpack struct JobFlags
The job flags are only used individually.
2020-12-10 21:33:25 +00:00
rillig
e6318f0347 make(1): rename commandShell to shell
The word 'command' was not necessary for understanding the variable.
2020-12-10 21:09:58 +00:00
skrll
ed48051c9f Another leading space 2020-12-10 20:50:24 +00:00
rillig
c2147f488d make(1): split JobFlags into separate fields
Having all these flags in a single bitmask makes it harder to see where
exactly they can possibly be used since their state could also be
modified using the unsuspicious job->flags = 0.  Using individual names
just leaves the single memset, and that is only used during
initialization.
2020-12-10 20:49:11 +00:00
skrll
2d27dd3df7 Remove leading space that crept in in the last change 2020-12-10 20:48:33 +00:00
rillig
6d74c4fd10 make(1): in JobStart, negate 'noExec' to 'run' 2020-12-10 20:14:35 +00:00
rillig
8d426fd34d make(1): fix theoretical type mismatch for Job_Touch 2020-12-10 20:10:03 +00:00
rillig
13e47b6b33 make(1): fix test for command flags
The "false" is supposed to be run not only if the command has the '-'
flag, but also if the target is marked as .IGNORE or if the command line
option -i is given.

After the failed command, the remaining commands are skipped, therefore
the final echo for the empty line had to be moved up, at the beginning
of the target.
2020-12-10 17:55:30 +00:00
rillig
57bbdba1d0 make(1): test all combinations of switches for running commands
The code in JobPrintSpecials is rather complicated and contains
surprising interaction between some of the switches.

To see the exact effects of the switches, record the current state and
its output, to prevent accidental breakage during the upcoming
refactorings.
2020-12-10 17:06:13 +00:00
jdc
5b295983c9 Handle failing to acquire the iic bus.
Better handle errors when attaching sysmon sensors.
2020-12-10 17:02:51 +00:00
rillig
2e131e6594 make(1): document limitations of deferred '$' in ':?' modifier 2020-12-10 16:47:42 +00:00
rillig
a108871569 make(1): add test demonstrating how to defer evaluation in :? modifier 2020-12-10 16:36:47 +00:00
martin
52d85f7124 Avoid an unused variable (breaking the build) 2020-12-10 16:07:26 +00:00
mrg
9c9331d392 apply this change to a a couple more tests:
---
date: 2020-07-27 09:57:44 -0700;  author: gson;  state: Exp;  lines: +6 -1;  commitid: m3HouRBlhyJQVJhC;
Skip the repeated_link_addr test by default as it causes the
evbarm-aarch64 testbed to hang (PR port-evbarm/55521), and will not be
safe to run by default even after that bug is fixed, for similar
reasons as t_repeated_updown.
---

t_repeated_mtu.sh changes the MTU, which may cause NFS to fail.
if you have NFS root, this is system killing.

t_repeated_scan.sh kills and restarts both hostapd and
wpa_supplicant.
2020-12-10 08:16:59 +00:00
rin
93b94eb346 Fix armeb; CORE_ADDR is uint64_t but 2nd argument of raw_supply() is
expected to be the same size as PC. Therefore, PC was always read as
zero for big-endian.
2020-12-10 07:27:37 +00:00
rin
9e80800bb0 Fix arm, for which PT_STEP is defined but unimplemented.
XXX
Stop exposing PT_STEP to userland for arm?
2020-12-10 07:14:58 +00:00
yamaguchi
3837a34db4 Add a string literal for IAVF_VC_OP_CONFIG_RSS_LUT 2020-12-10 04:03:00 +00:00
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