Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apparently now libseccomp defines the new syscall numbers. #1495

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/sandstorm/supervisor.c++
Original file line number Diff line number Diff line change
Expand Up @@ -1112,9 +1112,6 @@ void SupervisorMain::setupSeccomp() {
// New syscalls that don't seem useful to Sandstorm apps therefore we will disallow them.
// TODO(cleanup): Can we somehow specify "disallow all calls greater than N" to preemptively
// disable things until we've reviewed them?
#ifndef __NR_userfaultfd
#define __NR_userfaultfd 323
#endif
CHECK_SECCOMP(seccomp_rule_add(ctx, SCMP_ACT_ERRNO(ENOSYS), SCMP_SYS(userfaultfd), 0));

// TOOD(someday): See if we can get away with turning off mincore, madvise, sysinfo etc.
Expand Down