7 Commits

Author SHA1 Message Date
John Andersen 96ec8b558d README: Fix formatting 2020-09-01 21:46:35 -07:00
John Andersen e8ec4ad941 README: Archive 2020-09-01 21:44:38 -07:00
Miguel Bernal Marin 6aa1b73004 defaults: Drop STRICT DEVMEM requirement
KCC recommends to disable DEVMEM and set STRICT_DEVMEM and
IO_STRICT_DEVMEM, but from [1]

> # Do not allow direct physical memory access (but if you must have it, at least enable STRICT mode...)
> # CONFIG_DEVMEM is not set
> CONFIG_STRICT_DEVMEM=y
> CONFIG_IO_STRICT_DEVMEM=y

From lib/Kconfig.debug file, STRICT_DEVMEM depends on MMU && DEVMEM,
and IO_STRICT_DEVMEM depends on STRICT_DEVMEM.

On Linux commit https://github.com/torvalds/linux/commit/045f6d7942be248fbda6e85b2393f2735695ed39
some messed up configurations were fixed and for kernels > 5.6,
when DEVMEM "is not set", STRICT_DEVMEM is showed as "is not set"
in the kernel config file. This brings a false positive error
message for kernels >= 5.7.

As STRICT_DEVMEM and IO_STRICT_DEVMEM are not set when DEVMEN
"is not set", let's remove them from KCC

[1] https://kernsec.org/wiki/index.php/Kernel_Self_Protection_Project/Recommended_Settings

Signed-off-by: John Andersen <johnandersenpdx@gmail.com>
2020-06-11 09:39:23 -07:00
Fabrice Fontaine 1172a864c3 cli: Fix --query option (#3)
* --query option didn't work because kconfig is always set to
  Kconfig.default(). Fixed by passing must_be_{set,set_or_module,unset}
  to Kconfig

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2019-04-09 14:07:42 -07:00
Arjan van de Ven 2cdffab55e Merge pull request #2 from forwardtape/add_changed_keys
CC_STACKPROTECTOR changed to STACKPROTECTOR
2018-10-02 10:26:26 -07:00
Luis Ponce 09c3aeeb9c CC_STACKPROTECTOR changed to STACKPROTECTOR
Add in MUST_BE_SET dictionary the new value for 4.18 and further
versions.
2018-10-02 11:16:02 -05:00
Arjan van de Ven 999ba0b06b Release kernel config checker
Signed-off-by: John Andersen <john.s.andersen@intel.com>
0.0.8
2018-08-03 14:25:23 -07:00