blob: 22c9844b3f3e4e9ffba9c32b078e2ea7f4b7500a [file] [log] [blame]
Victor Hsiehdbb86702020-06-15 09:29:07 -07001# This file is used to populate seccomp's allowlist policy in combination with SYSCALLS.TXT.
2# Note that the resultant policy is applied only to zygote spawned processes.
3#
4# The final seccomp allowlist is SYSCALLS.TXT - SECCOMP_BLOCKLIST.TXT + SECCOMP_ALLOWLIST.TXT
5# Any entry in the blocklist must be in the syscalls file and not be in the allowlist file
6#
7# This file is processed by a python script named genseccomp.py.
8
9int swapon(const char*, int) all
10int swapoff(const char*) all