]> mj.ucw.cz Git - eval.git/blobdiff - src/box.c
Split installation process.
[eval.git] / src / box.c
index b76fd8a06037a8fc8fa34e3d8f9cb6b1cb40fb1c..2a409a935b6cd1b9662fe2eaece27ea40e73cbaa 100644 (file)
--- a/src/box.c
+++ b/src/box.c
@@ -199,6 +199,7 @@ valid_syscall(struct user *u)
     case SYS_ftruncate64:
     case SYS_fstat64:
     case SYS_fcntl:
+    case SYS_fcntl64:
     case SYS_mmap:
     case SYS_munmap:
     case SYS_ioctl:
@@ -225,6 +226,7 @@ valid_syscall(struct user *u)
     case SYS_mprotect:
     case SYS_sigprocmask:
     case SYS_getdents:
+    case SYS_getdents64:
     case SYS__newselect:
     case SYS_fdatasync:
     case SYS_mremap:
@@ -239,6 +241,7 @@ valid_syscall(struct user *u)
     case SYS_rt_sigqueueinfo:
     case SYS_rt_sigsuspend:
     case SYS_mmap2:
+    case SYS__sysctl:
       return (filter_syscalls == 1);
     default:
       return 0;
@@ -355,7 +358,7 @@ boxkeeper(void)
          timeradd(&rus.ru_utime, &rus.ru_stime, &total);
          wall = time(NULL) - start_time;
          if ((use_wall_clock ? wall : total.tv_sec) > timeout)
-           die("Timeout exceeded (after exit).");
+           die("Time limit exceeded (after exit).");
          fprintf(stderr, "OK (%d sec real, %d sec wall, %d syscalls)\n", (int) total.tv_sec, wall, syscall_count);
          exit(0);
        }