mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
Added missing ioctl().
This commit is contained in:
@@ -54,10 +54,14 @@ int disable_system_calls(struct worker_st *ws)
|
||||
ADD_SYSCALL(close);
|
||||
ADD_SYSCALL(exit);
|
||||
ADD_SYSCALL(exit_group);
|
||||
ADD_SYSCALL(ioctl);
|
||||
ADD_SYSCALL(send);
|
||||
ADD_SYSCALL(recv);
|
||||
|
||||
/* these two we need to get the MTU from
|
||||
* the TUN device */
|
||||
ADD_SYSCALL(ioctl);
|
||||
ADD_SYSCALL(socket);
|
||||
|
||||
ret = seccomp_load(ctx);
|
||||
if (ret < 0) {
|
||||
oclog(ws, LOG_ERR, "could not load seccomp filter");
|
||||
|
||||
Reference in New Issue
Block a user