Skip to content

Commit

Permalink
fix(seccomp): add KVMCLOCK_CTRL ioctl on x86_64
Browse files Browse the repository at this point in the history
This is to be able to call KVMCLOCK_CTRL ioctl in
a vCPU thread.

Signed-off-by: Nikita Kalyazin <kalyazin@amazon.com>
  • Loading branch information
kalyazin committed Feb 19, 2024
1 parent 3058139 commit a8ad920
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions resources/seccomp/x86_64-unknown-linux-musl.json
Original file line number Diff line number Diff line change
Expand Up @@ -1238,6 +1238,18 @@
}
]
},
{
"syscall": "ioctl",
"args": [
{
"index": 1,
"type": "dword",
"op": "eq",
"val": 44717,
"comment": "KVM_KVMCLOCK_CTRL"
}
]
},
{
"syscall": "sched_yield",
"comment": "Used by the rust standard library in std::sync::mpmc. Firecracker uses mpsc channels from this module for inter-thread communication"
Expand Down

0 comments on commit a8ad920

Please sign in to comment.