Skip to content

Commit 18b2f34

Browse files
kalyazinbchalios
authored andcommitted
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]> Signed-off-by: Babis Chalios <[email protected]>
1 parent 51c0122 commit 18b2f34

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1254,6 +1254,18 @@
12541254
}
12551255
]
12561256
},
1257+
{
1258+
"syscall": "ioctl",
1259+
"args": [
1260+
{
1261+
"index": 1,
1262+
"type": "dword",
1263+
"op": "eq",
1264+
"val": 44717,
1265+
"comment": "KVM_KVMCLOCK_CTRL"
1266+
}
1267+
]
1268+
},
12571269
{
12581270
"syscall": "sched_yield",
12591271
"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)