Linux syscall broker: fix bionic incompat
Rmdir() and stat() don't work when using bionic on some architectures. Rmdir() uses __NR_unlinkat with AT_REMOVEDIR and stat uses __NR_fstatat64 and __NR_newstatat with AT_SYMLINK_NOFOLLOW. We should allow these syscalls when COMMAND_RMDIR and COMMAND_STAT are allowed, respectively. Change-Id: I54953e10f899e07ebadf2ee784179e897fcc1dd2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2391618 Commit-Queue: Matthew Denton <mpdenton@google.com> Reviewed-by:Robert Sesek <rsesek@chromium.org> Reviewed-by:
Tom Sepez <tsepez@chromium.org> Cr-Commit-Position: refs/heads/master@{#805515}
Showing
Please register or sign in to comment