File tree Expand file tree Collapse file tree 5 files changed +5
-39
lines changed Expand file tree Collapse file tree 5 files changed +5
-39
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,8 @@ void DefaultPolicy::addExecutionControlRules(bool allowFork) {
4343 " sigsuspend" ,
4444 " clock_nanosleep" ,
4545 " open" ,
46- " epoll_create1" });
46+ " epoll_create1" ,
47+ " openat" });
4748
4849 rules_.emplace_back (SeccompRule (
4950 " set_thread_area" , action::ActionTrace ([](auto & /* tracee */ ) {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -7,10 +7,8 @@ SET(CMAKE_CXX_FLAGS_RELEASE "")
77
88# Time tests
99ADD_EXECUTABLE (1-sec-prog 1-sec-prog.c)
10- ADD_EXECUTABLE (1-sec-evil 1-sec-evil.c)
1110ADD_EXECUTABLE (infinite-loop infinite-loop.c)
1211SET_TARGET_PROPERTIES (1-sec-prog
13- 1-sec-evil
1412 infinite-loop
1513 PROPERTIES COMPILE_FLAGS "-m32"
1614 LINK_FLAGS "-m32" )
@@ -48,7 +46,7 @@ ADD_EXECUTABLE(stderr-write stderr-write.c)
4846
4947ADD_CUSTOM_TARGET (test -binaries
5048 DEPENDS
51- 1-sec-prog 1-sec-evil infinite-loop 1-sec-prog-th
49+ 1-sec-prog infinite-loop 1-sec-prog-th
5250 leak-tiny_32 leak-huge_32 leak-dive_32
5351 leak-tiny_64 leak-huge_64 leak-dive_64
5452 sum_c sum_cxx stderr-write)
Original file line number Diff line number Diff line change 11#!/usr/bin/python3.9
22
3- import numpy as np
3+ import numpy
44
5- print (np .sum (list (map (int , input ().split ()))))
5+ print (numpy .sum (list (map (int , input ().split ()))))
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments