Merge "Expand seccomp whitelist"
am: fd77a331eb
Change-Id: I824c984b907e43248d6eba6259f31f4aab7d64db
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