seccomp: Allow read(2) and getdents(2) in x86_64 for UBSan's sake

This change allows the use of read(2) and getdents(2) so that UBSan can
work correctly on x86_64.

Bug: 111999822
Test: CtsWrapWrapDebugTestCases
Change-Id: I44aac17fffdffc5c3f5d87fb3d876af28c8044b2
This commit is contained in:
Luis Hector Chavez 2018-08-09 12:32:01 -07:00
parent ea6aff66fa
commit ea82982b87
1 changed files with 2 additions and 2 deletions

View File

@ -33,8 +33,8 @@ int access:access(const char *pathname, int mode) arm,x86,mips
int stat64:stat64(const char*, struct stat64*) arm,x86,mips
# b/34813887
int open:open(const char *path, int oflag, ... ) arm,x86,mips
int getdents:getdents(unsigned int fd, struct linux_dirent *dirp, unsigned int count) arm,x86,mips
int open:open(const char *path, int oflag, ... ) arm,x86,x86_64,mips
int getdents:getdents(unsigned int fd, struct linux_dirent *dirp, unsigned int count) arm,x86,x86_64,mips
# b/34719286
int eventfd:eventfd(unsigned int initval, int flags) arm,x86,mips