Merge "Expand seccomp whitelist"
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