Daniel Leung
afcc0cccda
Add mmap64()
...
This adds mmap64() to bionic so that it is possible to have
large offset passed to kernel. However, the syscall mechanism
only passes 32-bit number to kernel. So effectively, the
largest offset that can be passed is about 43 bits (since
offset is signed, and the number passed to kernel is number
of pages (page size == 4K => 12 bits)).
Change-Id: Ib54f4e9b54acb6ef8b0324f3b89c9bc810b07281
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2013-09-19 14:11:26 -07:00
Elliott Hughes
1b75f3e07a
am fd5f6f19
: am d5ddf40e
: Merge "Fix host tests that need the shell."
...
* commit 'fd5f6f192ab6dcc01091b0e36af822dd3480f9b4':
Fix host tests that need the shell.
2013-09-19 12:06:44 -07:00
Elliott Hughes
44fd0d92d6
am 94c325fb
: am 269851bf
: Merge "Declare __page_shift and __page_size with C linkage."
...
* commit '94c325fb3bd8844dcc58640afb8f33668b684bc1':
Declare __page_shift and __page_size with C linkage.
2013-09-19 12:06:43 -07:00
Elliott Hughes
fd5f6f192a
am d5ddf40e
: Merge "Fix host tests that need the shell."
...
* commit 'd5ddf40ecf72a03e38164389555ccdade779ab5a':
Fix host tests that need the shell.
2013-09-19 12:05:09 -07:00
Elliott Hughes
94c325fb3b
am 269851bf
: Merge "Declare __page_shift and __page_size with C linkage."
...
* commit '269851bf950049f16eeb2a402f700952480bcecf':
Declare __page_shift and __page_size with C linkage.
2013-09-19 12:05:08 -07:00
Elliott Hughes
d5ddf40ecf
Merge "Fix host tests that need the shell."
2013-09-19 19:04:10 +00:00
Elliott Hughes
269851bf95
Merge "Declare __page_shift and __page_size with C linkage."
2013-09-19 19:03:19 +00:00
Bernhard Rosenkraenzer
9ae59c02ca
Declare __page_shift and __page_size with C linkage.
...
__page_shift and __page_size were accidentally declared in unistd.h with
C linkage - their implementation needs to use the same linkage.
Going forward, though, let's stop the inlining madness and let's kill
the non-standard __getpageshift(). This patch takes getpagesize(3) out
of line and removes __getpageshift but fixes __page_shift and __page_size
for backwards binary compatibility.
Change-Id: I35ed66a08989ced1db422eb03e4d154a5d6b5bda
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
2013-09-19 11:55:36 -07:00
Elliott Hughes
a3285dc914
am 8ff879a5
: am a259472c
: Merge "Fix mismatch between declaration and forward declaration"
...
* commit '8ff879a528b8876db811f5abd4dbf0640e3a0408':
Fix mismatch between declaration and forward declaration
2013-09-19 11:46:46 -07:00
Elliott Hughes
8ff879a528
am a259472c
: Merge "Fix mismatch between declaration and forward declaration"
...
* commit 'a259472ca076ee230523e63502999be13a3f72d2':
Fix mismatch between declaration and forward declaration
2013-09-19 11:44:11 -07:00
Elliott Hughes
a259472ca0
Merge "Fix mismatch between declaration and forward declaration"
2013-09-19 18:41:06 +00:00
Elliott Hughes
e60c4f0a6c
Fix host tests that need the shell.
...
By making the /system/bin/sh available.
Change-Id: I99200c1ddc922a2f6b5cea8ff2da98aedbe70e7b
2013-09-19 11:28:20 -07:00
Elliott Hughes
823a4e0a7e
am 26e71c19
: am 045f311b
: Merge "Use and to find the tzdata."
...
* commit '26e71c19875e36ca4f37993bd0b40cdf2d9aee4e':
Use $ANDROID_DATA and $ANDROID_ROOT to find the tzdata.
2013-09-19 11:23:55 -07:00
Elliott Hughes
26e71c1987
am 045f311b
: Merge "Use and to find the tzdata."
...
* commit '045f311b0a5b3ceed09dfc4b4246c99183a2cef4':
Use $ANDROID_DATA and $ANDROID_ROOT to find the tzdata.
2013-09-19 11:21:21 -07:00
Elliott Hughes
045f311b0a
Merge "Use $ANDROID_DATA and $ANDROID_ROOT to find the tzdata."
2013-09-19 18:19:00 +00:00
Elliott Hughes
cf178bf7d0
Use $ANDROID_DATA and $ANDROID_ROOT to find the tzdata.
...
This lets us run binaries linked against bionic on an x86 host.
Change-Id: Icd60cf99a90d747c77304c05b4f764e4d26af985
2013-09-19 11:17:42 -07:00
Nick Kralevich
9e71b5f676
am d85d0b4c
: am 0c12f125
: am 814bbd52
: Merge "Update netlink.h from tip-of-tree external/kernel-headers"
...
* commit 'd85d0b4c2398dba3da126608c9fb79f6971a7b18':
Update netlink.h from tip-of-tree external/kernel-headers
2013-09-18 21:12:54 -07:00
Nick Kralevich
d85d0b4c23
am 0c12f125
: am 814bbd52
: Merge "Update netlink.h from tip-of-tree external/kernel-headers"
...
* commit '0c12f125cfc90f83475532e64aa7f533e02e3798':
Update netlink.h from tip-of-tree external/kernel-headers
2013-09-18 21:09:22 -07:00
Nick Kralevich
0c12f125cf
am 814bbd52
: Merge "Update netlink.h from tip-of-tree external/kernel-headers"
...
* commit '814bbd521affba78db04135515bae1f5e099bbd9':
Update netlink.h from tip-of-tree external/kernel-headers
2013-09-18 21:06:43 -07:00
Nick Kralevich
814bbd521a
Merge "Update netlink.h from tip-of-tree external/kernel-headers"
2013-09-19 04:04:07 +00:00
Elliott Hughes
89186cd219
am ca0f0662
: am 2443358b
: am 4a509d89
: Merge "Add bionic-unit-tests-run-on-host special target"
...
* commit 'ca0f0662f42a5debe8469e1a9b06ebffb6e492aa':
Add bionic-unit-tests-run-on-host special target
2013-09-18 19:22:09 -07:00
Elliott Hughes
ca0f0662f4
am 2443358b
: am 4a509d89
: Merge "Add bionic-unit-tests-run-on-host special target"
...
* commit '2443358b3717bdce932303bbcbe625f59e1ae380':
Add bionic-unit-tests-run-on-host special target
2013-09-18 19:20:31 -07:00
Elliott Hughes
2443358b37
am 4a509d89
: Merge "Add bionic-unit-tests-run-on-host special target"
...
* commit '4a509d898e24cefe0f7f0edf927b11ce7c304c81':
Add bionic-unit-tests-run-on-host special target
2013-09-18 19:17:55 -07:00
Elliott Hughes
4a509d898e
Merge "Add bionic-unit-tests-run-on-host special target"
2013-09-19 02:16:00 +00:00
Pavel Chupin
f22fb68751
Add bionic-unit-tests-run-on-host special target
...
Allows running the tests linked with bionic .so on the host if host and
target are compatible. See more comments and usage limitation inlined.
make bionic-unit-tests-run-on-host should do build and run.
Change-Id: I5946fa72e009d324baa9da18f460294b3c1a615e
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
2013-09-18 19:09:24 -07:00
Nick Kralevich
45e52faeb7
Update netlink.h from tip-of-tree external/kernel-headers
...
This file was generated using bionic/libc/kernel/tools/update_all.py
The only change is a new netlink.h file, from external/kernel-headers.
Please see the commit message there for details.
Change-Id: I83645b88f0baff838131197913ebd70be69abd3f
2013-09-18 17:14:02 -07:00
Bernhard Rosenkraenzer
edad1e1558
Fix mismatch between declaration and forward declaration
...
KernelArgumentBlock is defined as a class in KernelArgumentBlock.h, but
forward declarations refer to it as a struct.
While this is essentially the same, the mismatch causes a compiler
warning in clang (and may cause warnings in future versions of gcc) in
code that is supposed to be compiled with -Werror.
Change-Id: I4ba49d364c44d0a42c276aff3a8098300dbdcdf0
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
2013-09-18 23:40:19 +02:00
Elliott Hughes
b301042da4
am 56326d14
: am e0d1d4cf
: am 6ebc24fc
: am d3f9e815
: resolved conflicts for merge of 5d0ad38c
to jb-mr2-dev
...
* commit '56326d14b579b2db23f0479d3613071a53f129b5':
Upgrade pre-jb-mr2 releases to tzdata2013d.
2013-09-13 17:18:12 -07:00
Elliott Hughes
56326d14b5
am e0d1d4cf
: am 6ebc24fc
: am d3f9e815
: resolved conflicts for merge of 5d0ad38c
to jb-mr2-dev
...
* commit 'e0d1d4cf497bddd8f24b6d22feec33d655cae0dd':
Upgrade pre-jb-mr2 releases to tzdata2013d.
2013-09-13 17:13:46 -07:00
Brian Carlstrom
58b2992b49
am 4105fcdb
: am 059f5c3f
: am 8512992f
: Merge "Simplify main thread stack size initialization"
...
* commit '4105fcdb3cbc820ec560740f02f3061d30e42419':
Simplify main thread stack size initialization
2013-09-13 17:07:17 -07:00
Brian Carlstrom
f7c48a98d6
am d0628066
: am 5f0b5108
: am 850f59d8
: Merge "Use kernel default for initial thread size"
...
* commit 'd06280669994e63bba292a6bed5f6f54367d23a7':
Use kernel default for initial thread size
2013-09-13 17:07:16 -07:00
Brian Carlstrom
4105fcdb3c
am 059f5c3f
: am 8512992f
: Merge "Simplify main thread stack size initialization"
...
* commit '059f5c3f6ce2a1783b5d96b4059df1b9104101d5':
Simplify main thread stack size initialization
2013-09-13 17:05:20 -07:00
Brian Carlstrom
d062806699
am 5f0b5108
: am 850f59d8
: Merge "Use kernel default for initial thread size"
...
* commit '5f0b5108e340bddca796b7b8d2b072e30ccea112':
Use kernel default for initial thread size
2013-09-13 17:05:20 -07:00
Brian Carlstrom
059f5c3f6c
am 8512992f
: Merge "Simplify main thread stack size initialization"
...
* commit '8512992f50e8444c1985bbeb17c3385a58fc0fed':
Simplify main thread stack size initialization
2013-09-13 17:02:51 -07:00
Brian Carlstrom
5f0b5108e3
am 850f59d8
: Merge "Use kernel default for initial thread size"
...
* commit '850f59d8516c7060be9484e9771aa54231e8ff48':
Use kernel default for initial thread size
2013-09-13 17:02:50 -07:00
Brian Carlstrom
8512992f50
Merge "Simplify main thread stack size initialization"
2013-09-14 00:00:41 +00:00
Brian Carlstrom
850f59d851
Merge "Use kernel default for initial thread size"
2013-09-14 00:00:33 +00:00
Brian Carlstrom
50af69e8f3
Simplify main thread stack size initialization
...
Change-Id: Iec09433d9de501031cce09dc75848a5e8f3d96bf
2013-09-13 16:44:47 -07:00
Brian Carlstrom
322e7bce23
Use kernel default for initial thread size
...
Bug: 10697851
Change-Id: I8d980f5e0b584799536f6e6b891056c968d26cdf
2013-09-13 16:25:25 -07:00
Brian Carlstrom
9d73b37f99
am 0890436d
: am 9a74e36f
: Use kernel default for initial thread size
...
* commit '0890436da9ad6e9281f507d515a4158f241c3bd1':
Use kernel default for initial thread size
2013-09-13 13:27:03 -07:00
Brian Carlstrom
0890436da9
am 9a74e36f
: Use kernel default for initial thread size
...
* commit '9a74e36f4810ca22cb12f8eafe4f929edfa57e58':
Use kernel default for initial thread size
2013-09-13 13:20:19 -07:00
Elliott Hughes
e0d1d4cf49
am 6ebc24fc
: am d3f9e815
: resolved conflicts for merge of 5d0ad38c
to jb-mr2-dev
...
* commit '6ebc24fcc3cf07f1be936ef9d7a8c3afff1861c7':
Upgrade pre-jb-mr2 releases to tzdata2013d.
2013-09-13 11:50:20 -07:00
Elliott Hughes
6ebc24fcc3
am d3f9e815
: resolved conflicts for merge of 5d0ad38c
to jb-mr2-dev
...
* commit 'd3f9e8155bfc17b2d67d2ffe5bc1d3a5e2656cd4':
Upgrade pre-jb-mr2 releases to tzdata2013d.
2013-09-13 11:46:09 -07:00
Elliott Hughes
d3f9e8155b
resolved conflicts for merge of 5d0ad38c
to jb-mr2-dev
...
Change-Id: I606f6d86aad46c5eda0dc0d907fe691ca0eea826
2013-09-13 11:16:11 -07:00
Elliott Hughes
5d0ad38c72
resolved conflicts for merge of ca2c6f75
to jb-mr1-dev-plus-aosp
...
Change-Id: If84f3c832a21ca1adf1a8009f50aa4a10f42a57e
2013-09-13 11:09:46 -07:00
Elliott Hughes
ca2c6f75a8
am 592c0708
: am b30f6eb0
: am 9e6104d5
: resolved conflicts for merge of 05292dd6
to jb-mr1-dev
...
* commit '592c07084bf0d86b42e216002e5aaabf40023ea8':
Upgrade pre-jb-mr2 releases to tzdata2013d.
2013-09-13 10:56:39 -07:00
Elliott Hughes
592c07084b
am b30f6eb0
: am 9e6104d5
: resolved conflicts for merge of 05292dd6
to jb-mr1-dev
...
* commit 'b30f6eb026db05c969afacc758e529e73f0e314d':
Upgrade pre-jb-mr2 releases to tzdata2013d.
2013-09-13 10:53:43 -07:00
Elliott Hughes
b30f6eb026
am 9e6104d5
: resolved conflicts for merge of 05292dd6
to jb-mr1-dev
...
* commit '9e6104d54f541d43d3c1b785f2dfc1d2e09c0f2f':
Upgrade pre-jb-mr2 releases to tzdata2013d.
2013-09-13 10:51:31 -07:00
Elliott Hughes
9e6104d54f
resolved conflicts for merge of 05292dd6
to jb-mr1-dev
...
Change-Id: I051cad5dc3c985f11c52708f4487e64ea45ca617
2013-09-13 10:17:10 -07:00
Elliott Hughes
05292dd65b
resolved conflicts for merge of cc7f0dc5
to jb-dev-plus-aosp
...
Change-Id: I812d0007ddd1576583a4749461b57ee33fb1eb15
2013-09-13 10:09:56 -07:00