Skip to content

Commit 0d96db1

Browse files
committed
feat(seccomp): added sendmsg to the seccomp filters
Added `sendmsg` syscall to the seccomp. It is needed for vhost-user-block. Signed-off-by: Egor Lazarchuk <[email protected]>
1 parent c7319df commit 0d96db1

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -979,6 +979,10 @@
979979
{
980980
"syscall": "sched_yield",
981981
"comment": "Used by the rust standard library in std::sync::mpmc. Firecracker uses mpsc channels from this module for inter-thread communication"
982+
},
983+
{
984+
"syscall": "sendmsg",
985+
"comment": "Used by vhost-user frontend to communicate with the backend"
982986
}
983987
]
984988
}

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,6 +1183,10 @@
11831183
{
11841184
"syscall": "sched_yield",
11851185
"comment": "Used by the rust standard library in std::sync::mpmc. Firecracker uses mpsc channels from this module for inter-thread communication"
1186+
},
1187+
{
1188+
"syscall": "sendmsg",
1189+
"comment": "Used by vhost-user frontend to communicate with the backend"
11861190
}
11871191
]
11881192
}

0 commit comments

Comments
 (0)