diff options
Diffstat (limited to 'test/filters')
-rw-r--r-- | test/filters/caps2.profile | 2 | ||||
-rw-r--r-- | test/filters/caps3.profile | 2 | ||||
-rwxr-xr-x | test/filters/fseccomp.exp | 1 | ||||
-rwxr-xr-x | test/filters/seccomp-bad-empty.exp | 1 | ||||
-rwxr-xr-x | test/filters/seccomp-empty.exp | 1 | ||||
-rwxr-xr-x | test/filters/syscall_test | bin | 9552 -> 11095 bytes | |||
-rw-r--r-- | test/filters/syscall_test.c | 4 | ||||
-rwxr-xr-x | test/filters/syscall_test32 | bin | 6868 -> 8907 bytes |
8 files changed, 4 insertions, 7 deletions
diff --git a/test/filters/caps2.profile b/test/filters/caps2.profile index 4f0016fad..ad49719f1 100644 --- a/test/filters/caps2.profile +++ b/test/filters/caps2.profile | |||
@@ -1 +1 @@ | |||
caps.drop chown,dac_override,dac_read_search,fowner \ No newline at end of file | caps.drop chown,dac_override,dac_read_search,fowner | ||
diff --git a/test/filters/caps3.profile b/test/filters/caps3.profile index 4f0016fad..ad49719f1 100644 --- a/test/filters/caps3.profile +++ b/test/filters/caps3.profile | |||
@@ -1 +1 @@ | |||
caps.drop chown,dac_override,dac_read_search,fowner \ No newline at end of file | caps.drop chown,dac_override,dac_read_search,fowner | ||
diff --git a/test/filters/fseccomp.exp b/test/filters/fseccomp.exp index 433524680..95b7bfadd 100755 --- a/test/filters/fseccomp.exp +++ b/test/filters/fseccomp.exp | |||
@@ -135,4 +135,3 @@ expect { | |||
135 | 135 | ||
136 | after 100 | 136 | after 100 |
137 | puts "\nall done\n" | 137 | puts "\nall done\n" |
138 | |||
diff --git a/test/filters/seccomp-bad-empty.exp b/test/filters/seccomp-bad-empty.exp index 9cfbac109..19e64ee84 100755 --- a/test/filters/seccomp-bad-empty.exp +++ b/test/filters/seccomp-bad-empty.exp | |||
@@ -38,4 +38,3 @@ expect { | |||
38 | } | 38 | } |
39 | after 100 | 39 | after 100 |
40 | puts "\nall done\n" | 40 | puts "\nall done\n" |
41 | |||
diff --git a/test/filters/seccomp-empty.exp b/test/filters/seccomp-empty.exp index 2cd316953..03e081b34 100755 --- a/test/filters/seccomp-empty.exp +++ b/test/filters/seccomp-empty.exp | |||
@@ -146,4 +146,3 @@ sleep 2 | |||
146 | send -- "exit\r" | 146 | send -- "exit\r" |
147 | after 100 | 147 | after 100 |
148 | puts "\n" | 148 | puts "\n" |
149 | |||
diff --git a/test/filters/syscall_test b/test/filters/syscall_test index bf29c5b99..12edd2d64 100755 --- a/test/filters/syscall_test +++ b/test/filters/syscall_test | |||
Binary files differ | |||
diff --git a/test/filters/syscall_test.c b/test/filters/syscall_test.c index 48e8f29f5..641eb0c00 100644 --- a/test/filters/syscall_test.c +++ b/test/filters/syscall_test.c | |||
@@ -45,14 +45,14 @@ int main(int argc, char **argv) { | |||
45 | } | 45 | } |
46 | else | 46 | else |
47 | close(sock); | 47 | close(sock); |
48 | 48 | ||
49 | printf("testing socket AF_UNIX\n"); | 49 | printf("testing socket AF_UNIX\n"); |
50 | if ((sock = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) { | 50 | if ((sock = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) { |
51 | perror("socket"); | 51 | perror("socket"); |
52 | } | 52 | } |
53 | else | 53 | else |
54 | close(sock); | 54 | close(sock); |
55 | 55 | ||
56 | // root needed to be able to handle this | 56 | // root needed to be able to handle this |
57 | printf("testing socket AF_PACKETX\n"); | 57 | printf("testing socket AF_PACKETX\n"); |
58 | if ((sock = socket(AF_PACKET, SOCK_DGRAM, htons(ETH_P_ARP))) < 0) { | 58 | if ((sock = socket(AF_PACKET, SOCK_DGRAM, htons(ETH_P_ARP))) < 0) { |
diff --git a/test/filters/syscall_test32 b/test/filters/syscall_test32 index 8d72f58c4..29af1e073 100755 --- a/test/filters/syscall_test32 +++ b/test/filters/syscall_test32 | |||
Binary files differ | |||