aboutsummaryrefslogtreecommitdiffstats
path: root/libc/bionic/open.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Turn on -Wold-style-cast and fix the errors.Elliott Hughes2015-01-211-2/+2
| | | | | | A couple of dodgy cases where we cast away const, but otherwise pretty boring. Change-Id: Ibc39ebd525377792b5911464be842121c20f03b9
* Implement some of the missing LFS64 support.Elliott Hughes2014-02-181-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Don't force O_LARGEFILE on LP64.Elliott Hughes2013-12-191-16/+16
| | | | | | aarch64's strace is confused by this, and it isn't necessary anyway. Change-Id: Ib07b649eb1c38ff0296003874f73af78c47bc276
* Revert "Add C linkage for __open_2 and __openat_2."Elliott Hughes2013-12-191-2/+2
| | | | | | This reverts commit c13d89b829a83a248130184583cf0332515a05df. Change-Id: I40a3c6b926e920b65dd054353a2db8d314d5b300
* Add C linkage for __open_2 and __openat_2.Ben Cheng2013-12-191-2/+2
| | | | | | Otherwise Clang mangle them with C++ names. Change-Id: I844e28d834df8b0752b32d2aadd2013fc8804a43
* Move away from the __ARCH_WANT_SYSCALL_NO_AT system calls.Elliott Hughes2013-10-221-0/+86
Modern architectures only get the *at(2) system calls. For example, aarch64 doesn't have open(2), and expects userspace to use openat(2) instead. Change-Id: I87b4ed79790cb8a80844f5544ac1a13fda26c7b5