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 <adam@acj.sh>
  • Loading branch information
acj committed Jan 30, 2024
1 parent 79c5342 commit b7537ad
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 b7537ad

Please sign in to comment.