summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLokesh Gidra <lokeshgidra@google.com>2021-03-11 08:00:26 -0800
committerLokesh Gidra <lokeshgidra@google.com>2021-03-11 19:30:08 +0000
commit7839c173f1d720e5c2d23b7d32de51675e4ef8cc (patch)
tree1a72c6cd049245cf094b9f6eaec53506a7f7f1af
parent4b6a29dbe930ef00d4a062b86e0213d37a0d21a2 (diff)
Add userfaultfd syscall in SECCOMP allowlist
Enable userfaultfd syscall to be used by ART-GC. Bug: 160737021 Test: manually tested by invoking userfaultfd syscall in ART Change-Id: I9f98402a96bb8363a1e5fa49dbadbb37dc70d561
-rw-r--r--libc/SECCOMP_ALLOWLIST_COMMON.TXT2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/SECCOMP_ALLOWLIST_COMMON.TXT b/libc/SECCOMP_ALLOWLIST_COMMON.TXT
index 20c1441fb..6650d7e32 100644
--- a/libc/SECCOMP_ALLOWLIST_COMMON.TXT
+++ b/libc/SECCOMP_ALLOWLIST_COMMON.TXT
@@ -72,3 +72,5 @@ int semtimedop_time64(int, sembuf*, size_t, const timespec64*) lp32
int rt_sigtimedwait_time64(const sigset64_t*, siginfo_t*, const timespec64*, size_t) lp32
int futex_time64(int*, int, int, const timespec64*, int*, int) lp32
int sched_rr_get_interval_time64(pid_t, timespec64*) lp32
+# Since Linux 5.4, not in glibc. Probed for and conditionally used by ART.
+int userfaultfd(int) all