Commit Graph

281369 Commits

Author SHA1 Message Date
skrll
e37c28423f Fix evbarmv5 build 2020-10-01 08:27:20 +00:00
skrll
2af808c89b KNF (and some newlines) 2020-10-01 07:31:27 +00:00
skrll
0d76088d86 Fix build 2020-10-01 07:21:36 +00:00
skrll
3d703e4464 KNF 2020-10-01 06:59:34 +00:00
ryo
4237298128 fix build error with LLVM 2020-10-01 06:40:16 +00:00
pgoyette
055829b56d Fix up the debug stuff for if_tap and if_vether 2020-10-01 02:00:04 +00:00
jmcneill
a6247e1ae1 Fix off-by-one in channel count, from Mark Millard. 2020-09-30 23:58:13 +00:00
roy
bb8258cab8 Add if_tap directory for DEBUG builds. 2020-09-30 20:20:53 +00:00
christos
e06f645ac3 Fix
% set x='a/b c/d.e'
% echo $x:q:h
2020-09-30 17:51:10 +00:00
roy
d1817bc062 Be like other tests and speciy the binary name we install 2020-09-30 17:14:11 +00:00
christos
9b07800afe Add missing lint library 2020-09-30 17:11:31 +00:00
roy
04b4419fc0 Fix prior 2020-09-30 17:05:59 +00:00
skrll
b90fe2849c Improve a comment 2020-09-30 16:47:55 +00:00
skrll
7ae3cf1846 Move el[01]_trap_exit into vectors.S where the callers exist 2020-09-30 16:35:49 +00:00
jmcneill
7a50f3a533 Set sc_fifolen=1 for the no fifo case 2020-09-30 14:56:34 +00:00
roy
9357589466 Add rump_open_tap 2020-09-30 14:54:33 +00:00
roy
856440c094 tap(4): update the test so that we can open the tap to ping across a bridge
ping with tap closed to ensure it fails
ping with tap open to ensure it works
2020-09-30 14:43:15 +00:00
ryo
d52dcf46a2 add linux compatible /proc/cpuinfo 2020-09-30 08:43:47 +00:00
ryo
5df1ab1744 add some fields of ID_AA64ISAR1_EL1 definition (ARMv8.6) 2020-09-30 08:40:49 +00:00
martin
ea05ef54e5 Revert previous - test is a shell script, no debug info installed 2020-09-30 08:32:00 +00:00
martin
b498a32669 Add if_vether debug dir 2020-09-30 08:21:27 +00:00
mrg
0c0fa330b0 add missing new if_vether subdir. 2020-09-30 07:55:31 +00:00
rillig
96b6817011 make(1): extract ApplyModifier_Quote into separate function 2020-09-30 06:46:43 +00:00
rillig
b7700f97c7 make(1): remove redundant assertions in lst.c
These pointers are dereferenced shortly after the assertion, which
reliably leads to a SIGSEGV.
2020-09-30 06:27:02 +00:00
rillig
5f39d62315 make(1): fix typos in test for the :L variable modifier 2020-09-30 06:15:43 +00:00
rillig
c3a5fe1b8f make(1): fix bug in evaluation of indirect variable modifiers
Since 2020-09-22, when indirect variable modifiers were applied to a
variable expression based on an undefined variable, these modifiers did
not change the state of a variable expression from undefined to defined.
The modifiers that do this are :D, :U, :L, :P.  Minimal example:

	${VARNAME:${:UL}}

The :L modifier from the inner expression sets the value of the outer
expression to its variable name, in this case "VARNAME".  The outer
expression was not marked as being defined though, which resulted in a
"Malformed conditional" error.

In the commit from 2020-09-22, vardebug.exp had changed a lot, and I had
not inspected the change closely.  The important detail was in lines 56
and 60, where VAR_JUNK|VAR_KEEP changed into VEF_UNDEF, thereby losing
the VEF_DEF bit.
2020-09-30 05:58:22 +00:00
rillig
5b9d0e2489 make(1): demonstrate bug in evaluation of indirect variable modifiers
Reported by sjg.
2020-09-30 05:42:06 +00:00
simonb
5d42733d1c Add some KNF whitespace. 2020-09-30 05:04:54 +00:00
jmcneill
2929927574 Collapse all CPU_CORTEXA<n> options into CPU_CORTEX and do runtime
detection instead of ifdefs where required.
2020-09-29 19:58:49 +00:00
roy
428927374e vether(4): Add ATF tests based on the tap(4) tests. 2020-09-29 19:41:48 +00:00
roy
76faeff505 inet: Treat LINK_STATE_UNKNOWN as LINK_STATE_UP when changing
It's something we have always done.
it's really rare for anything to transition to UNKNOWN from either
UP or DOWN, but technically it is possible.
2020-09-29 19:33:36 +00:00
rillig
67eca6e99d make(1): rename ShortVarValue to UndefinedShortVarValue 2020-09-29 19:20:08 +00:00
rillig
f89580c421 make(1): add test for using the :D variable modifier as comment 2020-09-29 18:48:43 +00:00
rillig
cff1f8a366 make(1): remove unused assignments to local variables
These only became obvious once ApplyModifier had been extracted, which
shrank the source code of ApplyModifiers by about 100 lines.

Even GCC 5 had seen that they are redundant and had not generated any
code for them.
2020-09-29 18:44:30 +00:00
roy
6c00c3be34 rumpify vether(4) 2020-09-29 18:33:22 +00:00
rillig
36e807e1d5 make(1): extract ApplyModifier from ApplyModifiers
This allows a return, instead of a variable assignment followed by a
break, saving a few lines of source code.

The size of the resulting binary shrinks as well, even though the code
is essentially the same as before.
2020-09-29 18:31:39 +00:00
roy
5f960c42fc libtap: Improve comment 2020-09-29 18:31:31 +00:00
rillig
39d1e1c2b5 make(1): fix test job-output-long-lines
The test failed on Linux since the test relied on the two child
processes interleaving each other.  This is not guaranteed to happen
though.
2020-09-29 18:16:24 +00:00
skrll
7c77f45c9b Fix RPI (armv6) build 2020-09-29 18:13:29 +00:00
roy
fd5c758a79 Whitespace 2020-09-29 16:35:42 +00:00
roy
d76886af8e Fix build with clang. 2020-09-29 16:34:07 +00:00
martin
a23a20c65a Apply patch provided by Izumi Tsutsui in PR 55382: make ext2 partitions
show up in the outer (MBR) partition table, needed for example on Cobalt
where firmware boots from that partition.
2020-09-29 15:29:17 +00:00
martin
8e2247ea41 PR 55381: try to deal with moved (but not yet saved) partitions when
calculating free space
2020-09-29 14:29:56 +00:00
gson
fe093d7595 When reporting an error before daemonizing, prefix the error message
with the program name.
2020-09-29 14:08:43 +00:00
roy
2d02f67b40 xinstall: define MAKE_NATIVE so our make parts compile 2020-09-29 12:04:48 +00:00
msaitoh
b140fa3c95 Add [-]eee and [-]vlan-hwfilter. 2020-09-29 08:52:11 +00:00
gson
30dac4875b Log a message when a process blocks due to a lack of entropy.
Discussed on tech-kern.
2020-09-29 07:51:01 +00:00
msaitoh
8d86b96727 s/settng/setting/ 2020-09-29 03:04:03 +00:00
msaitoh
cccc3d1cb5 s/implicitely/implicitly/ 2020-09-29 03:02:18 +00:00
msaitoh
57920690e6 s/occurence/occurrence/ 2020-09-29 02:58:51 +00:00