seccomp: allow openat()

It seems some libc uses openat() directly when open()
is called.

Resolves: #185

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
Nikos Mavrogiannopoulos
2019-12-16 21:05:23 +01:00
parent 935818346d
commit 58836af0f3

View File

@@ -121,6 +121,7 @@ int disable_system_calls(struct worker_st *ws)
if (vhost->perm_config.config->xml_config_file) {
ADD_SYSCALL(stat, 0);
ADD_SYSCALL(open, 0);
ADD_SYSCALL(openat, 0);
break;
}
}