summary refs log tree commit diff
path: root/seccomp/aarch64/memfd_server.policy
diff options
context:
space:
mode:
Diffstat (limited to 'seccomp/aarch64/memfd_server.policy')
-rw-r--r--seccomp/aarch64/memfd_server.policy15
1 files changed, 15 insertions, 0 deletions
diff --git a/seccomp/aarch64/memfd_server.policy b/seccomp/aarch64/memfd_server.policy
new file mode 100644
index 0000000..d049d00
--- /dev/null
+++ b/seccomp/aarch64/memfd_server.policy
@@ -0,0 +1,15 @@
+# Copyright 2020 Alyssa Ross. All rights reserved.
+# Copyright 2018 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+@include /usr/share/policy/crosvm/common_device.policy
+
+accept4: 1
+# F_ADD_SEALS
+fcntl: arg1 == 1033
+ftruncate: 1
+memfd_create: 1
+open: return ENOENT
+openat: return ENOENT
+shutdown: 1