Commit Graph

283090 Commits

Author SHA1 Message Date
thorpej a6946d490c malloc(9) -> kmem(9) 2020-11-20 18:34:45 +00:00
thorpej 45a935ba04 malloc(9) -> kmem(9) 2020-11-20 18:16:40 +00:00
thorpej 38fdb0855d malloc(9) -> kmem(9) 2020-11-20 18:03:52 +00:00
thorpej 1482c088fb malloc(9) -> kmem(9) 2020-11-20 17:48:25 +00:00
thorpej e112ee8b7f malloc(9) -> kmem(9) 2020-11-20 17:38:05 +00:00
roy d7405a9c8b Note import of dhcpcd-9.3.3 2020-11-20 13:33:07 +00:00
roy 86988fb56b Sync with dhcpcd-9.3.3 2020-11-20 13:24:58 +00:00
roy d55488a43d Update to dhcpcd-9.3.3 with the following changes:
* dhcpcd: Don't create a launcher process if keeping in foreground
 * dhcpcd: Add --noconfigure option
 * control: Create an unpriv socket for non master mode
 * options: Don't log unknown ones when printing pidfile location
2020-11-20 13:23:38 +00:00
hannken 98e71a6eeb When validating the mount device string make sure its length
is below *data_len and below PATH_MAX.

Reported-by: syzbot+2d3af801141509cc858c@syzkaller.appspotmail.com
2020-11-20 10:08:47 +00:00
msaitoh 3c2375368c Regen. 2020-11-20 01:29:46 +00:00
msaitoh 03ef64e846 Add newer Intel PCH internal devices. 2020-11-20 01:29:12 +00:00
rillig b87e92bb19 make(1): fix local variable name in ParseDoDependencyTargets 2020-11-20 00:24:56 +00:00
rillig 92ae6bc227 make(1): run tests with different shells as well, reduce output 2020-11-20 00:24:21 +00:00
rillig 8550207eb8 make(1): fix test opt-debug-jobs for native shell
Even after substituting the actual shell name with <shell>, the trailing
optional -q option needs to be normalized.
2020-11-19 23:50:26 +00:00
reinoud c7af24a73f Regenated from pcidevs 2020-11-19 22:03:16 +00:00
reinoud 8305ce6e6a Add modern QUMRANET/Red Hat VIRTIO range PCI devices 2020-11-19 21:59:07 +00:00
rillig fea3262579 make(1): fix test opt-debug-jobs when compiled with dash as shell
make USER_CPPFLAGS=-DDEFSHELL_CUSTOM='\"/usr/pkg/bin/dash\"'
2020-11-19 21:46:10 +00:00
rillig ae7cf2829a make(1): remove redundant postprocessing for test var-op-shell
The regular expression from the previous line already matches everything
that the removed line could ever match.
2020-11-19 21:39:50 +00:00
rillig 67b2defe63 make(1): remove postprocessing for test directive-export-gmake
Since revision 1.3, directive-export-gmake.mk takes care of handling this
case.  Removing the "error" lines from the output of the tests only makes
the test harder to understand and may also hide future bugs.
2020-11-19 21:35:46 +00:00
rillig 654eeac9fe make(1): mark srclist as a bad global variable
The previous comment "List of sources" didn't tell anything about the
purpose of the variable, it was only useful before July 2020, when its
data type was still Lst, without any type information.

Having a global variable here seems pointless, but all the code about
suffix transformations is so tricky and not well covered by tests that I
don't dare to convert the global variable to a local variable in
Suff_FindDeps.  The change itself would be trivial, but the hidden and
undocumented intentions of the original author probably aren't.
2020-11-19 21:27:29 +00:00
jkoshy e40f8f8406 Update 'elfdefinitions.h' to elftoolchain revision [r3891]. 2020-11-19 20:58:30 +00:00
rillig f0e1eb8794 make(1): compare pointers against NULL instead of implicit conversion 2020-11-19 14:42:33 +00:00
rillig ccaefb7637 make(1): fix compilation error in -DDEBUG_SRC mode 2020-11-19 14:32:25 +00:00
hannken 0b5a6352dc We have to ignore interrupts when suspending here the same way
we have to do with revoke.

