- 14 Aug, 2023 9 commits
-
-
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
It always runs as a main program.
Alexander Popov authored -
Alexander Popov authored
-
Alexander Popov authored
-
- 13 Aug, 2023 10 commits
-
-
Alexander Popov authored
-
This file was made with root privileges, so it has a full list of sysctls.
Alexander Popov authored -
Alexander Popov authored
-
The GitHub Actions virtual machine has such a sysctl: fs.binfmt_misc.llvm-14-runtime/binfmt = enabled This example shows that sysctl names may contain the / symbol.
Alexander Popov authored -
Refers to #65
Alexander Popov authored -
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
Refers to #65
Alexander Popov authored
-
- 23 Jul, 2023 11 commits
-
-
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
Alexander Popov authored
-
- 22 Jul, 2023 1 commit
-
-
Much better code, no functional changes
Alexander Popov authored
-
- 16 Jul, 2023 2 commits
-
-
Alexander Popov authored
-
Refers to #65
Alexander Popov authored
-
- 15 Jul, 2023 4 commits
-
-
Alexander Popov authored
-
`man 1 sh` says about '-e': ``` The shell does not exit if the command that fails is part of the command list immediately following a while or until keyword, part of the test following the if or elif reserved words, part of any command executed in a && or || list except the command following the final && or ||, any command in a pipeline but the last, or if the command's return value is being inverted with !. That's why testing error handling in the functional tests didn't check the exit status at all :( Let's fix that. Example before the fix: ! coverage run -a --branch bin/kconfig-hardened-check -l /proc/cmdline Example after the fix: coverage run -a --branch bin/kconfig-hardened-check -l /proc/cmdline && exit 1
Alexander Popov authored -
Don't emit ERROR here. Even GitHub Actions machines have repeated options in /proc/cmdline. Also see the comment in cmdline parsing for x86: https://elixir.bootlin.com/linux/v5.16.7/source/arch/x86/boot/cmdline.c#L21 ``` In accordance with standard Linux practice, if this option is repeated, this returns the last instance on the command line. ```
Alexander Popov authored -
Alexander Popov authored
-
- 12 Jul, 2023 3 commits
-
-
Alexander Popov authored
-
And fix the wording in the error message by the way.
Alexander Popov authored -
Alexander Popov authored
-