OSDN Git Service
Christopher Ferris [Mon, 30 Sep 2013 21:01:03 +0000 (14:01 -0700)]
am
34c2a9fc: Move stack unwinding test into library.
* commit '
34c2a9fc37848d446bf91ce61783884232fffeb1':
Move stack unwinding test into library.
Christopher Ferris [Mon, 30 Sep 2013 05:40:36 +0000 (22:40 -0700)]
am
427e8cf9: Fix line that got removed by merge.
* commit '
427e8cf90248f7da0a789fb3b4fb9a859c19aacd':
Fix line that got removed by merge.
Christopher Ferris [Fri, 27 Sep 2013 21:18:36 +0000 (14:18 -0700)]
Fix line that got removed by merge.
(cherry picked from commit
f14d71fcf74e755ece4f8ca2ca2b7483424aa432)
Change-Id: Id3dd54d9efd87ef2bbb2c90adae2ce3911695027
Elliott Hughes [Fri, 27 Sep 2013 22:47:41 +0000 (15:47 -0700)]
am
967a6d37: am
ef8eb557: am
4d016c6a: Merge "Upgrade to tzcode2013f plus Android modifications (from tzcode2013d plus Android modifications)."
* commit '
967a6d37681a006a0be588f83a81b12e79d85f8f':
Upgrade to tzcode2013f plus Android modifications (from tzcode2013d plus Android modifications).
Elliott Hughes [Fri, 27 Sep 2013 22:44:53 +0000 (15:44 -0700)]
am
ef8eb557: am
4d016c6a: Merge "Upgrade to tzcode2013f plus Android modifications (from tzcode2013d plus Android modifications)."
* commit '
ef8eb55708f67fc2977a155dddb1b3f1f732b3fe':
Upgrade to tzcode2013f plus Android modifications (from tzcode2013d plus Android modifications).
Elliott Hughes [Fri, 27 Sep 2013 22:41:25 +0000 (15:41 -0700)]
am
4d016c6a: Merge "Upgrade to tzcode2013f plus Android modifications (from tzcode2013d plus Android modifications)."
* commit '
4d016c6a83bb8c8b8ec88400031b42c41f18edbb':
Upgrade to tzcode2013f plus Android modifications (from tzcode2013d plus Android modifications).
Elliott Hughes [Fri, 27 Sep 2013 22:38:45 +0000 (22:38 +0000)]
Merge "Upgrade to tzcode2013f plus Android modifications (from tzcode2013d plus Android modifications)."
Nick Kralevich [Fri, 27 Sep 2013 22:20:56 +0000 (15:20 -0700)]
am
cadc6aaf: am
f56e0e4b: am
6aed6077: Merge "Fix unnecessary call to __strncpy_chk2"
* commit '
cadc6aaf41e29ffcca0e4b801ffa294e6cea968e':
Fix unnecessary call to __strncpy_chk2
Nick Kralevich [Fri, 27 Sep 2013 22:18:21 +0000 (15:18 -0700)]
am
f56e0e4b: am
6aed6077: Merge "Fix unnecessary call to __strncpy_chk2"
* commit '
f56e0e4b5e97f4e7fed6e06dde30053ea687716e':
Fix unnecessary call to __strncpy_chk2
Nick Kralevich [Fri, 27 Sep 2013 22:15:31 +0000 (15:15 -0700)]
am
6aed6077: Merge "Fix unnecessary call to __strncpy_chk2"
* commit '
6aed6077fbe2b2039ab9160fb1e33ffe07907f32':
Fix unnecessary call to __strncpy_chk2
Nick Kralevich [Fri, 27 Sep 2013 22:13:19 +0000 (22:13 +0000)]
Merge "Fix unnecessary call to __strncpy_chk2"
Christopher Ferris [Fri, 27 Sep 2013 21:18:36 +0000 (14:18 -0700)]
Fix line that got removed by merge.
Change-Id: I8c1f3624b52161893d1e04f0a156df613f90e39d
Conley Owens [Fri, 27 Sep 2013 20:27:49 +0000 (13:27 -0700)]
am
e83a7806: resolved conflicts for merge of
f4af9110 to klp-dev-plus-aosp
* commit '
e83a780600eda88d351fda590079265bcc0d1f56':
Create bionic unit test library for use with CTS.
Nick Kralevich [Fri, 27 Sep 2013 20:21:24 +0000 (13:21 -0700)]
Fix unnecessary call to __strncpy_chk2
If "n" is smaller than the size of "src", then we'll
never read off the end of src. It makes no sense to call
__strncpy_chk2 in those circumstances.
For example, consider the following code:
int main() {
char src[10];
char dst[5];
memcpy(src, "
0123456789", sizeof(src));
strncpy(dst, src, sizeof(dst));
dst[4] = '\0';
printf("%s\n", dst);
return 0;
}
In this code, it's clear that the strncpy will never read off
the end of src.
Change-Id: I9cf58857a0c5216b4576d21d3c1625e2913ccc03
Conley Owens [Fri, 27 Sep 2013 16:42:15 +0000 (09:42 -0700)]
resolved conflicts for merge of
f4af9110 to klp-dev-plus-aosp
Change-Id: I9e499e552b758392dd0c7b8d888944c0150dd22a
Nick Kralevich [Fri, 27 Sep 2013 16:12:53 +0000 (09:12 -0700)]
am
9a622f87: am
cc362291: am
8427b745: Merge "libc: fortify recvfrom()"
* commit '
9a622f874ceb90431623af140ca9a78eadc96dcb':
libc: fortify recvfrom()
Nick Kralevich [Fri, 27 Sep 2013 16:11:00 +0000 (09:11 -0700)]
am
cc362291: am
8427b745: Merge "libc: fortify recvfrom()"
* commit '
cc362291362f8183431eccb19267c8a625f36006':
libc: fortify recvfrom()
Nick Kralevich [Fri, 27 Sep 2013 16:08:25 +0000 (09:08 -0700)]
am
8427b745: Merge "libc: fortify recvfrom()"
* commit '
8427b7450fe068db6484d161f7004661c4698858':
libc: fortify recvfrom()
Nick Kralevich [Fri, 27 Sep 2013 16:05:44 +0000 (16:05 +0000)]
Merge "libc: fortify recvfrom()"
Elliott Hughes [Fri, 27 Sep 2013 07:04:30 +0000 (00:04 -0700)]
Upgrade to tzcode2013f plus Android modifications (from tzcode2013d plus Android modifications).
localtime.c and strftime.c are still quite different from upstream because of
our extensions, but the other files continue to be identical, and the two
exceptions should be otherwise identical.
From the tzcode2013e release notes:
Changes affecting Godthab time stamps after 2037 if version mismatch
Allow POSIX-like TZ strings where the transition time's hour can
range from -167 through 167, instead of the POSIX-required 0
through 24. E.g., TZ='FJT-12FJST,M10.3.1/146,M1.3.4/75' for the
new Fiji rules. This is a more-compact way to represent
far-future time stamps for America/Godthab, America/Santiago,
Antarctica/Palmer, Asia/Gaza, Asia/Hebron, Asia/Jerusalem,
Pacific/Easter, and Pacific/Fiji. Other zones are unaffected by
this change. (Derived from a suggestion by Arthur David Olson.)
Allow POSIX-like TZ strings where daylight saving time is in
effect all year. E.g., TZ='WART4WARST,J1/0,J365/25' for Western
Argentina Summer Time all year. This supports a more-compact way
to represent the 2013d data for America/Argentina/San_Luis.
Because of the change for San Luis noted above this change does not
affect the current data. (Thanks to Andrew Main (Zefram) for
suggestions that improved this change.)
Where these two TZ changes take effect, there is a minor extension
to the tz file format in that it allows new values for the
embedded TZ-format string, and the tz file format version number
has therefore been increased from 2 to 3 as a precaution.
Version-2-based client code should continue to work as before for
all time stamps before 2038. Existing version-2-based client code
(tzcode, GNU/Linux, Solaris) has been tested on version-3-format
files, and typically works in practice even for time stamps after
2037; the only known exception is America/Godthab.
Changes affecting API
Support for floating-point time_t has been removed.
It was always dicey, and POSIX no longer requires it.
(Thanks to Eric Blake for suggesting to the POSIX committee to
remove it, and thanks to Alan Barrett, Clive D.W. Feather, Andy
Heninger, Arthur David Olson, and Alois Treindl, for reporting
bugs and elucidating some of the corners of the old floating-point
implementation.)
The signatures of 'offtime', 'timeoff', and 'gtime' have been
changed back to the old practice of using 'long' to represent UT
offsets. This had been inadvertently and mistakenly changed to
'int_fast32_t'. (Thanks to Christos Zoulos.)
The code avoids undefined behavior on integer overflow in some
more places, including gmtime, localtime, mktime and zdump.
Changes affecting code internals
Minor changes pacify GCC 4.7.3 and GCC 4.8.1.
Changes affecting documentation and commentary
Documentation and commentary is more careful to distinguish UT in
general from UTC in particular. (Thanks to Steve Allen.)
From the tzcode2013f release notes:
Changes affecting API
The types of the global variables 'timezone' and 'altzone' (if present)
have been changed back to 'long'. This is required for 'timezone'
by POSIX, and for 'altzone' by common practice, e.g., Solaris 11.
These variables were originally 'long' in the tz code, but were
mistakenly changed to 'time_t' in 1987; nobody reported the
incompatibility until now. The difference matters on x32, where
'long' is 32 bits and 'time_t' is 64. (Thanks to Elliott Hughes.)
Change-Id: I14937c42a391ddb865e4d89f0783961bcc6baa21
Elliott Hughes [Fri, 27 Sep 2013 06:36:34 +0000 (23:36 -0700)]
am
b1542b09: am
174e98c9: am
ad1244b2: Merge "Upgrade to tzdata2013f."
* commit '
b1542b09d95556bd2d7d91c2deba6cf753fdbbb2':
Upgrade to tzdata2013f.
Elliott Hughes [Fri, 27 Sep 2013 06:34:10 +0000 (23:34 -0700)]
am
174e98c9: am
ad1244b2: Merge "Upgrade to tzdata2013f."
* commit '
174e98c9a96879af82e8bbda2d6322544fb74d90':
Upgrade to tzdata2013f.
Elliott Hughes [Fri, 27 Sep 2013 06:31:50 +0000 (23:31 -0700)]
am
ad1244b2: Merge "Upgrade to tzdata2013f."
* commit '
ad1244b2e7588df2f4e66747e1355016d6d014bc':
Upgrade to tzdata2013f.
Elliott Hughes [Fri, 27 Sep 2013 06:30:00 +0000 (06:30 +0000)]
Merge "Upgrade to tzdata2013f."
Elliott Hughes [Fri, 27 Sep 2013 06:27:03 +0000 (23:27 -0700)]
am
1b709a94: am
3b7d4697: am
abd4b254: Merge "Upgrade to tzdata2013e."
* commit '
1b709a946f22e9465afd49068e4390b7be719e8b':
Upgrade to tzdata2013e.
Elliott Hughes [Fri, 27 Sep 2013 06:25:40 +0000 (23:25 -0700)]
am
3b7d4697: am
abd4b254: Merge "Upgrade to tzdata2013e."
* commit '
3b7d4697b765cb4cd65a1e306d27c607dc486d66':
Upgrade to tzdata2013e.
Elliott Hughes [Fri, 27 Sep 2013 06:23:15 +0000 (23:23 -0700)]
am
abd4b254: Merge "Upgrade to tzdata2013e."
* commit '
abd4b2542b0e161f40a80c48970b77097af76dd9':
Upgrade to tzdata2013e.
Elliott Hughes [Fri, 27 Sep 2013 06:22:23 +0000 (23:22 -0700)]
Upgrade to tzdata2013f.
From the release notes:
Changes affecting near-future time stamps
Tocantins will very likely not observe DST starting this spring.
(Thanks to Steffen Thorsen.)
Jordan will likely stay at UTC+3 indefinitely, and will not fall
back this fall.
Palestine will fall back at 00:00, not 01:00. (Thanks to Steffen Thorsen.)
Change-Id: Iccee57578eef2ab51c519a23f151bc1963262ffe
Elliott Hughes [Fri, 27 Sep 2013 06:20:18 +0000 (06:20 +0000)]
Merge "Upgrade to tzdata2013e."
Elliott Hughes [Fri, 27 Sep 2013 05:41:09 +0000 (22:41 -0700)]
Upgrade to tzdata2013e.
From the release notes:
Changes affecting near-future time stamps
This year Fiji will start DST on October 27, not October 20.
(Thanks to David Wheeler for the heads-up.) For now, guess that
Fiji will continue to spring forward the Sunday before the fourth
Monday in October.
Changes affecting time stamps before 1970
Pacific/Johnston is now a link to Pacific/Honolulu. This corrects
some errors before 1947.
Some zones have been turned into links, when they differ from
existing zones only in older data that was likely invented or that
differs only in LMT or transition from LMT. These changes affect
only time stamps before 1943. The affected zones are:
Africa/Juba, America/Anguilla, America/Aruba, America/Dominica,
America/Grenada, America/Guadeloupe, America/Marigot,
America/Montserrat, America/St_Barthelemy, America/St_Kitts,
America/St_Lucia, America/St_Thomas, America/St_Vincent,
America/Tortola, and Europe/Vaduz. (Thanks to Alois Treindl for
confirming that the old Europe/Vaduz zone was wrong and the new
link is better for WWII-era times.)
Change Kingston Mean Time from -5:07:12 to -5:07:11. This affects
America/Cayman, America/Jamaica and America/Grand_Turk time stamps
from 1890 to 1912.
Change the UT offset of Bern Mean Time from 0:29:44 to 0:29:46.
This affects Europe/Zurich time stamps from 1853 to 1894. (Thanks
to Alois Treindl).
Change the date of the circa-1850 Zurich transition from 1849-09-12
to 1853-07-16, overriding Shanks with data from Messerli about
postal and telegraph time in Switzerland.
Data changes affecting behavior of tzselect and similar programs
Country code BQ is now called the more-common name "Caribbean Netherlands"
rather than the more-official "Bonaire, St Eustatius & Saba".
Remove from zone.tab the names America/Montreal, America/Shiprock,
and Antarctica/South_Pole, as they are equivalent to existing
same-country-code zones for post-1970 time stamps. The data for
these names are unchanged, so the names continue to work as before.
Change-Id: If78a517687532afcc0b22c7df664b5955f6e1564
Christopher Ferris [Thu, 26 Sep 2013 21:42:34 +0000 (14:42 -0700)]
am
6c4ef747: am
7bfef355: Change hard-coded directory.
* commit '
6c4ef747579126ec971239f4e9dc2ff5492c20cd':
Change hard-coded directory.
Christopher Ferris [Thu, 26 Sep 2013 21:42:34 +0000 (14:42 -0700)]
am
9018a0f4: am
6d1f85dc: Change hard-coded temporary directory.
* commit '
9018a0f4626814d4f1023a9107969be108966513':
Change hard-coded temporary directory.
Christopher Ferris [Thu, 26 Sep 2013 21:39:31 +0000 (14:39 -0700)]
am
7bfef355: Change hard-coded directory.
* commit '
7bfef355b1590cb8ac68d8caa97eaf0018191db8':
Change hard-coded directory.
Christopher Ferris [Thu, 26 Sep 2013 21:39:30 +0000 (14:39 -0700)]
am
6d1f85dc: Change hard-coded temporary directory.
* commit '
6d1f85dcdcf32117332b48563357d311a2886c30':
Change hard-coded temporary directory.
Elliott Hughes [Thu, 26 Sep 2013 16:04:22 +0000 (09:04 -0700)]
am
5825f979: am
88f29444: am
7b538021: Merge "Make it easier to add syscalls for another architecture."
* commit '
5825f979b726ea18b98994561280b5cbb8426b51':
Make it easier to add syscalls for another architecture.
Elliott Hughes [Thu, 26 Sep 2013 16:02:46 +0000 (09:02 -0700)]
am
88f29444: am
7b538021: Merge "Make it easier to add syscalls for another architecture."
* commit '
88f2944421839b725e02e97c62d119c9e608ec58':
Make it easier to add syscalls for another architecture.
Elliott Hughes [Thu, 26 Sep 2013 16:01:20 +0000 (09:01 -0700)]
am
7b538021: Merge "Make it easier to add syscalls for another architecture."
* commit '
7b538021bdaa0a7c2d60e25d10e5908043680467':
Make it easier to add syscalls for another architecture.
Elliott Hughes [Thu, 26 Sep 2013 15:59:32 +0000 (15:59 +0000)]
Merge "Make it easier to add syscalls for another architecture."
Elliott Hughes [Thu, 26 Sep 2013 05:43:36 +0000 (22:43 -0700)]
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
Elliott Hughes [Thu, 26 Sep 2013 14:51:11 +0000 (07:51 -0700)]
am
fcdb47d7: am
dbd4dbc0: am
a1c1a334: Merge "Add a unit test for %n."
* commit '
fcdb47d7f5f859e04e9f4d88006e5595a9acf647':
Add a unit test for %n.
Elliott Hughes [Thu, 26 Sep 2013 05:16:18 +0000 (22:16 -0700)]
am
dbd4dbc0: am
a1c1a334: Merge "Add a unit test for %n."
* commit '
dbd4dbc02c969531ff4891c06e66c63ec7a6d75d':
Add a unit test for %n.
Elliott Hughes [Thu, 26 Sep 2013 05:13:52 +0000 (22:13 -0700)]
am
a1c1a334: Merge "Add a unit test for %n."
* commit '
a1c1a3344de1c0a35126ea6f43e1d55184f078da':
Add a unit test for %n.
Elliott Hughes [Thu, 26 Sep 2013 05:10:27 +0000 (05:10 +0000)]
Merge "Add a unit test for %n."
Michael Wright [Wed, 25 Sep 2013 23:50:20 +0000 (16:50 -0700)]
am
18c2cc68: am
92d512f6: am
c612a133: Merge "Update capability.h"
* commit '
18c2cc68e8ddd3c2a2769b3c06336606b5ed1f6a':
Update capability.h
Michael Wright [Wed, 25 Sep 2013 23:35:33 +0000 (16:35 -0700)]
am
92d512f6: am
c612a133: Merge "Update capability.h"
* commit '
92d512f6cf273d6d9e281dc362cc25cf8892b3f9':
Update capability.h
Michael Wright [Wed, 25 Sep 2013 23:33:24 +0000 (16:33 -0700)]
am
c612a133: Merge "Update capability.h"
* commit '
c612a133dcc3ffaa1a2172d2cac20bddbd5df284':
Update capability.h
Michael Wright [Wed, 25 Sep 2013 23:29:32 +0000 (23:29 +0000)]
Merge "Update capability.h"
Michael Wright [Wed, 25 Sep 2013 21:55:55 +0000 (14:55 -0700)]
Update capability.h
To upstream SHA
6e4664525b1db28f8c4e1130957f70a94c19213e (v3.11)
Change-Id: Ic0d95464bc9001246df898489b2ea603a97ca231
Elliott Hughes [Wed, 25 Sep 2013 01:01:33 +0000 (18:01 -0700)]
Add a unit test for %n.
Change-Id: I9335e089d66c98d34577f5e1d1a54b8f507b94f6
Nick Kralevich [Tue, 24 Sep 2013 23:32:07 +0000 (16:32 -0700)]
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
Elliott Hughes [Tue, 24 Sep 2013 18:34:52 +0000 (11:34 -0700)]
am
67e34826: am
3c49c6ec: am
759111ca: Merge "Simplify the SYSCALLS.TXT format."
* commit '
67e34826d8dfe02cb61bc282f1e49e860b50e395':
Simplify the SYSCALLS.TXT format.
Elliott Hughes [Tue, 24 Sep 2013 18:29:29 +0000 (11:29 -0700)]
am
3c49c6ec: am
759111ca: Merge "Simplify the SYSCALLS.TXT format."
* commit '
3c49c6ec49e0a4170ff7c9c74ac2e76b9b846ced':
Simplify the SYSCALLS.TXT format.
Elliott Hughes [Tue, 24 Sep 2013 18:27:42 +0000 (11:27 -0700)]
am
759111ca: Merge "Simplify the SYSCALLS.TXT format."
* commit '
759111cadf84f337f98177259d9e3f9d39c9eea9':
Simplify the SYSCALLS.TXT format.
Elliott Hughes [Tue, 24 Sep 2013 18:25:50 +0000 (18:25 +0000)]
Merge "Simplify the SYSCALLS.TXT format."
Elliott Hughes [Tue, 24 Sep 2013 17:26:29 +0000 (10:26 -0700)]
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
Elliott Hughes [Tue, 24 Sep 2013 14:37:48 +0000 (07:37 -0700)]
am
4808f052: am
c8d98679: Merge "Update taskstats.h from Linux 3.11.1"
* commit '
4808f05238d66ba474c6d33da066da799d4e6cf3':
Update taskstats.h from Linux 3.11.1
Elliott Hughes [Tue, 24 Sep 2013 14:36:12 +0000 (07:36 -0700)]
am
c8d98679: Merge "Update taskstats.h from Linux 3.11.1"
* commit '
c8d98679faa9b7f824e09d969cc1a469c721f4d8':
Update taskstats.h from Linux 3.11.1
Elliott Hughes [Tue, 24 Sep 2013 14:29:29 +0000 (14:29 +0000)]
Merge "Update taskstats.h from Linux 3.11.1"
Elliott Hughes [Tue, 24 Sep 2013 07:30:25 +0000 (00:30 -0700)]
Simplify the SYSCALLS.TXT format.
This will make addition of new architectures less unpleasant.
Change-Id: I77c866a63b686e8e70709d08fcf52e8a2d37310a
Elliott Hughes [Mon, 23 Sep 2013 23:42:33 +0000 (16:42 -0700)]
am
a663ebd4: am
f8222078: am
43e5badd: Merge "Fix %hhd formats in the printf family."
* commit '
a663ebd468b99981b07c1b0dca9aaa5da2cd8d50':
Fix %hhd formats in the printf family.
Elliott Hughes [Mon, 23 Sep 2013 23:39:13 +0000 (16:39 -0700)]
am
f8222078: am
43e5badd: Merge "Fix %hhd formats in the printf family."
* commit '
f82220785d20385fa02aa78b02f3fdb98e5aa553':
Fix %hhd formats in the printf family.
Elliott Hughes [Mon, 23 Sep 2013 23:36:19 +0000 (16:36 -0700)]
am
43e5badd: Merge "Fix %hhd formats in the printf family."
* commit '
43e5baddbcaf571c1a74149c53d1e70a5a2c9de3':
Fix %hhd formats in the printf family.
Elliott Hughes [Mon, 23 Sep 2013 23:33:59 +0000 (23:33 +0000)]
Merge "Fix %hhd formats in the printf family."
Elliott Hughes [Mon, 23 Sep 2013 23:02:39 +0000 (16:02 -0700)]
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
Christopher Ferris [Thu, 29 Aug 2013 18:37:33 +0000 (11:37 -0700)]
Move stack unwinding test into library.
Bug:
8291716
(cherry picked from commit
8240bed918722944c9985bc0cca89eb44c4f6c91)
Change-Id: I1da2d0757ed304c352229f9818c052925d4e976a
Christopher Ferris [Tue, 27 Aug 2013 21:32:15 +0000 (14:32 -0700)]
Create bionic unit test library for use with CTS.
Bug:
8291716
(cherry picked from commit
153d92765bb693541abf49a2a1d31335e2c90348)
Change-Id: Ia53b85b95621b7000034e4c6259d6586d0987dee
Christopher Ferris [Wed, 28 Aug 2013 00:21:37 +0000 (17:21 -0700)]
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
Christopher Ferris [Thu, 15 Aug 2013 19:54:40 +0000 (12:54 -0700)]
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
Elliott Hughes [Mon, 23 Sep 2013 18:24:10 +0000 (11:24 -0700)]
am
4988ec89: am
b9f3d31c: am
fc2ceae7: Merge "Remove two -D flags for unused macros."
* commit '
4988ec89dbfa0a0387acb54603407e99dd466e66':
Remove two -D flags for unused macros.
Elliott Hughes [Mon, 23 Sep 2013 18:22:05 +0000 (11:22 -0700)]
am
b9f3d31c: am
fc2ceae7: Merge "Remove two -D flags for unused macros."
* commit '
b9f3d31ce40bceec4ecf86e2aaf83f1d8857f346':
Remove two -D flags for unused macros.
Elliott Hughes [Mon, 23 Sep 2013 18:19:22 +0000 (11:19 -0700)]
am
fc2ceae7: Merge "Remove two -D flags for unused macros."
* commit '
fc2ceae778afdcb2deee4abb5e2fc9b9904fa761':
Remove two -D flags for unused macros.
Elliott Hughes [Mon, 23 Sep 2013 18:14:57 +0000 (18:14 +0000)]
Merge "Remove two -D flags for unused macros."
Elliott Hughes [Mon, 23 Sep 2013 18:12:09 +0000 (11:12 -0700)]
Remove two -D flags for unused macros.
Change-Id: Ia95b0f0e2003cadd875e84437afa1853c8fe2598
Sami Kyostila [Fri, 20 Sep 2013 17:25:29 +0000 (18:25 +0100)]
Update taskstats.h from Linux 3.11.1
Change-Id: I50853efe20fa2524f6288f78505a774a72071367
Christopher Ferris [Sat, 21 Sep 2013 03:46:24 +0000 (20:46 -0700)]
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.
Christopher Ferris [Sat, 21 Sep 2013 03:42:08 +0000 (20:42 -0700)]
am
63e4644e: am
c2de11d3: Merge "__memcpy_chk: Fix signed cmp of unsigned values."
* commit '
63e4644ebd2da86e10aa41761d11b6beea20b439':
__memcpy_chk: Fix signed cmp of unsigned values.
Christopher Ferris [Sat, 21 Sep 2013 03:39:27 +0000 (20:39 -0700)]
am
c2de11d3: Merge "__memcpy_chk: Fix signed cmp of unsigned values."
* commit '
c2de11d3a4ff1e4937406596aeb289c5715c4466':
__memcpy_chk: Fix signed cmp of unsigned values.
Christopher Ferris [Sat, 21 Sep 2013 03:36:30 +0000 (03:36 +0000)]
Merge "__memcpy_chk: Fix signed cmp of unsigned values."
Christopher Ferris [Tue, 10 Sep 2013 23:56:34 +0000 (16:56 -0700)]
__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
Christopher Ferris [Sat, 21 Sep 2013 03:07:56 +0000 (20:07 -0700)]
am
f67d11b2: am
8da175c8: (-s ours) am
ad999b60: Merge "Fix all debug directives."
* commit '
f67d11b2b4830903e4073da982dab92d3143c1ec':
Fix all debug directives.
Christopher Ferris [Sat, 21 Sep 2013 03:05:53 +0000 (20:05 -0700)]
am
8da175c8: (-s ours) am
ad999b60: Merge "Fix all debug directives."
* commit '
8da175c8c348522c869a0a6d6016b74165a22abd':
Fix all debug directives.
Christopher Ferris [Sat, 21 Sep 2013 02:44:36 +0000 (19:44 -0700)]
am
ad999b60: Merge "Fix all debug directives."
* commit '
ad999b6062909d4922fb360a6f3b7f412cc06111':
Fix all debug directives.
Christopher Ferris [Sat, 21 Sep 2013 02:38:46 +0000 (02:38 +0000)]
Merge "Fix all debug directives."
Christopher Ferris [Sat, 21 Sep 2013 02:41:46 +0000 (19:41 -0700)]
am
74f7414d: am
768c576d: (-s ours) am
7493568b: Merge "Update all debug directives."
* commit '
74f7414d303b50a5c61336434bdfbd262ce91879':
Update all debug directives.
Christopher Ferris [Sat, 21 Sep 2013 02:39:42 +0000 (19:39 -0700)]
am
768c576d: (-s ours) am
7493568b: Merge "Update all debug directives."
* commit '
768c576d478cef5cb7a7d01a5702e83cc6561f19':
Update all debug directives.
Christopher Ferris [Sat, 21 Sep 2013 02:01:32 +0000 (19:01 -0700)]
am
7493568b: Merge "Update all debug directives."
* commit '
7493568ba82752d405bbb16dd7c42b3b88c67f86':
Update all debug directives.
Christopher Ferris [Wed, 21 Aug 2013 16:41:12 +0000 (09:41 -0700)]
Fix all debug directives.
The backtrace when a fortify check failed was not correct. This change
adds all of the necessary directives to get a correct backtrace.
Fix the strcmp directives and change all labels to local labels.
Testing:
- Verify that the runtime can decode the stack for __memcpy_chk, __memset_chk,
__strcpy_chk, __strcat_chk fortify failures.
- Verify that gdb can decode the stack properly when hitting a fortify check.
- Verify that the runtime can decode the stack for a seg fault for all of the
_chk functions and for memcpy/memset.
- Verify that gdb can decode the stack for a seg fault for all of the _chk
functions and for memcpy/memset.
- Verify that the runtime can decode the stack for a seg fault for strcmp.
- Verify that gdb can decode the stack for a seg fault in strcmp.
Bug:
10342460
Bug:
10345269
Merge from internal master.
(cherry-picked from
05332f2ce7e542d32ff4d5cd9f60248ad71fbf0d)
Change-Id: Ibc919b117cfe72b9ae97e35bd48185477177c5ca
Christopher Ferris [Sat, 21 Sep 2013 01:58:56 +0000 (01:58 +0000)]
Merge "Update all debug directives."
Christopher Ferris [Tue, 20 Aug 2013 18:20:48 +0000 (11:20 -0700)]
Update all debug directives.
The libcorkscrew stack unwinder does not understand cfi directives,
so add .save directives so that it can function properly.
Also add the directives in to strcmp.S and fix a missing set of
directives in cortex-a9/memcpy_base.S.
Bug:
10345269
Merge from internal master.
(cherry-picked from
5f7ccea3ffab05aeceecb85c821003cf580630d3)
Change-Id: If48a216203216a643807f5d61906015984987189
Nick Kralevich [Fri, 20 Sep 2013 18:22:02 +0000 (11:22 -0700)]
am
df3ff452: am
5a58a1e0: am
bef76b54: Merge "Add linux/sock_diag.h"
* commit '
df3ff45216413cdf4ff8f591d64c480ada534fa2':
Add linux/sock_diag.h
Elliott Hughes [Fri, 20 Sep 2013 18:20:55 +0000 (11:20 -0700)]
am
e74f77f9: am
48a909c9: am
aad3c52e: Merge "Ensure we have the off64_t variant of every function that takes an off_t."
* commit '
e74f77f92d80f11616da699ac908fd5d1913e996':
Ensure we have the off64_t variant of every function that takes an off_t.
Elliott Hughes [Fri, 20 Sep 2013 16:58:54 +0000 (09:58 -0700)]
Elliott Hughes [Fri, 20 Sep 2013 16:58:03 +0000 (09:58 -0700)]
am
1b75f3e0: am
fd5f6f19: am
d5ddf40e: Merge "Fix host tests that need the shell."
* commit '
1b75f3e07a8d20f45aa8a78578f294ac499529d0':
Fix host tests that need the shell.
Elliott Hughes [Fri, 20 Sep 2013 16:58:02 +0000 (09:58 -0700)]
am
44fd0d92: am
94c325fb: am
269851bf: Merge "Declare __page_shift and __page_size with C linkage."
* commit '
44fd0d92d6e65d0d003103d402240d28d26ae639':
Declare __page_shift and __page_size with C linkage.
Elliott Hughes [Fri, 20 Sep 2013 16:58:00 +0000 (09:58 -0700)]
am
a3285dc9: am
8ff879a5: am
a259472c: Merge "Fix mismatch between declaration and forward declaration"
* commit '
a3285dc9143a8175ff82bf1074720d04bed81faa':
Fix mismatch between declaration and forward declaration
Elliott Hughes [Fri, 20 Sep 2013 16:57:48 +0000 (09:57 -0700)]
am
823a4e0a: am
26e71c19: am
045f311b: Merge "Use and to find the tzdata."
* commit '
823a4e0a7eab7859611189630d7748c254981ebf':
Use $ANDROID_DATA and $ANDROID_ROOT to find the tzdata.
Nick Kralevich [Fri, 20 Sep 2013 15:24:59 +0000 (08:24 -0700)]
am
5a58a1e0: am
bef76b54: Merge "Add linux/sock_diag.h"
* commit '
5a58a1e0abf51402170abeb6feaceb53915b8a6e':
Add linux/sock_diag.h
Nick Kralevich [Fri, 20 Sep 2013 15:22:28 +0000 (08:22 -0700)]
am
bef76b54: Merge "Add linux/sock_diag.h"
* commit '
bef76b54a6fe747617334e3aaea892a19370cd29':
Add linux/sock_diag.h
Nick Kralevich [Fri, 20 Sep 2013 15:20:03 +0000 (15:20 +0000)]
Merge "Add linux/sock_diag.h"
Elliott Hughes [Fri, 20 Sep 2013 00:43:01 +0000 (17:43 -0700)]
am
48a909c9: am
aad3c52e: Merge "Ensure we have the off64_t variant of every function that takes an off_t."
* commit '
48a909c9fd6dbe9be5655ad172d1083fa69c4107':
Ensure we have the off64_t variant of every function that takes an off_t.