summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/fstatat.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-04 06:51:35 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-02-01 17:48:38 +0100
commitdba942c80dc2cfa5768a856fff98e22a755fdd27 (patch)
tree371e775cb6dfec085945f6834aeb9d3b6de36fbe /libc/sysdeps/linux/common/fstatat.c
parent9b457baf8d46329f7d7ee2aa084022bb0df88551 (diff)
add experimental aarch64 support
Ported over from GNU C Library and runtime tested in Qemu.
Diffstat (limited to 'libc/sysdeps/linux/common/fstatat.c')
-rw-r--r--libc/sysdeps/linux/common/fstatat.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libc/sysdeps/linux/common/fstatat.c b/libc/sysdeps/linux/common/fstatat.c
index 4006814f0..13673d76c 100644
--- a/libc/sysdeps/linux/common/fstatat.c
+++ b/libc/sysdeps/linux/common/fstatat.c
@@ -26,15 +26,6 @@ int fstatat(int fd, const char *file, struct stat *buf, int flag)
__xstat32_conv(&kbuf, buf);
# else
ret = INLINE_SYSCALL(fstatat64, 4, fd, file, buf, flag);
- if (ret == 0) {
- /* Did we overflow */
- if (buf->__pad1 || buf->__pad2 || buf->__pad3
- || buf->__pad4 || buf->__pad5 || buf->__pad6
- || buf->__pad7) {
- __set_errno(EOVERFLOW);
- return -1;
- }
- }
# endif /* __ARCH_HAS_DEPRECATED_SYSCALLS__ */
return ret;
}