mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 00:37:00 +08:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user