- - for C in $KCONFIGS; do COUNT=$(expr $COUNT + 1); echo ">>>>> checking kconfig number $COUNT <<<<<"; kconfig-hardened-check -c $C -l /proc/cmdline; done
- - echo ">>>>> have checked $COUNT kconfigs <<<<<"
+ - for C in $KCONFIGS; do COUNT=$(expr $COUNT + 1); echo ">>>>> checking kconfig number $COUNT <<<<<"; kernel-hardening-checker -c $C -l /proc/cmdline -s /tmp/sysctls; done
+ - echo "Have checked $COUNT kconfigs"
+ static-typing-checking:
+ image: python:3
+ pull: true
+ commands:
+ - echo "Install the mypy tool..."
+ - python --version
+ - pip install --no-cache-dir mypy
+ - mypy kernel_hardening_checker/ --show-error-context --pretty --no-incremental --check-untyped-defs --disallow-untyped-defs --strict-equality
+ pylint-checking:
+ image: python:3
+ pull: true
+ commands:
+ - echo "Install the pylint tool..."
+ - python --version
+ - pip install --no-cache-dir pylint
+ - pip install --no-cache-dir setuptools
+ - pylint --recursive=y kernel_hardening_checker setup.py