kernelCTF: fix workflow #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: kernelCTF test action | |
on: | |
workflow_dispatch: | |
push: # hack to make this workflow appear on the UI | |
permissions: {} | |
jobs: | |
cpu_info: | |
runs-on: ubuntu-22.04-4core | |
steps: | |
- name: KPTI check | |
run: | | |
cat /proc/cpuinfo|grep " pti" | |
sudo dmesg | grep 'Kernel/User page tables isolation' | |
cat /sys/devices/system/cpu/vulnerabilities/meltdown | |
dmesg | grep isolation | |
- name: cpuinfo | |
run: cat /proc/cpuinfo | |
- name: dmesg | |
run: dmesg |