Expand whitelist
Bug: 36726183 Test: Builds, call 90 added to policy Change-Id: Ib8db1b764ce22aadf8050031d40040dd6c0e669e
This commit is contained in:
parent
842423911f
commit
3ba8223b9a
3 changed files with 7 additions and 4 deletions
|
@ -100,3 +100,6 @@ int remap_file_pages(void *addr, size_t size, int prot, size_t pgoff, int flags)
|
|||
|
||||
# b/36449658
|
||||
int rename(const char *oldpath, const char *newpath) arm,x86,mips
|
||||
|
||||
# b/36726183. Note arm does not support mmap
|
||||
void* mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset) x86,mips
|
||||
|
|
|
@ -44,11 +44,11 @@ BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 4068, 73, 72), //setsid|sigaction
|
|||
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 4074, 1, 0),
|
||||
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 4072, 71, 70), //setreuid|setregid
|
||||
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 4082, 70, 69), //sethostname|setrlimit|getrlimit|getrusage|gettimeofday|settimeofday|getgroups|setgroups
|
||||
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 4091, 3, 0),
|
||||
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 4090, 3, 0),
|
||||
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 4087, 1, 0),
|
||||
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 4086, 67, 66), //readlink
|
||||
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 4089, 66, 65), //swapon|reboot
|
||||
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 4093, 65, 64), //munmap|truncate
|
||||
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 4093, 65, 64), //mmap|munmap|truncate
|
||||
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 4118, 5, 0),
|
||||
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 4114, 3, 0),
|
||||
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 4103, 1, 0),
|
||||
|
|
|
@ -44,11 +44,11 @@ BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 68, 75, 74), //setsid|sigaction
|
|||
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 77, 1, 0),
|
||||
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 76, 73, 72), //sethostname|setrlimit
|
||||
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 80, 72, 71), //getrusage|gettimeofday|settimeofday
|
||||
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 91, 3, 0),
|
||||
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 90, 3, 0),
|
||||
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 87, 1, 0),
|
||||
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 86, 69, 68), //readlink
|
||||
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 89, 68, 67), //swapon|reboot
|
||||
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 93, 67, 66), //munmap|truncate
|
||||
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 93, 67, 66), //mmap|munmap|truncate
|
||||
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 118, 7, 0),
|
||||
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 102, 3, 0),
|
||||
BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, 96, 1, 0),
|
||||
|
|
Loading…
Reference in a new issue