summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorYunlian Jiang <yunlian@google.com>2018-10-19 12:04:45 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-10-21 05:25:01 -0700
commita70445aa3b7bfef71b7ee888eaf614c83ded3c59 (patch)
tree0de12fcb2d148ad2fb9af2cf32ef9bd0b1533212 /tests
parent8eceba31c0d2842d8d7bfaa84253121709b1ee81 (diff)
downloadcrosvm-a70445aa3b7bfef71b7ee888eaf614c83ded3c59.tar
crosvm-a70445aa3b7bfef71b7ee888eaf614c83ded3c59.tar.gz
crosvm-a70445aa3b7bfef71b7ee888eaf614c83ded3c59.tar.bz2
crosvm-a70445aa3b7bfef71b7ee888eaf614c83ded3c59.tar.lz
crosvm-a70445aa3b7bfef71b7ee888eaf614c83ded3c59.tar.xz
crosvm-a70445aa3b7bfef71b7ee888eaf614c83ded3c59.tar.zst
crosvm-a70445aa3b7bfef71b7ee888eaf614c83ded3c59.zip
crosvm: add openat to seccomp
This adds openat to a seccomp policy file if open is already there.
We need this because glibc 2.25 changed it system call for open().

BUG=chromium:894614
TEST=None

Change-Id: Ie5b45d858e8d9ea081fd7bfda81709bda048d965
Reviewed-on: https://chromium-review.googlesource.com/1292129
Commit-Ready: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Manoj Gupta <manojgupta@chromium.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/plugin.policy1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/plugin.policy b/tests/plugin.policy
index 773ea24..460515d 100644
--- a/tests/plugin.policy
+++ b/tests/plugin.policy
@@ -39,6 +39,7 @@ madvise: 1
 memfd_create: 1
 mmap: 1
 open: 1
+openat: 1
 recvmsg: 1
 restart_syscall: 1
 rt_sigaction: 1