From 05fee1a0eaf2d07de0bbec142969da8b3725764e Mon Sep 17 00:00:00 2001 From: Ryan Voots Date: Sat, 15 Oct 2016 06:18:00 -0700 Subject: [PATCH] Add nanosleep for Time::HiRes qw/sleep/ --- lib/eval.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/eval.pl b/lib/eval.pl index a624f47..e2d5ca4 100755 --- a/lib/eval.pl +++ b/lib/eval.pl @@ -92,7 +92,7 @@ sub get_seccomp { # 4352 ioctl(4, TCGETS, 0x7ffd10963820) = -1 ENOTTY (Inappropriate ioctl for device) $rule_add->(ioctl => [1, '==', 0x5401]); # This happens on opened files for some reason? wtf - my @blind_syscalls = qw/read exit exit_group brk lseek fstat fcntl stat rt_sigaction rt_sigprocmask geteuid getuid getcwd close getdents getgid getegid getgroups lstat/; + my @blind_syscalls = qw/read exit exit_group brk lseek fstat fcntl stat rt_sigaction rt_sigprocmask geteuid getuid getcwd close getdents getgid getegid getgroups lstat nanosleep/; for my $syscall (@blind_syscalls) { $rule_add->($syscall);