Commit Graph

278350 Commits

Author SHA1 Message Date
rillig abc8b07393 make(1): fix indentation in var.c
Fixing the indentation manually is a tedious task.  indent(1) was no help
since it has several bugs and is not flexible enough for the original
make code.
2020-07-03 17:48:47 +00:00
skrll b1eeadb79c KNF (sort includes) 2020-07-03 17:22:14 +00:00
skrll 4a314e0b78 1 page is enough for memhook now since the merge of the rmind-uvmplock
branch and the removal of sys/arch/arm/arm32/mem.c

The last users of memhook don't care about number of CPUs or page colours.
2020-07-03 17:14:23 +00:00
rillig dfddd9d1ba make(1): add Hash_ForEach to avoid duplicate code 2020-07-03 17:03:09 +00:00
rillig aa9c7243ec make(1): fix indentation and alignment 2020-07-03 17:00:47 +00:00
maxv ef06fc5cad hardclock_ticks -> getticks() 2020-07-03 16:23:02 +00:00
maxv 0da96df8e5 In cpu_uarea_{alloc,free}:
- My previous change in this file was not correct, kremove does not free
   the underlying PA, which caused a very slow leak under memory pressure.
   Rework to correctly free the PA.
 - Add a second redzone, this time after the stack, to catch several stack
   overflows. The main concern is read overflows which leak the heap that
   follows the stack.
 - UVM_KMF_WAITVA doesn't fail, so remove error check.
 - Add KASSERTs.
2020-07-03 16:17:24 +00:00
maxv f235863a23 Enable trace-cmp. 2020-07-03 16:12:16 +00:00
maxv 0cdc224fdb Sync trace-pc and trace-cmp. 2020-07-03 16:11:11 +00:00
maxv 81c09e8431 Print the backend name when attaching. 2020-07-03 16:09:54 +00:00
maxv 66af4cddad more 2020-07-03 16:07:52 +00:00
rillig 51f9ee534b make(1): make code for the :E and :R modifiers simpler 2020-07-03 15:42:43 +00:00
rillig 6315badb6d make(1): add test for :R modifier 2020-07-03 15:41:37 +00:00
rillig 5686930b74 make(1): add more tests for :H, :T and :E modifiers 2020-07-03 15:33:01 +00:00
skrll 3b3140f5f6 KNF 2020-07-03 15:31:25 +00:00
rillig 2ea85ac206 make(1): clean up code for the :H and :T modifiers 2020-07-03 15:24:31 +00:00
rillig ab6a4b146c make(1): add test for :H and :T modifiers with several words 2020-07-03 15:22:35 +00:00
rillig ff424d034e make(1): add missing test for the :H and :T modifiers 2020-07-03 14:59:17 +00:00
rillig 1ea1146121 make(1): refactor ApplyModifiers
Previously, ApplyModifiers was 1200 lines long and pretty complicated.
Now each of the complicated modifiers has its own function, which reduces
the indentation and makes it possible to use early returns.
2020-07-03 14:14:04 +00:00
christos d6527692c4 don't overallocate (requested by maxv@) 2020-07-03 14:08:53 +00:00
roy f8262fcce8 unbreak build, put /var/db/dhcpcd into the set lists 2020-07-03 12:53:27 +00:00
isaki bebda9f2a3 Fix an argument passes to auixp_intr().
This is rest of rev 1.39 (split device_t/softc) in 2012.
Problem reported and tested by Riccardo Mottola.
2020-07-03 12:39:54 +00:00
roy 1580d06b1a Add /var/db/dhcpcd back 2020-07-03 11:03:42 +00:00
roy ec10befd40 Note import of dhcpcd-9.1.4 2020-07-03 10:47:29 +00:00
roy 61fe7a6beb Sync 2020-07-03 10:46:45 +00:00
roy 1d3a3c99fc Update to dhcpcd-9.1.4 with the following changes:
* Fix SMALL builds
 * Ensure DBDIR exists at startup
2020-07-03 10:45:43 +00:00
jmcneill 7c5cd4a6aa Move db_reset_cmd prototype to db_machdep.h (forgot to commit this file) 2020-07-03 10:19:18 +00:00
rillig 90a4c7d338 make(1): remove redundant parentheses around return value 2020-07-03 08:37:56 +00:00
skrll b6d64ab7ab Make this compile/work on 32-bit archs. OK'ed my maxv
I thought about uintptr_t, but didn't change from Elf_Addr
2020-07-03 08:19:20 +00:00
rillig 820b5caede make(1): remove trailing whitespace 2020-07-03 08:13:23 +00:00
rillig 44d841d2c5 make(1): remove redundant parentheses around return values 2020-07-03 08:02:55 +00:00
rillig 12b3007c76 make(1): refactor Str_Match
- use shorter variable names to avoid line breaks
- eliminate c2 variable
- change return type to Boolean
2020-07-03 07:40:13 +00:00
jruoho 7b69662fe9 Skip these also for Qemu runs as they cause panics. Point to PR kern/55451. 2020-07-03 07:03:14 +00:00
skrll 1328297211 Consistency...#define<tab> 2020-07-03 06:49:26 +00:00
skrll 467df8a73e KNF (sort #includes) 2020-07-03 06:35:05 +00:00
skrll d084c0fc75 Style and share a debug string 2020-07-03 06:33:39 +00:00
rillig 76ed5386c9 make(1): clean up Str_Match
- removed unnecessary parentheses
- uniform test for end of string
2020-07-03 06:30:02 +00:00
skrll bebb61e6d8 Use howmany() 2020-07-03 06:26:41 +00:00
rillig 001c9f20c0 make(1): clean up documentation of Str_Match 2020-07-03 06:25:23 +00:00
skrll cba5346832 Whitespace 2020-07-03 06:22:48 +00:00
skrll 7369e038e0 Wrap a comment 2020-07-03 06:15:27 +00:00
skrll 88a427068b Provide a db_reset_cmd prototype 2020-07-03 06:13:00 +00:00
jruoho 9cb1df3cd3 Add a check for PR bin/54692. 2020-07-03 04:25:28 +00:00
jruoho 7bd1b83147 Add a check for the overflow noted in PR lib/46542. 2020-07-03 03:59:18 +00:00
jruoho 04c087f823 Verify that PR lib/55041 is no longer an issue. 2020-07-03 03:13:10 +00:00
jruoho f62e6216a7 Expect a timeout for evbarm-aarch64, as seen in the recent Qemu runs. 2020-07-03 02:51:13 +00:00
uwe 939fb589cb setcchar - don't lose combining marks to a typo.
We copy len wchars but set the length field to 1, instead of len.
From Naman Jain in PR lib/55443
2020-07-02 23:43:01 +00:00
rillig e8699354fb cgram(6): use standard cursor keys, use standard shuffle algorithm
The previous shuffle algorithm asked for 100 random numbers, on average.
The new algorithm asks exactly for 26 random numbers.

Curses predefines numeric constants for keys, and there is no apparent
reason not to use these standard keys for cursor movement.
2020-07-02 19:11:01 +00:00
roy 95af55eb59 dhcpcd: Fix SMALL build 2020-07-02 17:15:00 +00:00
rillig ebbfad8f2d make(1): fix unnecessary evaluation of variables in :@var@ modifier 2020-07-02 16:52:34 +00:00