Colin Cross
abca870989
am 49fbec6d: HACK: remove %m support from printf.
...
* commit '49fbec6d9aee62462a4acf3ba47788ca1e35be37':
HACK: remove %m support from printf.
2014-07-24 19:23:45 +00:00
Elliott Hughes
c6f39339de
am 8dbe3f0f: Merge "[MIPS] Drop soft-fp targets"
...
* commit '8dbe3f0f51f0cd26c22df82bdef9a2f8caea7ef6':
[MIPS] Drop soft-fp targets
2014-07-24 18:29:55 +00:00
Elliott Hughes
0caa27b148
am 7d22a451: Merge "[MIPSR6] setjmp supports mips32r6 and FP64A/FPXX reg models"
...
* commit '7d22a4519610f830178bbff32d961a2784354397':
[MIPSR6] setjmp supports mips32r6 and FP64A/FPXX reg models
2014-07-24 04:03:03 +00:00
Nick Kralevich
3363e16ac9
am f9650757: Merge "debuggerd: if PR_GET_DUMPABLE=0, don\'t ask for dumping"
...
* commit 'f9650757493060d950cc28c5a58acdcdd41f02e9':
debuggerd: if PR_GET_DUMPABLE=0, don't ask for dumping
2014-07-23 23:00:01 +00:00
Colin Cross
49fbec6d9a
HACK: remove %m support from printf.
...
The change that added this support causes a cpu hard lock on one
device. This code clearly isn't at fault, but disabling it to
unblock until we can find a real fix.
Bug: 16484311
Change-Id: I33834dc49d959ae403b10d2c7cad12ae2950f772
2014-07-23 14:56:20 -07:00
Elliott Hughes
aa8672cb6d
am 4126c129: Fix belated review comments on syslog change.
...
* commit '4126c129613e27717c110626070c44ea7e3f29ce':
Fix belated review comments on syslog change.
2014-07-23 20:20:33 +00:00
Elliott Hughes
0200a28583
am f9bfc2ff: Merge "Fix belated review comments on syslog change."
...
* commit 'f9bfc2ff8eb5db99a106a8a384498165361291ce':
Fix belated review comments on syslog change.
2014-07-23 20:18:59 +00:00
Elliott Hughes
4126c12961
Fix belated review comments on syslog change.
...
Bug: 14292866
(cherry picked from commit afe6360627ef3f0e9bc8f45535fbfae3354f3ae0)
Change-Id: I8e3cc6b37b2539e51a27261ffb5d6e58266ce11d
2014-07-23 13:11:15 -07:00
Elliott Hughes
5e1183c216
am 467e49be: Merge "Fix generate-NOTICE to cope better with BSD __COPYRIGHT macros."
...
* commit '467e49be70231f55bd7ba908407b4413294d3bfc':
Fix generate-NOTICE to cope better with BSD __COPYRIGHT macros.
2014-07-23 19:02:16 +00:00
Nick Kralevich
f965075749
Merge "debuggerd: if PR_GET_DUMPABLE=0, don't ask for dumping"
2014-07-23 18:51:55 +00:00
Nick Kralevich
be0e43b776
debuggerd: if PR_GET_DUMPABLE=0, don't ask for dumping
...
PR_GET_DUMPABLE is used by an application to indicate whether or
not core dumps / PTRACE_ATTACH should work.
Security sensitive applications often set PR_SET_DUMPABLE to 0 to
disable core dumps, to avoid leaking sensitive memory to persistent
storage. Similarly, they also set PR_SET_DUMPABLE to zero to prevent
PTRACE_ATTACH from working, again to avoid leaking the contents
of sensitive memory.
Honor PR_GET_DUMPABLE when connecting to debuggerd. If an application
has said it doesn't want its memory dumped, then we shouldn't
ask debuggerd to dump memory on its behalf.
FORTIFY_SOURCE tests: Modify the fortify_source tests to set
PR_SET_DUMPABLE=0. This reduces the total runtime of
/data/nativetest/bionic-unit-tests/bionic-unit-tests32 from approx
53 seconds to 25 seconds. There's no need to connect to debuggerd
when running these tests.
Bug: 16513137
Change-Id: Idc7857b089f3545758f4d9b436b783d580fb653f
2014-07-23 15:48:49 -07:00
Elliott Hughes
7d22a45196
Merge "[MIPSR6] setjmp supports mips32r6 and FP64A/FPXX reg models"
2014-07-23 18:45:08 +00:00
Duane Sand
dd37251c47
[MIPSR6] setjmp supports mips32r6 and FP64A/FPXX reg models
...
Save and restore floating point registers via 64-bit
load/stores when possible. Use assembler's builtin macro
ops to generate pairs of 32-bit load/stores on Mips I cpus.
Some cpus or FR modes have only 16 even-numbered dp fp regs.
This is exposed by _MIPS_FPSET, defined by existing compilers.
Change-Id: I7f617a3ffea8da41c402ef3a68ab32c91d3d7622
2014-07-23 13:57:30 -07:00
Elliott Hughes
f9bfc2ff8e
Merge "Fix belated review comments on syslog change."
2014-07-23 18:45:08 +00:00
Elliott Hughes
e34ce3741f
am 2aa142ff: Fix generate-NOTICE to cope better with BSD __COPYRIGHT macros.
...
* commit '2aa142ffb20337e60f81642bed1c11d24a3756b1':
Fix generate-NOTICE to cope better with BSD __COPYRIGHT macros.
2014-07-23 18:42:30 +00:00
Elliott Hughes
afe6360627
Fix belated review comments on syslog change.
...
Bug: 14292866
Change-Id: I3cd92084cb55b5673f6ba62d51952941b79deb51
2014-07-23 11:38:38 -07:00
Elliott Hughes
2aa142ffb2
Fix generate-NOTICE to cope better with BSD __COPYRIGHT macros.
...
(cherry picked from commit 5d2f86f36341b76f84770d8966d7686a59555ae9)
Change-Id: Iddf22c8d9ff7a4d1205d37bb58c6235af681d795
2014-07-23 11:36:21 -07:00
Elliott Hughes
8dbe3f0f51
Merge "[MIPS] Drop soft-fp targets"
2014-07-23 17:53:27 +00:00
Duane Sand
ba23bd0a40
[MIPS] Drop soft-fp targets
...
Change-Id: I583bf8242d3034ebfc48548499cdb3316094c8e3
2014-07-24 18:04:21 +00:00
Elliott Hughes
66544dd136
am 4ac83fad: Fix a couple of bugs in generate-NOTICE and regenerate the NOTICE files.
...
* commit '4ac83fad3cdc486c00199eef9ea2a95d354839c4':
Fix a couple of bugs in generate-NOTICE and regenerate the NOTICE files.
2014-07-23 16:50:57 +00:00
Elliott Hughes
5cd06abdcf
am ea42a6ca: Merge "Fix a couple of bugs in generate-NOTICE and regenerate the NOTICE files."
...
* commit 'ea42a6caea9d5cb5a92939ba0696856306b1d56b':
Fix a couple of bugs in generate-NOTICE and regenerate the NOTICE files.
2014-07-23 16:42:30 +00:00
Elliott Hughes
4ac83fad3c
Fix a couple of bugs in generate-NOTICE and regenerate the NOTICE files.
...
(cherry picked from commit 3758a244cf758046b40f630a11aed41e68c9cfc2)
Change-Id: I6ffb83b4a7b7746b095205c664cf025a72ead179
2014-07-23 09:39:40 -07:00
Elliott Hughes
be0ee5a626
am 3ff6d95a: Remove the unused swab.S.
...
* commit '3ff6d95a9b26154c94b5cf130649cf99eb6a4010':
Remove the unused swab.S.
2014-07-23 03:51:55 +00:00
Elliott Hughes
3ff6d95a9b
Remove the unused swab.S.
...
(cherry picked from commit ca70453e84a88405d30f64d603f9a9b5f53f1243)
Change-Id: I4dc13de0bdeb7abb3bd47b0397546ad7d1f11d49
2014-07-22 20:43:55 -07:00
Elliott Hughes
ad87093f04
am e26ac7f7: Merge "Remove the unused swab.S."
...
* commit 'e26ac7f776c4011d17e7609efafa116ac4db25ff':
Remove the unused swab.S.
2014-07-23 03:33:41 +00:00
Duane Sand
f6ab6bfeb0
am 5d7775c6: [MIPS] Allow united mipsel and mips64el gcc toolchain
...
* commit '5d7775c6dfa8f9b2ae313c9493525d54a2d04b38':
[MIPS] Allow united mipsel and mips64el gcc toolchain
2014-07-23 02:48:41 +00:00
Elliott Hughes
b5031b5d6b
am 79b5a396: Merge "[MIPS] Allow united mipsel and mips64el gcc toolchain"
...
* commit '79b5a396178e798af4ba9b327b884ae014f15bb2':
[MIPS] Allow united mipsel and mips64el gcc toolchain
2014-07-23 02:44:48 +00:00
Duane Sand
5d7775c6df
[MIPS] Allow united mipsel and mips64el gcc toolchain
...
Explicitly tell 32-bit links that they are doing 32-bit links.
This is needed when using united 32-bit and 64-bit toolchains.
This is harmless when using older separate 32-only toolchains.
(cherry picked from commit f541650828f75b3dab22c9c0caab845be78b80fc)
Change-Id: I8df0ee7d36c6409458e18bea4e0e8b132edf77dc
2014-07-22 19:41:49 -07:00
Sreeram Ramachandran
1a1d0b7abf
am 2582f02a: Cleanup: Delete dead code.
...
* commit '2582f02a01cd56c56a4e6c9de4444a6ec937cc37':
Cleanup: Delete dead code.
2014-07-23 00:10:16 +00:00
Elliott Hughes
e26ac7f776
Merge "Remove the unused swab.S."
2014-07-22 21:56:40 +00:00
Elliott Hughes
ca70453e84
Remove the unused swab.S.
...
Change-Id: Id30eac5a21b649d6a039a0d7ca0496177fbfb571
2014-07-22 20:21:31 -07:00
Sreeram Ramachandran
2582f02a01
Cleanup: Delete dead code.
...
Bug: 15413389
Change-Id: I315468832ef18ffc84174e54774ab63b86d284dc
2014-07-22 11:24:17 -07:00
Elliott Hughes
467e49be70
Merge "Fix generate-NOTICE to cope better with BSD __COPYRIGHT macros."
2014-07-22 16:35:00 +00:00
Elliott Hughes
5d2f86f363
Fix generate-NOTICE to cope better with BSD __COPYRIGHT macros.
...
Change-Id: I99f9d2e0a28342663cec6aed483e1a23c12e5e87
2014-07-23 11:10:48 -07:00
Elliott Hughes
79b5a39617
Merge "[MIPS] Allow united mipsel and mips64el gcc toolchain"
2014-07-22 16:35:00 +00:00
Duane Sand
f541650828
[MIPS] Allow united mipsel and mips64el gcc toolchain
...
Explicitly tell 32-bit links that they are doing 32-bit links.
This is needed when using united 32-bit and 64-bit toolchains.
This is harmless when using older separate 32-only toolchains.
Change-Id: I70cbd3f5867e59b1f6f829793444242fb0894aa6
2014-07-22 14:27:48 -07:00
Elliott Hughes
ea42a6caea
Merge "Fix a couple of bugs in generate-NOTICE and regenerate the NOTICE files."
2014-07-22 16:25:43 +00:00
Elliott Hughes
3758a244cf
Fix a couple of bugs in generate-NOTICE and regenerate the NOTICE files.
...
Change-Id: Id6fcb74292e661504d0758bfce24abdc18cb8d32
2014-07-22 21:29:00 -07:00
Elliott Hughes
f6771114dd
am 6209c81d: Use upstream OpenBSD\'s arc4random.
...
* commit '6209c81d40e2b4e129a28bda3259150d79d507e8':
Use upstream OpenBSD's arc4random.
2014-07-22 02:30:52 +00:00
Elliott Hughes
e41d7b4e83
am b7661362: Rewrite syslog(3) to use Android logging.
...
* commit 'b76613627d045acd3bdb7294f424f14c21584872':
Rewrite syslog(3) to use Android logging.
2014-07-22 02:30:49 +00:00
Elliott Hughes
6209c81d40
Use upstream OpenBSD's arc4random.
...
The getentropy_linux.c is lightly modified to build on Android, but we're now
completely in sync with upstream OpenBSD's arc4random implementation.
(cherry picked from commit 2b67d7dee09852789d9ac7d8972ed6cdb2c18430)
Change-Id: Icc939b5fa2fcac3e15ff93735d2d34f67e9bb149
2014-07-21 19:17:15 -07:00
Elliott Hughes
55383d57d4
am 4d421901: Merge "Use upstream OpenBSD\'s arc4random."
...
* commit '4d421901e587fd1563da94baf59b015017c01b91':
Use upstream OpenBSD's arc4random.
2014-07-22 02:07:58 +00:00
Elliott Hughes
b76613627d
Rewrite syslog(3) to use Android logging.
...
Since we don't have syslogd on Android and you can't run one on a non-rooted
device, it's more useful if syslog output just goes to the regular Android
logging system.
Bug: 14292866
(cherry picked from commit 3ad8ecb64e9dd5614169232b84a93eb3b8aa32d7)
Change-Id: I3038855ca4f22532bf6d2c45d3f8028b866975f9
2014-07-21 18:55:04 -07:00
Elliott Hughes
85287b29ea
am 925d388e: Merge "Rewrite syslog(3) to use Android logging."
...
* commit '925d388e24945afb17f66d5c132f993e6a0d4fee':
Rewrite syslog(3) to use Android logging.
2014-07-22 01:54:47 +00:00
Dan Albert
607458ffe1
am b828eaeb: Merge "There is no _MIN for unsigned types."
...
* commit 'b828eaeb4512baba6d43a56da682bd7329079822':
There is no _MIN for unsigned types.
2014-07-22 00:43:15 +00:00
Dan Albert
e226b64061
am 1fb90a8a: Merge "Fix mbsrtowcs(3)\'s handling of len parameter."
...
* commit '1fb90a8aa0086f7e4f7960a5b916b8605a9a3c96':
Fix mbsrtowcs(3)'s handling of len parameter.
2014-07-21 18:56:06 +00:00
Dan Albert
75fcd01a6e
am e9731387: Merge "__libc_fatal should print a newline to stderr."
...
* commit 'e9731387f46938dd73fcda0193460b33655400c4':
__libc_fatal should print a newline to stderr.
2014-07-21 18:23:56 +00:00
Elliott Hughes
4d421901e5
Merge "Use upstream OpenBSD's arc4random."
2014-07-21 15:45:37 +00:00
Elliott Hughes
2b67d7dee0
Use upstream OpenBSD's arc4random.
...
The getentropy_linux.c is lightly modified to build on Android, but we're now
completely in sync with upstream OpenBSD's arc4random implementation.
Change-Id: If32229fc28aba908035fb38703190d41ddcabc95
2014-07-21 14:38:16 -07:00
Dan Albert
b828eaeb45
Merge "There is no _MIN for unsigned types."
2014-07-21 15:45:37 +00:00