Skip to content

Commit

Permalink
seccomp: Allow syscalls needed for cloning EventFD
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Jensen <[email protected]>
  • Loading branch information
acj committed Jan 21, 2024
1 parent 1d1d916 commit 2a5c976
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions resources/seccomp/aarch64-unknown-linux-musl.json
Original file line number Diff line number Diff line change
Expand Up @@ -1041,6 +1041,18 @@
{
"syscall": "sendmsg",
"comment": "Used by vhost-user frontend to communicate with the backend"
},
{
"syscall": "dup",
"comment": "Used when resetting VirtIO devices"
},
{
"syscall": "fcntl",
"comment": "Used when resetting VirtIO devices"
},
{
"syscall": "readlink",
"comment": "Used when resetting VirtIO devices"
}
]
}
Expand Down
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 @@ -1245,6 +1245,18 @@
{
"syscall": "sendmsg",
"comment": "Used by vhost-user frontend to communicate with the backend"
},
{
"syscall": "dup",
"comment": "Used when resetting VirtIO devices"
},
{
"syscall": "fcntl",
"comment": "Used when resetting VirtIO devices"
},
{
"syscall": "readlink",
"comment": "Used when resetting VirtIO devices"
}
]
}
Expand Down

0 comments on commit 2a5c976

Please sign in to comment.