Commit Graph

283266 Commits

Author SHA1 Message Date
rillig
bbdb624c98 make(1): add explanation for test suff-rebuild 2020-11-21 12:01:16 +00:00
rillig
416a199000 make(1): add more debug logging for suffix handling
One notable thing is that there is no debug output when adding a
transformation rule like ".c.o",  which means that these rules don't end
up in the global allTargets variable.

This may or may not be intentional.  It seems not intentional since this
is one of the causes for the suff-rebuild test to behave unexpectedly.
2020-11-21 11:59:22 +00:00
rillig
c7d2d627f1 make(1): enable debug logging for test suff-rebuild
As long as it is not clear why this test fails, it's better to have the
debug log available, both for reading it and for getting notified if
any behavior in this area changes.
2020-11-21 11:55:57 +00:00
jmcneill
d5776e5520 Add a per-CPU event counter that counts every time an interrupt handler is
preempted by a higher priority interrupt.
2020-11-21 11:43:59 +00:00
kim
3eea9a90f9 boot.cfg.5: Note that userconf can be used multiple times
Additionally:
- Make it easier for the reader to learn which keywords can be used
  multiple times
- Use multiple "userconf" lines in the EXAMPLES section, conveniently
  listing the current DRM drivers that a user might need to disable to
  troubleshoot "blank screen after boot" issues.
2020-11-21 11:41:54 +00:00
mlelstv
47f463a521 Fix previous and tag the right callout... 2020-11-21 11:26:55 +00:00
mlelstv
1352e383d0 Run callout without kernel lock, the softint itself is still protected. 2020-11-21 11:23:22 +00:00
rillig
91b9265a19 make(1): improve comment style in GNode_Free
It was unclear what the ellipsis referred to.  It was meant to refer to
the function call Lst_Free, but that was not necessarily obvious to a
casual reader.
2020-11-21 10:56:17 +00:00
rillig
6d886316ea make(1): fix indentation in Make_HandleUse 2020-11-21 10:51:26 +00:00
rillig
ed1ae9b4ee make(1): fix comment for allTargets
Source nodes are also included in this list.  What's not includes is
nodes that are _only_ source nodes.
2020-11-21 10:50:39 +00:00
rillig
2c440fadec make(1): add more debug logging for suffixes
The "Removing suffix" is not covered by the current tests.  It would be
best if that code were unreachable at all, since a reference count of -1
doesn't make sense.
2020-11-21 10:36:01 +00:00
rillig
27b9e4c5e6 make(1): add test for incomplete transformation rule 2020-11-21 10:32:42 +00:00
rillig
8f33a92f2e make(1): add debug logging when adding a suffix to the global list 2020-11-21 09:53:40 +00:00
rillig
99a15640c4 make(1): rename local variable s to suff
The name s was ambiguous.  It could have meant suffix, src, str, and
probably more.
2020-11-21 09:51:00 +00:00
skrll
1f14513bf6 Trailing whitespace 2020-11-21 09:36:26 +00:00
rin
f52e729971 roundsleep(): Too many zeros; tv_nsec should be compared with
500 msec, not 5000. Raised by clang for ILP32 archs.
2020-11-21 09:24:02 +00:00
rillig
6adf3573af make(1): make debug logging more precise in Suff_EndTransform 2020-11-21 09:19:46 +00:00
rillig
71013d7845 make(1): flatten Suff_EndTransform
This avoids the duplicate code for testing OP_TRANSFORM.
2020-11-21 09:16:44 +00:00
rillig
6950342b0d make(1): make output of test suff-rebuild more verbose 2020-11-21 08:51:57 +00:00
rillig
dadca80717 make(1): rename SuffScanTargets to SuffUpdateTarget
The word "scan" no longer applies to this function since that is done by
SuffUpdateTargets instead.
2020-11-21 08:23:36 +00:00
mlelstv
abde51a7a8 Restore missing message for RB_ASKNAME.
Cleanups.
2020-11-21 08:10:27 +00:00
rin
d50adbc140 Fix build with clang for earmv7hf; loadroundkey() is used only for __aarch64__. 2020-11-21 08:09:21 +00:00
rillig
c6c7de4990 make(1): clean up parameter names for SuffScanTargets
The prefix "gs" came from a time when SuffScanTargets was called via
Lst_ForEach, passing it a struct GNodeSuff.  The "gs" had just been the
abbreviation for "GNode + Suff", which was already non-expressive.  On
top of that, the struct had a third field "r", also with an unclear name,
which was not even mentioned in the name of the struct.

For now, just remove the needless prefix since it has absolutely no
meaning anymore.  Maybe it will become clear what the "r" was supposed to
mean, it could be some kind of "result".
2020-11-21 08:01:20 +00:00
thorpej
fd5889cbee malloc(9) -> kmem(9) 2020-11-21 00:27:52 +00:00
rillig
91454f41a4 make(1): make string iterator in ParseDependencyTargetWord const 2020-11-20 20:01:16 +00:00
thorpej
cf0030cb28 malloc(9) -> kmem(9) 2020-11-20 18:49:44 +00:00
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