Elliott Hughes
88f2944421
am 7b538021: Merge "Make it easier to add syscalls for another architecture."
...
* commit '7b538021bdaa0a7c2d60e25d10e5908043680467':
Make it easier to add syscalls for another architecture.
2013-09-26 09:01:20 -07:00
Elliott Hughes
7b538021bd
Merge "Make it easier to add syscalls for another architecture."
2013-09-26 15:59:33 +00:00
Elliott Hughes
d612165c67
Make it easier to add syscalls for another architecture.
...
Much of the per-architecture duplication can be removed, so let's do so
before we add the 64-bit architectures.
Change-Id: Ieb796503c8e5353ea38c3bab768bb9a690c9a767
2013-09-26 08:57:17 -07:00
Elliott Hughes
24338ffa29
am fcdb47d7: am dbd4dbc0: am a1c1a334: Merge "Add a unit test for %n."
...
* commit 'fcdb47d7f5f859e04e9f4d88006e5595a9acf647':
Add a unit test for %n.
2013-09-26 07:51:11 -07:00
The Android Automerger
84480f99dc
merge in master-release history after reset to master
2013-09-26 07:49:55 -07:00
Elliott Hughes
fcdb47d7f5
am dbd4dbc0: am a1c1a334: Merge "Add a unit test for %n."
...
* commit 'dbd4dbc02c969531ff4891c06e66c63ec7a6d75d':
Add a unit test for %n.
2013-09-25 22:16:18 -07:00
Elliott Hughes
dbd4dbc02c
am a1c1a334: Merge "Add a unit test for %n."
...
* commit 'a1c1a3344de1c0a35126ea6f43e1d55184f078da':
Add a unit test for %n.
2013-09-25 22:13:52 -07:00
Elliott Hughes
a1c1a3344d
Merge "Add a unit test for %n."
2013-09-26 05:10:28 +00:00
Michael Wright
57470c937c
am 18c2cc68: am 92d512f6: am c612a133: Merge "Update capability.h"
...
* commit '18c2cc68e8ddd3c2a2769b3c06336606b5ed1f6a':
Update capability.h
2013-09-25 16:50:20 -07:00
Michael Wright
18c2cc68e8
am 92d512f6: am c612a133: Merge "Update capability.h"
...
* commit '92d512f6cf273d6d9e281dc362cc25cf8892b3f9':
Update capability.h
2013-09-25 16:35:33 -07:00
Michael Wright
92d512f6cf
am c612a133: Merge "Update capability.h"
...
* commit 'c612a133dcc3ffaa1a2172d2cac20bddbd5df284':
Update capability.h
2013-09-25 16:33:24 -07:00
Michael Wright
c612a133dc
Merge "Update capability.h"
2013-09-25 23:29:32 +00:00
Michael Wright
8bd5aa6a76
Update capability.h
...
To upstream SHA 6e4664525b1db28f8c4e1130957f70a94c19213e (v3.11)
Change-Id: Ic0d95464bc9001246df898489b2ea603a97ca231
2013-09-25 14:55:55 -07:00
The Android Automerger
5d83ffb3bc
merge in master-release history after reset to master
2013-09-25 07:49:46 -07:00
Elliott Hughes
7248a2d4d0
Add a unit test for %n.
...
Change-Id: I9335e089d66c98d34577f5e1d1a54b8f507b94f6
2013-09-24 18:01:33 -07:00
Nick Kralevich
60f4f9a5b9
libc: fortify recvfrom()
...
Fortify calls to recv() and recvfrom().
We use __bos0 to match glibc's behavior, and because I haven't
tested using __bos.
Change-Id: Iad6ae96551a89af17a9c347b80cdefcf2020c505
2013-09-24 16:45:01 -07:00
Elliott Hughes
eec5b5dae2
am 67e34826: am 3c49c6ec: am 759111ca: Merge "Simplify the SYSCALLS.TXT format."
...
* commit '67e34826d8dfe02cb61bc282f1e49e860b50e395':
Simplify the SYSCALLS.TXT format.
2013-09-24 11:34:52 -07:00
Elliott Hughes
67e34826d8
am 3c49c6ec: am 759111ca: Merge "Simplify the SYSCALLS.TXT format."
...
* commit '3c49c6ec49e0a4170ff7c9c74ac2e76b9b846ced':
Simplify the SYSCALLS.TXT format.
2013-09-24 11:29:29 -07:00
Elliott Hughes
3c49c6ec49
am 759111ca: Merge "Simplify the SYSCALLS.TXT format."
...
* commit '759111cadf84f337f98177259d9e3f9d39c9eea9':
Simplify the SYSCALLS.TXT format.
2013-09-24 11:27:42 -07:00
Elliott Hughes
759111cadf
Merge "Simplify the SYSCALLS.TXT format."
2013-09-24 18:25:50 +00:00
Elliott Hughes
0f0b5ec9e2
am 2f81ac84: am 4808f052: am c8d98679: Merge "Update taskstats.h from Linux 3.11.1"
...
* commit '2f81ac8443d20fbd7b3ce694b6eca8bc246a0f59':
Update taskstats.h from Linux 3.11.1
2013-09-24 10:26:29 -07:00
The Android Automerger
c029314822
merge in master-release history after reset to master
2013-09-24 07:49:18 -07:00
Elliott Hughes
2f81ac8443
am 4808f052: am c8d98679: Merge "Update taskstats.h from Linux 3.11.1"
...
* commit '4808f05238d66ba474c6d33da066da799d4e6cf3':
Update taskstats.h from Linux 3.11.1
2013-09-24 07:37:48 -07:00
Elliott Hughes
4808f05238
am c8d98679: Merge "Update taskstats.h from Linux 3.11.1"
...
* commit 'c8d98679faa9b7f824e09d969cc1a469c721f4d8':
Update taskstats.h from Linux 3.11.1
2013-09-24 07:36:12 -07:00
Elliott Hughes
c8d98679fa
Merge "Update taskstats.h from Linux 3.11.1"
2013-09-24 14:29:29 +00:00
Elliott Hughes
5e52279256
Simplify the SYSCALLS.TXT format.
...
This will make addition of new architectures less unpleasant.
Change-Id: I77c866a63b686e8e70709d08fcf52e8a2d37310a
2013-09-24 00:35:31 -07:00
Elliott Hughes
cdf086eabb
am a663ebd4: am f8222078: am 43e5badd: Merge "Fix %hhd formats in the printf family."
...
* commit 'a663ebd468b99981b07c1b0dca9aaa5da2cd8d50':
Fix %hhd formats in the printf family.
2013-09-23 16:42:33 -07:00
Elliott Hughes
a663ebd468
am f8222078: am 43e5badd: Merge "Fix %hhd formats in the printf family."
...
* commit 'f82220785d20385fa02aa78b02f3fdb98e5aa553':
Fix %hhd formats in the printf family.
2013-09-23 16:39:13 -07:00
Elliott Hughes
f82220785d
am 43e5badd: Merge "Fix %hhd formats in the printf family."
...
* commit '43e5baddbcaf571c1a74149c53d1e70a5a2c9de3':
Fix %hhd formats in the printf family.
2013-09-23 16:36:19 -07:00
Elliott Hughes
43e5baddbc
Merge "Fix %hhd formats in the printf family."
2013-09-23 23:34:00 +00:00
Elliott Hughes
1d13c64d78
Fix %hhd formats in the printf family.
...
Found by adapting the simple unit tests for libc logging to test
snprintf too. Fix taken from upstream OpenBSD without updating
the rest of stdio.
Change-Id: Ie339a8e9393a36080147aae4d6665118e5d93647
2013-09-23 16:02:39 -07:00
Christopher Ferris
34c2a9fc37
Move stack unwinding test into library.
...
Bug: 8291716
(cherry picked from commit 8240bed918722944c9985bc0cca89eb44c4f6c91)
Change-Id: I1da2d0757ed304c352229f9818c052925d4e976a
2013-09-23 12:16:19 -07:00
Christopher Ferris
f4af911065
Create bionic unit test library for use with CTS.
...
Bug: 8291716
(cherry picked from commit 153d92765bb693541abf49a2a1d31335e2c90348)
Change-Id: Ia53b85b95621b7000034e4c6259d6586d0987dee
2013-09-23 12:16:01 -07:00
Christopher Ferris
7bfef355b1
Change hard-coded directory.
...
The tests are using /data/data which is not accessible to a non-root
user. Change this to /data/local/tmp which is accessible to all users.
Bug: 8291716
(cherry picked from commit 5227bb363dfdd0a4570cfa3d0735744daf7d83c2)
Change-Id: I83bf70aa8edd21b00321363d7ddcb65a5f048ba5
2013-09-23 12:12:58 -07:00
Christopher Ferris
6d1f85dcdc
Change hard-coded temporary directory.
...
The properties tests creates a temporary directory in /data/nativetest,
but this directory might not exist in all circumstances.
Change this to create the temporary directory in /data/local/tmp.
(cherry picked from commit bd6dc6a8864a1997eb8608030ac816740169c463)
Change-Id: I15144ece7ffb5c29eded9a1ef399db630f6af5ab
2013-09-23 12:10:49 -07:00
Elliott Hughes
c1aa5c0e16
am 4988ec89: am b9f3d31c: am fc2ceae7: Merge "Remove two -D flags for unused macros."
...
* commit '4988ec89dbfa0a0387acb54603407e99dd466e66':
Remove two -D flags for unused macros.
2013-09-23 11:24:10 -07:00
Elliott Hughes
4988ec89db
am b9f3d31c: am fc2ceae7: Merge "Remove two -D flags for unused macros."
...
* commit 'b9f3d31ce40bceec4ecf86e2aaf83f1d8857f346':
Remove two -D flags for unused macros.
2013-09-23 11:22:05 -07:00
Elliott Hughes
b9f3d31ce4
am fc2ceae7: Merge "Remove two -D flags for unused macros."
...
* commit 'fc2ceae778afdcb2deee4abb5e2fc9b9904fa761':
Remove two -D flags for unused macros.
2013-09-23 11:19:22 -07:00
Elliott Hughes
fc2ceae778
Merge "Remove two -D flags for unused macros."
2013-09-23 18:14:57 +00:00
Elliott Hughes
3f33165acd
Remove two -D flags for unused macros.
...
Change-Id: Ia95b0f0e2003cadd875e84437afa1853c8fe2598
2013-09-23 11:12:09 -07:00
The Android Automerger
746f4e9710
merge in master-release history after reset to master
2013-09-23 07:50:06 -07:00
Sami Kyostila
50a1b776fd
Update taskstats.h from Linux 3.11.1
...
Change-Id: I50853efe20fa2524f6288f78505a774a72071367
2013-09-23 11:01:59 +01:00
Christopher Ferris
8ae9208f63
am b835cec3: am 63e4644e: am c2de11d3: Merge "__memcpy_chk: Fix signed cmp of unsigned values."
...
* commit 'b835cec3729d721fffa52546a356264f56df0a5e':
__memcpy_chk: Fix signed cmp of unsigned values.
2013-09-20 20:46:24 -07:00
Christopher Ferris
b835cec372
am 63e4644e: am c2de11d3: Merge "__memcpy_chk: Fix signed cmp of unsigned values."
...
* commit '63e4644ebd2da86e10aa41761d11b6beea20b439':
__memcpy_chk: Fix signed cmp of unsigned values.
2013-09-20 20:42:08 -07:00
Christopher Ferris
63e4644ebd
am c2de11d3: Merge "__memcpy_chk: Fix signed cmp of unsigned values."
...
* commit 'c2de11d3a4ff1e4937406596aeb289c5715c4466':
__memcpy_chk: Fix signed cmp of unsigned values.
2013-09-20 20:39:27 -07:00
Christopher Ferris
c2de11d3a4
Merge "__memcpy_chk: Fix signed cmp of unsigned values."
2013-09-21 03:36:31 +00:00
Christopher Ferris
16e185c908
__memcpy_chk: Fix signed cmp of unsigned values.
...
I accidentally did a signed comparison of the size_t values passed in
for three of the _chk functions. Changing them to unsigned compares.
Add three new tests to verify this failure is fixed.
Bug: 10691831
Merge from internal master.
(cherry-picked from 883ef2499c2ff76605f73b1240f719ca6282e554)
Change-Id: Id9a96b549435f5d9b61dc132cf1082e0e30889f5
2013-09-20 20:12:09 -07:00
Christopher Ferris
2b205bc880
am f67d11b2: am 8da175c8: (-s ours) am ad999b60: Merge "Fix all debug directives."
...
* commit 'f67d11b2b4830903e4073da982dab92d3143c1ec':
Fix all debug directives.
2013-09-20 20:07:56 -07:00
Christopher Ferris
f67d11b2b4
am 8da175c8: (-s ours) am ad999b60: Merge "Fix all debug directives."
...
* commit '8da175c8c348522c869a0a6d6016b74165a22abd':
Fix all debug directives.
2013-09-20 20:05:53 -07:00
Christopher Ferris
8da175c8c3
am ad999b60: Merge "Fix all debug directives."
...
* commit 'ad999b6062909d4922fb360a6f3b7f412cc06111':
Fix all debug directives.
2013-09-20 19:44:36 -07:00