Skip to content

Commit cd4cd99

Browse files
committedJan 9, 2024
kernelCTF: add test workflow
1 parent 4baad8d commit cd4cd99

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
 

‎.github/workflows/kernelctf-test.yaml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: kernelCTF test action
2+
on:
3+
workflow_dispatch:
4+
permissions: {}
5+
jobs:
6+
cpu_info:
7+
runs-on: ubuntu-22.04-4core
8+
steps:
9+
- name: KPTI check
10+
run: |
11+
cat /proc/cpuinfo|grep " pti"
12+
sudo dmesg | grep 'Kernel/User page tables isolation'
13+
cat /sys/devices/system/cpu/vulnerabilities/meltdown
14+
dmesg | grep isolation
15+
16+
- name: cpuinfo
17+
run: cat /proc/cpuinfo
18+
19+
- name: dmesg
20+
run: dmesg

0 commit comments

Comments
 (0)
Please sign in to comment.