Commit f6fc80f
committed
Enable overflow checks by default and for release builds in the CI
Size does not increase much:
text data bss dec
7464833 1492128 2301996 11258957 vmlinux (without Rust support)
7667127 1701060 2301996 11670183 vmlinux (with Rust support)
7667127 1709252 2301996 11678375 vmlinux (+ overflow checks)
Performance is harder to measure at the time being, since we do not
have yet proper benchmarks, but we can always disable later.
Suggested-by: Kees Cook <keescook@chromium.org>
Suggested-by: Wedson Almeida Filho <wedsonaf@google.com>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>1 parent 9c1bc39 commit f6fc80f
4 files changed
Lines changed: 5 additions & 5 deletions
File tree
- .github/workflows
- lib
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1375 | 1375 | | |
1376 | 1376 | | |
1377 | 1377 | | |
1378 | | - | |
| 1378 | + | |
1379 | 1379 | | |
1380 | 1380 | | |
1381 | 1381 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1483 | 1483 | | |
1484 | 1484 | | |
1485 | 1485 | | |
1486 | | - | |
| 1486 | + | |
1487 | 1487 | | |
1488 | 1488 | | |
1489 | 1489 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1425 | 1425 | | |
1426 | 1426 | | |
1427 | 1427 | | |
1428 | | - | |
| 1428 | + | |
1429 | 1429 | | |
1430 | 1430 | | |
1431 | 1431 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2557 | 2557 | | |
2558 | 2558 | | |
2559 | 2559 | | |
2560 | | - | |
| 2560 | + | |
2561 | 2561 | | |
2562 | 2562 | | |
2563 | 2563 | | |
| |||
2568 | 2568 | | |
2569 | 2569 | | |
2570 | 2570 | | |
2571 | | - | |
| 2571 | + | |
2572 | 2572 | | |
2573 | 2573 | | |
2574 | 2574 | | |
| |||
0 commit comments