Allow fchmod syscalls on code-coverage builds

Bug: http://b/177693725

fchmod is used to ensure profraw files are readable by all users with
Clang's profile merging.

Test: ensure mediaswcodec doesn't crash in code coverage build.
Change-Id: Ia1e3b5b51c1d2fc86d548cfd066e849b03004731
This commit is contained in:
Pirama Arumuga Nainar 2021-01-15 15:44:28 -08:00
parent 942e5eef44
commit d9bbb1acd7
5 changed files with 7 additions and 0 deletions

View File

@ -1,4 +1,5 @@
close: 1
fchmod: 1
mkdirat: 1
msync: 1
munmap: 1

View File

@ -1,4 +1,5 @@
close: 1
fchmod: 1
mkdirat: 1
msync: 1
munmap: 1

View File

@ -13,6 +13,9 @@
// 2nd-Nth: uses mmap() to update in place
close: 1
// fchmod allowed to set libprofile-clang-extras, which wraps `open` calls, to
// set correct permission for coverage files.
fchmod: 1
mkdirat: 1
msync: 1
munmap: 1

View File

@ -1,4 +1,5 @@
close: 1
fchmod: 1
mkdirat: 1
msync: 1
munmap: 1

View File

@ -1,4 +1,5 @@
close: 1
fchmod: 1
mkdirat: 1
msync: 1
munmap: 1