Added missing ioctl().

This commit is contained in:
Nikos Mavrogiannopoulos
2013-02-12 21:19:58 +01:00
parent e49fbbe547
commit 7ba28c0131

View File

@@ -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");