OSDN Git Service

Implement some of the missing LFS64 support.
authorElliott Hughes <enh@google.com>
Sat, 18 Jan 2014 02:42:49 +0000 (18:42 -0800)
committerElliott Hughes <enh@google.com>
Tue, 18 Feb 2014 23:39:24 +0000 (15:39 -0800)
commitdb1ea3474899ebbd783aba872d3005f95a816d0f
treeb70fedd7d69098f5141dbbb09ef41851a61eec8d
parent3623d80675e5321b92c2d88a7b7ec6bd998d81d5
Implement some of the missing LFS64 support.

This gives us:

* <dirent.h>
  struct dirent64
  readdir64, readdir64_r, alphasort64, scandir64

* <fcntl.h>
  creat64, openat64, open64.

* <sys/stat.h>
  struct stat64
  fstat64, fstatat64, lstat64, stat64.

* <sys/statvfs.h>
  struct statvfs64
  statvfs64, fstatvfs64.

* <sys/vfs.h>
  struct statfs64
  statfs64, fstatfs64.

This also removes some of the incorrect #define hacks we've had in the
past (for stat64, for example, which we promised to clean up way back
in bug 8472078).

Bug: 11865851
Bug: 8472078
Change-Id: Ia46443521918519f2dfa64d4621027dfd13ac566
39 files changed:
libc/Android.mk
libc/SYSCALLS.TXT
libc/arch-arm/syscalls/fstat64.S [moved from libc/arch-arm/syscalls/fstat.S with 71% similarity]
libc/arch-arm/syscalls/fstatat64.S [moved from libc/arch-arm/syscalls/fstatat.S with 70% similarity]
libc/arch-arm64/syscalls/fstat64.S [moved from libc/arch-arm64/syscalls/fstat.S with 78% similarity]
libc/arch-arm64/syscalls/fstatat64.S [moved from libc/arch-arm64/syscalls/fstatat.S with 77% similarity]
libc/arch-arm64/syscalls/fstatfs64.S [moved from libc/arch-arm64/syscalls/fstatfs.S with 77% similarity]
libc/arch-arm64/syscalls/statfs64.S [moved from libc/arch-arm64/syscalls/statfs.S with 77% similarity]
libc/arch-mips/syscalls/fstat64.S [moved from libc/arch-mips/syscalls/fstat.S with 67% similarity]
libc/arch-mips/syscalls/fstatat64.S [moved from libc/arch-mips/syscalls/fstatat.S with 65% similarity]
libc/arch-mips64/syscalls/fstat64.S [moved from libc/arch-mips64/syscalls/fstat.S with 75% similarity]
libc/arch-mips64/syscalls/fstatat64.S [moved from libc/arch-mips64/syscalls/fstatat.S with 73% similarity]
libc/arch-mips64/syscalls/fstatfs64.S [moved from libc/arch-mips64/syscalls/fstatfs.S with 73% similarity]
libc/arch-mips64/syscalls/statfs64.S [moved from libc/arch-mips64/syscalls/statfs.S with 74% similarity]
libc/arch-x86/syscalls/fstat64.S [moved from libc/arch-x86/syscalls/fstat.S with 83% similarity]
libc/arch-x86/syscalls/fstatat64.S [moved from libc/arch-x86/syscalls/fstatat.S with 85% similarity]
libc/arch-x86_64/syscalls/fstat64.S [moved from libc/arch-x86_64/syscalls/fstat.S with 72% similarity]
libc/arch-x86_64/syscalls/fstatat64.S [moved from libc/arch-x86_64/syscalls/fstatat.S with 72% similarity]
libc/arch-x86_64/syscalls/fstatfs64.S [moved from libc/arch-x86_64/syscalls/fstatfs.S with 70% similarity]
libc/arch-x86_64/syscalls/statfs64.S [moved from libc/arch-x86_64/syscalls/statfs.S with 71% similarity]
libc/bionic/dirent.cpp
libc/bionic/legacy_32_bit_support.cpp
libc/bionic/lstat.cpp
libc/bionic/open.cpp
libc/bionic/scandir.cpp
libc/bionic/stat.cpp
libc/bionic/statvfs.cpp
libc/include/dirent.h
libc/include/fcntl.h
libc/include/sys/stat.h
libc/include/sys/statvfs.h
libc/include/sys/vfs.h
libc/tools/bionic_utils.py
libc/upstream-netbsd/libc/compat-43/creat.c [deleted file]
tests/Android.mk
tests/dirent_test.cpp
tests/fcntl_test.cpp
tests/sys_stat_test.cpp
tests/sys_statvfs_test.cpp [moved from tests/statvfs_test.cpp with 72% similarity]