Merge "Expand seccomp whitelist" am: 10e7aed13f am: 0ab0d47516 am: 53e6c94c0b
am: ce8f7cb388
Change-Id: Ia626354e255a0e8bc66529174460e53ddf72f067
This commit is contained in:
@@ -212,6 +212,10 @@ bool set_seccomp_filter() {
|
||||
// b/34908783
|
||||
AllowSyscall(f, 250); // __NR_epoll_create
|
||||
|
||||
// b/34979910
|
||||
AllowSyscall(f, 8); // __NR_creat
|
||||
AllowSyscall(f, 10); // __NR_unlink
|
||||
|
||||
Trap(f);
|
||||
|
||||
return install_filter(f);
|
||||
|
||||
Reference in New Issue
Block a user