Skip to content

Commit a8ad920

Browse files
committed
fix(seccomp): add KVMCLOCK_CTRL ioctl on x86_64
This is to be able to call KVMCLOCK_CTRL ioctl in a vCPU thread. Signed-off-by: Nikita Kalyazin <[email protected]>
1 parent 3058139 commit a8ad920

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

resources/seccomp/x86_64-unknown-linux-musl.json

+12
Original file line numberDiff line numberDiff line change
@@ -1238,6 +1238,18 @@
12381238
}
12391239
]
12401240
},
1241+
{
1242+
"syscall": "ioctl",
1243+
"args": [
1244+
{
1245+
"index": 1,
1246+
"type": "dword",
1247+
"op": "eq",
1248+
"val": 44717,
1249+
"comment": "KVM_KVMCLOCK_CTRL"
1250+
}
1251+
]
1252+
},
12411253
{
12421254
"syscall": "sched_yield",
12431255
"comment": "Used by the rust standard library in std::sync::mpmc. Firecracker uses mpsc channels from this module for inter-thread communication"

0 commit comments

Comments
 (0)