Elliott Hughes
9287ed5f46
am 07ddeb09
: am dc9b54c1
: am f945732e
: Merge "Fix a TODO; we\'ve had SOCK_CLOEXEC for a while now."
...
* commit '07ddeb09017a043f7dd74980124670f99d003c22':
Fix a TODO; we've had SOCK_CLOEXEC for a while now.
2013-11-06 17:23:54 -08:00
Elliott Hughes
07ddeb0901
am dc9b54c1
: am f945732e
: Merge "Fix a TODO; we\'ve had SOCK_CLOEXEC for a while now."
...
* commit 'dc9b54c11c3b20fe5d1dc5c591ff058788e7b376':
Fix a TODO; we've had SOCK_CLOEXEC for a while now.
2013-11-06 17:21:35 -08:00
Elliott Hughes
7250d2e5b4
Remove pathconf's dependencies on non-uapi header files.
...
Change-Id: I597996e4b141b009916f7ad2866dd100e08aa4d3
2013-11-06 17:21:09 -08:00
Elliott Hughes
dc9b54c11c
am f945732e
: Merge "Fix a TODO; we\'ve had SOCK_CLOEXEC for a while now."
...
* commit 'f945732e21e3c1291943d21fa5fee0c43792bbec':
Fix a TODO; we've had SOCK_CLOEXEC for a while now.
2013-11-06 17:19:30 -08:00
Elliott Hughes
f945732e21
Merge "Fix a TODO; we've had SOCK_CLOEXEC for a while now."
2013-11-07 01:16:48 +00:00
Elliott Hughes
9c8445638a
am a4e281a5
: am 76833a7c
: am 9e63e03d
: Merge "Clean up the 32-bit kernel support, fix LP64 fcntl declaration."
...
* commit 'a4e281a549adb6a1ed9669bf609e088c8f8a9bd0':
Clean up the 32-bit kernel support, fix LP64 fcntl declaration.
2013-11-06 17:10:44 -08:00
Elliott Hughes
a4e281a549
am 76833a7c
: am 9e63e03d
: Merge "Clean up the 32-bit kernel support, fix LP64 fcntl declaration."
...
* commit '76833a7c575ca372b41cb6e2a964918d69fc0dbe':
Clean up the 32-bit kernel support, fix LP64 fcntl declaration.
2013-11-06 17:07:35 -08:00
Elliott Hughes
76833a7c57
am 9e63e03d
: Merge "Clean up the 32-bit kernel support, fix LP64 fcntl declaration."
...
* commit '9e63e03d34fc0b4d87cff047a4bc55f8ebc5e12a':
Clean up the 32-bit kernel support, fix LP64 fcntl declaration.
2013-11-06 17:05:46 -08:00
Elliott Hughes
9be07fa527
Fix a TODO; we've had SOCK_CLOEXEC for a while now.
...
Change-Id: I4bc39b57f3c33441ead74127f576bf5a4e311566
2013-11-06 17:04:56 -08:00
Elliott Hughes
9e63e03d34
Merge "Clean up the 32-bit kernel support, fix LP64 fcntl declaration."
2013-11-07 01:02:55 +00:00
Elliott Hughes
062092543f
Clean up the 32-bit kernel support, fix LP64 fcntl declaration.
...
In practice, thanks to all the registers the stubs don't actually change,
but it's confusing to have an incorrect declaration.
I suspect that fcntl remains broken for aarch64; it happens to work for
x86_64 because the first vararg argument gets placed in the right register
anyway, but I have no reason to believe that's true for aarch64.
This patch adds a unit test, though, so we'll be able to tell when we get
as far as running the unit tests.
Change-Id: I58dd0054fe99d7d51d04c22781d8965dff1afbf3
2013-11-06 16:33:39 -08:00
Ben Cheng
ff088539ae
am 64aca718
: am 99205dc9
: am af10f9e9
: Merge "Add processed uapi kernel headers for ARM."
...
* commit '64aca718ee0b2fceec37f0f0cd41c0323d834b3d':
Add processed uapi kernel headers for ARM.
2013-11-06 16:15:46 -08:00
Elliott Hughes
7406433662
am c606294b
: am 3721a7e7
: am 7115c802
: Merge "Fix pread/pwrite for LP64."
...
* commit 'c606294b9397930a18d9c153186b77ece819588c':
Fix pread/pwrite for LP64.
2013-11-06 16:15:45 -08:00
Elliott Hughes
9f2532507f
am a047e0ab
: am afc51b92
: am c4dbc16e
: Merge "Make cpp.py less braindead."
...
* commit 'a047e0ab516551430cf2fc19f12703d48b9d60f3':
Make cpp.py less braindead.
2013-11-06 16:15:44 -08:00
Ben Cheng
64aca718ee
am 99205dc9
: am af10f9e9
: Merge "Add processed uapi kernel headers for ARM."
...
* commit '99205dc987735e1d57f2e1b8446448f655808ab5':
Add processed uapi kernel headers for ARM.
2013-11-06 16:10:15 -08:00
Elliott Hughes
c606294b93
am 3721a7e7
: am 7115c802
: Merge "Fix pread/pwrite for LP64."
...
* commit '3721a7e71fc831f6d58b7253627043d0658ad977':
Fix pread/pwrite for LP64.
2013-11-06 16:10:14 -08:00
Elliott Hughes
a047e0ab51
am afc51b92
: am c4dbc16e
: Merge "Make cpp.py less braindead."
...
* commit 'afc51b92a0e531f05e0e5477ea857a8669e5e5d1':
Make cpp.py less braindead.
2013-11-06 16:10:12 -08:00
Ben Cheng
99205dc987
am af10f9e9
: Merge "Add processed uapi kernel headers for ARM."
...
* commit 'af10f9e927ed22c8bccc80919e10df4d5f4aecdd':
Add processed uapi kernel headers for ARM.
2013-11-06 15:58:39 -08:00
Ben Cheng
af10f9e927
Merge "Add processed uapi kernel headers for ARM."
2013-11-06 23:55:25 +00:00
Ben Cheng
a6b53f03c7
Add processed uapi kernel headers for ARM.
...
Change-Id: Id34de841b7b4b5a1bf7d22eb793860f92f24a6e5
2013-11-06 15:51:05 -08:00
Elliott Hughes
3721a7e71f
am 7115c802
: Merge "Fix pread/pwrite for LP64."
...
* commit '7115c80231aa88272294076c8775c09727ece85a':
Fix pread/pwrite for LP64.
2013-11-06 14:26:58 -08:00
Elliott Hughes
7115c80231
Merge "Fix pread/pwrite for LP64."
2013-11-06 22:25:17 +00:00
Elliott Hughes
8fbf8deb34
Fix pread/pwrite for LP64.
...
Unlike on 32-bit systems where off_t is 32-bit, we don't want to
throw away the top 32 bits of an LP64 system's 64-bit off_t.
Change-Id: Ib2e0daeb4fc0b8ab3d1b983d0b371d8f81033b50
2013-11-06 13:10:37 -08:00
Elliott Hughes
afc51b92a0
am c4dbc16e
: Merge "Make cpp.py less braindead."
...
* commit 'c4dbc16eb03bcc0a3ea04cd32ce7551ad94b2bfc':
Make cpp.py less braindead.
2013-11-06 12:34:22 -08:00
Elliott Hughes
c4dbc16eb0
Merge "Make cpp.py less braindead."
2013-11-06 20:31:10 +00:00
Elliott Hughes
40596aa005
Make cpp.py less braindead.
...
The old code ignored operator precedence (!), despite having two tables
of operator precedence. The code's still pretty awful, but I've cleaned
it up enough to fix this, the most important bug.
This patch lets us correctly clean the uapi unistd.h, stat.h, and swab.h files,
and also fixes the mess we were already making of various old kernel
header files. I've added a bunch more tests, fixed the existing tests that
the existing script was already failing (!), and changed the script so that
the tests are run every time the script is run.
We can probably remove some of the old kernel header files that we were
parsing incorrectly, but we can worry about that later.
Bug: 11253477
Change-Id: Ie66c65b3a7ae13b4e98ed8038a6a534f06eae0e5
2013-11-06 12:04:48 -08:00
Rom Lemarchand
ea699f0cf4
Refresh libc/kernel/common/linux/ion.h
...
Change-Id: Ibd2bf99224b31bbad7b3a9b0d82bfef19162db7b
2013-11-06 09:55:03 -08:00
Elliott Hughes
fdbbcc2fab
am c76ba85e
: am ffe06880
: am f1258672
: Merge "Fix <sys/select.h> for LP64, clean up <time.h>."
...
* commit 'c76ba85e166fa98baf44102894471c483f134c17':
Fix <sys/select.h> for LP64, clean up <time.h>.
2013-11-05 14:24:21 -08:00
Elliott Hughes
d13288d1ed
am a0352c60
: am 3c5d651c
: am 9b9f0d0c
: Merge "Remove unnecessary #include."
...
* commit 'a0352c60ec72b2fbd9d7a9a1685ec893bf9014aa':
Remove unnecessary #include.
2013-11-05 14:22:24 -08:00
Elliott Hughes
c76ba85e16
am ffe06880
: am f1258672
: Merge "Fix <sys/select.h> for LP64, clean up <time.h>."
...
* commit 'ffe068808909c9825807dbaf8679b9f9efc2c690':
Fix <sys/select.h> for LP64, clean up <time.h>.
2013-11-05 14:01:49 -08:00
Elliott Hughes
ffe0688089
am f1258672
: Merge "Fix <sys/select.h> for LP64, clean up <time.h>."
...
* commit 'f1258672d1eed41da30612a70690c19ff1966b73':
Fix <sys/select.h> for LP64, clean up <time.h>.
2013-11-05 13:58:18 -08:00
Elliott Hughes
f1258672d1
Merge "Fix <sys/select.h> for LP64, clean up <time.h>."
2013-11-05 21:54:38 +00:00
Elliott Hughes
3503ce2177
Fix <sys/select.h> for LP64, clean up <time.h>.
...
The 64-bit uapi headers don't define FD_CLR and friends, so this
patch updates libc/kernel/common/linux/time.h after the change
b934bbec145e9e084bf48149a3a94ae3dd132157 in external/kernel-headers,
then fixes <sys/select.h> to work in this new world, and removes
some now-unnecessary duplication from <time.h> (with other cruft
cleaned up while I'm here).
Change-Id: Ifd26f901b4d200c65065b3e6ef1b74055127e052
2013-11-05 13:28:36 -08:00
Elliott Hughes
a0352c60ec
am 3c5d651c
: am 9b9f0d0c
: Merge "Remove unnecessary #include."
...
* commit '3c5d651c051e56e7fb48214e334600cd3f361460':
Remove unnecessary #include.
2013-11-05 12:06:58 -08:00
Elliott Hughes
3c5d651c05
am 9b9f0d0c
: Merge "Remove unnecessary #include."
...
* commit '9b9f0d0cd05b5249e4b8119a8bd12ec17712b9da':
Remove unnecessary #include.
2013-11-05 12:04:34 -08:00
Elliott Hughes
9b9f0d0cd0
Merge "Remove unnecessary #include."
2013-11-05 20:00:30 +00:00
Elliott Hughes
6fa79c5cf5
Remove unnecessary #include.
...
Change-Id: I99dade0b3803272ee29eba2ad36b0311f8a24c31
2013-11-05 11:59:06 -08:00
Elliott Hughes
ab7e8fba0a
am 748ad3d3
: am 00889af0
: am 943cc1b5
: Merge "Refresh libc/kernel/common/linux/uinput.h"
...
* commit '748ad3d3f514707a596b7ede59f1f4788832d3f5':
Refresh libc/kernel/common/linux/uinput.h
2013-10-31 16:09:42 -07:00
Elliott Hughes
748ad3d3f5
am 00889af0
: am 943cc1b5
: Merge "Refresh libc/kernel/common/linux/uinput.h"
...
* commit '00889af038359e0a7e97384bad25a809e8887857':
Refresh libc/kernel/common/linux/uinput.h
2013-10-31 16:07:39 -07:00
Elliott Hughes
00889af038
am 943cc1b5
: Merge "Refresh libc/kernel/common/linux/uinput.h"
...
* commit '943cc1b58892c627f65f44b7f0fcf365048b7364':
Refresh libc/kernel/common/linux/uinput.h
2013-10-31 16:05:50 -07:00
Elliott Hughes
943cc1b588
Merge "Refresh libc/kernel/common/linux/uinput.h"
2013-10-31 23:03:16 +00:00
Scott Anderson
126f66a601
Refresh libc/kernel/common/linux/uinput.h
...
Change-Id: Icd830af5aee63276554ebf7bfe8192965209cc59
Signed-off-by: Scott Anderson <saa@google.com>
2013-10-31 15:45:32 -07:00
Elliott Hughes
040fe7a832
am 2a60b264
: am 6b69b753
: am 4d2ab4c7
: Merge "Fix linker crashes during unknown symbol lookup"
...
* commit '2a60b264ebf85bdec2ef741651815781b145d868':
Fix linker crashes during unknown symbol lookup
2013-10-31 15:17:07 -07:00
Elliott Hughes
2a60b264eb
am 6b69b753
: am 4d2ab4c7
: Merge "Fix linker crashes during unknown symbol lookup"
...
* commit '6b69b753d7c9820fb4fd7f88a047931c645834c8':
Fix linker crashes during unknown symbol lookup
2013-10-31 15:13:39 -07:00
Elliott Hughes
6b69b753d7
am 4d2ab4c7
: Merge "Fix linker crashes during unknown symbol lookup"
...
* commit '4d2ab4c758a8c76193452b139778e90531721930':
Fix linker crashes during unknown symbol lookup
2013-10-31 15:10:25 -07:00
Elliott Hughes
4d2ab4c758
Merge "Fix linker crashes during unknown symbol lookup"
2013-10-31 22:07:00 +00:00
Sergey Melnikov
ebd506c69e
Fix linker crashes during unknown symbol lookup
...
Integration of kernel VDSO into internal bionic data structures using
common functions.
Fix for dl_iterate_phdr function: the function provides incorrect
address of object in case of nonzero virtual and base addresses.
Location in address space of a particular program header should be
calculated using the formula: addr = base_addr + virtual_addr.
Signed-off-by: Sergey Melnikov <sergey.melnikov@intel.com>
Change-Id: Ie2ab4257fd456242aab8afed0bd5bd6b29e81d6d
2013-10-31 15:06:20 -07:00
Elliott Hughes
f6bf2cd9b1
am 8441e031
: am 61ec6a62
: am cc9b7456
: Merge "Move the pthread debugging flags to the right place."
...
* commit '8441e0312cf0215560b502a38284b1e918a31364':
Move the pthread debugging flags to the right place.
2013-10-31 14:29:14 -07:00
Elliott Hughes
8441e0312c
am 61ec6a62
: am cc9b7456
: Merge "Move the pthread debugging flags to the right place."
...
* commit '61ec6a621c699d68246a3dfe724fa13f0555ecf4':
Move the pthread debugging flags to the right place.
2013-10-31 14:26:46 -07:00
Elliott Hughes
61ec6a621c
am cc9b7456
: Merge "Move the pthread debugging flags to the right place."
...
* commit 'cc9b7456b66b7c7c218a9d1f00d7aef1f5ecf409':
Move the pthread debugging flags to the right place.
2013-10-31 14:25:03 -07:00