File: multi_arch.accept

package info (click to toggle)
ceccomp 4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,632 kB
  • sloc: ansic: 6,474; python: 1,039; makefile: 248; sh: 145
file content (27 lines) | stat: -rw-r--r-- 1,249 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
24
25
26
27
#Label  CODE  JT   JF      K
#---------------------------------
L0001: $A = $arch
L0002: if ($A != x86_64) goto L0008
L0003: $A = $syscall_nr
L0004: if ($A >= 0x40000000) goto L0023
L0005: if ($A == accept) goto L0024
L0006: if ($A == listen) goto L0024
L0007: if ($A == bind) goto L0024, else goto L0023
L0008: if ($A != i386) goto L0013
L0009: $A = $syscall_nr
L0010: if ($A == i386.restart_syscall) goto L0024
L0011: if ($A == i386.exit) goto L0024
L0012: if ($A == i386.fork) goto L0024, else goto L0023
L0013: if ($A != aarch64) goto L0018
L0014: $A = $syscall_nr
L0015: if ($A == aarch64.alarm) goto L0024
L0016: if ($A == aarch64.select) goto L0024
L0017: if ($A == aarch64.pipe) goto L0024, else goto L0023
L0018: if ($A != arm) goto L0023
L0019: $A = $syscall_nr
L0020: if ($A == arm.restart_syscall) goto L0024
L0021: if ($A == arm.readv) goto L0024
L0022: if ($A == arm.clone) goto L0024
L0023: return KILL
L0024: return ALLOW
#... 1 line(s) skipped