blob: 8ae21c1978663009a35ff6981a8995dd509b23d2 [file] [log] [blame]
Paul Lawrence3dd3d552017-04-12 10:02:54 -07001# This file is used to populate seccomp's whitelist policy in combination with SYSCALLS.TXT.
2# Note that the resultant policy is applied only to zygote spawned processes.
3#
4# The final seccomp whitelist is SYSCALLS.TXT - SECCOMP_BLACKLIST.TXT + SECCOMP_WHITELIST.TXT
5# Any entry in the blacklist must be in the syscalls file and not be in the whitelist file
6#
Victor Hsieh4f02dd52017-12-20 09:19:22 -08007# This file is processed by a python script named genseccomp.py.
Paul Lawrence3dd3d552017-04-12 10:02:54 -07008
9int swapon(const char*, int) all
10int swapoff(const char*) all