Merge "Expand seccomp whitelist" am: fd77a331eb
am: 1201ce98dd
Change-Id: I87fa2d6962ebb288c8c79488cfaf73485fca7bbf
This commit is contained in:
@@ -216,6 +216,9 @@ bool set_seccomp_filter() {
|
|||||||
AllowSyscall(f, 8); // __NR_creat
|
AllowSyscall(f, 8); // __NR_creat
|
||||||
AllowSyscall(f, 10); // __NR_unlink
|
AllowSyscall(f, 10); // __NR_unlink
|
||||||
|
|
||||||
|
// b/35059702
|
||||||
|
AllowSyscall(f, 196); // __NR_lstat64
|
||||||
|
|
||||||
Trap(f);
|
Trap(f);
|
||||||
|
|
||||||
return install_filter(f);
|
return install_filter(f);
|
||||||
|
|||||||
Reference in New Issue
Block a user