Reported-by: syzbot+0cfb253b382a9836450a@syzkaller.appspotmail.com
2020-11-19 10:47:47 +00:00
hannken cf205aa356 Bozohttpd clobbers files greater than 4GB on 32bit archs.
Make sure the alignment mask derived from pagesize is an off_t.
2020-11-19 10:45:36 +00:00
msaitoh a3a6e10348 Add some sysctl values for debugging TX/RX queues. 2020-11-19 02:36:30 +00:00
msaitoh 52f3d0f55b Add comment. 2020-11-19 02:23:24 +00:00
jkoshy 1b4a9ac54c Sync 'utarray.h' and 'uthash.h' with elftoolchain revision [r3891].
This change upgrades these files to UT{HASH,ARRAY}_VERSION 2.1.0.
2020-11-18 22:23:05 +00:00
wiz a1209b298d Sort options.
Prompted by pgoyette.
2020-11-18 20:00:15 +00:00
bouyer ecee14cd03 Preserve Xen SIR slots for VM_GUEST_XENPVH. 2020-11-18 16:36:43 +00:00
hannken a58800008f Make this at least compile.
Looks like a missing part from "Round of uvm.h cleanup (2020-09-05 18:30)".
2020-11-18 16:13:34 +00:00
is 84206f8865 Don't complain about additional DNAME records received when resolving A or
AAAA (like already done for SIG/KEY and CNAME).
2020-11-18 12:49:52 +00:00
skrll 5cd11cc5c6 Trailing whitespace 2020-11-18 07:42:46 +00:00
rin 2489d3bd62 Adjust blank line & white space to slightly reduce diff from upstream.
No binary changes.
2020-11-18 06:49:13 +00:00
sjg ab5d64cce8 Cleanup - colliding fixes for same issue 2020-11-18 04:10:34 +00:00
thorpej 4de82d111b malloc(9) -> kmem(9) 2020-11-18 03:40:50 +00:00
thorpej 5586c60c5a malloc(9) -> kmem(9) 2020-11-18 02:22:16 +00:00
thorpej 6f97a7c12d malloc(9) -> kmem(9) 2020-11-18 02:04:29 +00:00
sjg b70d869915 Some tests need help with dash 2020-11-18 01:12:00 +00:00
sjg b4116ceb0f Always use -r -f /dev/null when not intending to read a makefile 2020-11-18 01:06:59 +00:00
rhialto d36fee1ba5 Remove heuristic for dealing with trailing newlines being truncated by mailers.
Patch and explanation taken from bsdimp:
https://bsdimp.blogspot.com/2020/08/a-35-year-old-bug-in-patch-found-in.html
https://svnweb.freebsd.org/base?view=revision&revision=364291

Every version of patch since the first one posted to mod.sources in 1985 have
included a heuristic for coping with the state of email messaging at the
time. This heuristic would add up to 4 blank lines to a patch if it thought it
needed it. The trouble is, though this causes at least one bug.

The bug in my case is that if you have a context diff whose last hunk only
deletes 3 or fewer lines, then if you try to reverse apply it with -R, it will
fail. The reason for this is the heuristic builds an internal representation
that includes those blank lines. However, it should really replicate the lines
from the pattern lines line it would any other time, not assume they are blank
lines. Removing this heuristic will prevent patch from misapplying the lines
removed after applying a 'fuzz' factor to the previous blank line in the file. I
believe this will only affect 'new-style' 4.3BSD context diffs and not the
older-style 4.2BSD diffs and plain, non-context diffs. It won't affect any of
the newer formats, since they don't use the 'omitted' construct in the same way.

Since this heuristic was put into patch at a time when email / etc ate trailing
white space on a regular basis, and since it's clear that this heuristic is the
wrong thing to do at least some of the time, it's better to remove it
entirely. It's not been needed for maybe 20 years since patch files are not
usually corrupted. If there are a small number of patch files that would benefit
from this corruption fixing, those already-currupt patches can be fixed by the
addition of blank lines. I'd wager that no one will ever come to me with an
example of a once-working patch file that breaks with this change. However, I
have 2 patches from the first 195 patches to 2.11BSD that are affected by this
bug, suggesting that the relative frequency of the issue has changed
signficantly since the original heuristic was put into place.
2020-11-17 20:49:12 +00:00
rillig edf9ffaa2c make(1): make test vardebug independent from the shell 2020-11-17 20:27:35 +00:00
rillig 89f92ad9db make(1): fix test output of var-op-shell for dash
Dash is helpful and outputs the line number in case of an error.  The
other shells don't do this.  Accept both variants.
2020-11-17 20:19:24 +00:00
rillig 64445dba48 make(1): fix test directive-export-gmake for dash
Dash only accepts environment variables whose names follow the usual
naming conventions.  (I didn't look up the exact details.)  In
particular, it rejects environment variables whose names start or end
with spaces.

This would result in an empty output from grep, in which case the exit
status from the shell command is non-zero, thus make prints an error
about this.  This error message should not appear in the test output, to
keep the test output the same for all platforms.
2020-11-17 20:16:44 +00:00
rillig 55e719e944 make(1): fix error message of failed :!cmd! modifier (since 2000-04-29) 2020-11-17 20:11:02 +00:00
rillig bb60fb97ce make(1): document 20-year-old bug in the :!cmd! modifier 2020-11-17 20:08:09 +00:00
maya 61ee145e76 Add "AOT" Ahead Of Time 2020-11-17 19:56:42 +00:00
ryo bac62c03d7 don't expose 'compatible[]' 2020-11-17 18:01:09 +00:00
ryo 0c3dd7e30c use aprint_verbose_dev() 2020-11-17 17:59:31 +00:00
rin a65a3352d3 Set USE_XZ_SETS to yes by default for aarch64eb in the same manner as aarch64. 2020-11-17 10:49:41 +00:00