File tree 5 files changed +5
-39
lines changed
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) {
43
43
" sigsuspend" ,
44
44
" clock_nanosleep" ,
45
45
" open" ,
46
- " epoll_create1" });
46
+ " epoll_create1" ,
47
+ " openat" });
47
48
48
49
rules_.emplace_back (SeccompRule (
49
50
" 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 "")
7
7
8
8
# Time tests
9
9
ADD_EXECUTABLE (1-sec-prog 1-sec-prog.c)
10
- ADD_EXECUTABLE (1-sec-evil 1-sec-evil.c)
11
10
ADD_EXECUTABLE (infinite-loop infinite-loop.c)
12
11
SET_TARGET_PROPERTIES (1-sec-prog
13
- 1-sec-evil
14
12
infinite-loop
15
13
PROPERTIES COMPILE_FLAGS "-m32"
16
14
LINK_FLAGS "-m32" )
@@ -48,7 +46,7 @@ ADD_EXECUTABLE(stderr-write stderr-write.c)
48
46
49
47
ADD_CUSTOM_TARGET (test -binaries
50
48
DEPENDS
51
- 1-sec-prog 1-sec-evil infinite-loop 1-sec-prog-th
49
+ 1-sec-prog infinite-loop 1-sec-prog-th
52
50
leak-tiny_32 leak-huge_32 leak-dive_32
53
51
leak-tiny_64 leak-huge_64 leak-dive_64
54
52
sum_c sum_cxx stderr-write)
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/python3.9
2
2
3
- import numpy as np
3
+ import numpy
4
4
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