Skip to content

Commit

Permalink
seccomp tools
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden committed Aug 2, 2024
1 parent cf6d6c8 commit 63bd355
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,17 @@ jobs:
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: Install seccomp-tools
run: sudo apt-get update && sudo apt-get install -y seccomp-tools

- name: Check for recvmmsg syscall
run: |
if seccomp-tools inspect $(pgrep -x emulator) | grep recvmmsg; then
echo "recvmmsg syscall is allowed"
else
echo "recvmmsg syscall is not allowed"
fi
- name: Create emulator script
run: |
echo '#!/bin/bash
Expand Down

0 comments on commit 63bd355

Please sign in to comment.