Skip to content

Commit

Permalink
kernelCTF: fix workflow 2
Browse files Browse the repository at this point in the history
  • Loading branch information
koczkatamas committed Jan 9, 2024
1 parent e8784dc commit 914254d
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions .github/workflows/kernelctf-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,26 @@ 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: "KPTI check: cpuinfo"
continue-on-error: true
run: cat /proc/cpuinfo|grep " pti"

- name: "KPTI check: dmesg"
continue-on-error: true
run: sudo dmesg | grep 'Kernel/User page tables isolation'

- name: "KPTI check: dmesg isolation"
continue-on-error: true
run: sudo dmesg | grep isolation

- name: "Meltdown check"
continue-on-error: true
run: cat /sys/devices/system/cpu/vulnerabilities/meltdown

- name: cpuinfo
continue-on-error: true
run: cat /proc/cpuinfo

- name: dmesg
run: dmesg
continue-on-error: true
run: sudo dmesg

0 comments on commit 914254d

Please sign in to comment.