Merge "seccomp: allow stat() for ubsan." am: 082b9290d0

Original change: https://android-review.googlesource.com/c/platform/bionic/+/2081859

Change-Id: I5d5e07f4607673ea565db1454c9c58ed3529b55f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Elliott Hughes 2022-05-04 17:09:09 +00:00 committed by Automerger Merge Worker
commit f231c79c8f

View file

@ -31,6 +31,8 @@ int seccomp:seccomp(unsigned int operation, unsigned int flags, void *args) all
int open:open(const char*, int, ...) arm,x86,x86_64
int stat64:stat64(const char*, struct stat64*) arm,x86
ssize_t readlink:readlink(const char*, char*, size_t) arm,x86,x86_64
# Needed by ubsan in T? (http://b/229989971)
int stat(const char*, struct stat*) arm,x86,x86_64
#
# Useful new syscalls which we don't yet use in bionic.