File: multi_arch.pipe

package info (click to toggle)
ceccomp 3.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,528 kB
  • sloc: ansic: 3,154; python: 653; makefile: 240; sh: 226
file content (23 lines) | stat: -rw-r--r-- 1,081 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
0001: $A = $arch
0002: if ($A != x86_64) goto 0008
0003: $A = $syscall_nr
0004: if ($A >= 0x40000000) goto 0023
0005: if ($A == accept) goto 0024
0006: if ($A == listen) goto 0024
0007: if ($A == bind) goto 0024, else goto 0023
0008: if ($A != i386) goto 0013
0009: $A = $syscall_nr
0010: if ($A == i386.restart_syscall) goto 0024
0011: if ($A == i386.exit) goto 0024
0012: if ($A == i386.fork) goto 0024, else goto 0023
0013: if ($A != aarch64) goto 0018
0014: $A = $syscall_nr
0015: if ($A == aarch64.alarm) goto 0024
0016: if ($A == aarch64.select) goto 0024
0017: if ($A == aarch64.pipe) goto 0024, else goto 0023
0018: if ($A != arm) goto 0023
0019: $A = $syscall_nr
0020: if ($A == arm.restart_syscall) goto 0024
0021: if ($A == arm.readv) goto 0024
0022: if ($A == arm.clone) goto 0024
0023: return KILL