Elliott Hughes
4126c12961
Fix belated review comments on syslog change.
...
Bug: 14292866
(cherry picked from commit afe6360627
)
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 5d2f86f363
)
Change-Id: Iddf22c8d9ff7a4d1205d37bb58c6235af681d795
2014-07-23 11:36:21 -07:00
Dmitriy Ivanov
337c0cefdc
Merge "Fix 'adb shell /system/bin/linker' crash"
2014-07-23 17:53:27 +00:00
Dmitriy Ivanov
efe13832dc
Fix 'adb shell /system/bin/linker' crash
...
Bug: https://code.google.com/p/android/issues/detail?id=63174
Change-Id: I072290ea11109c07f277ad3dec7f44fcb7bf6aa6
2014-07-28 16:29:52 -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 3758a244cf
)
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 ca70453e84
)
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 f541650828
)
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 2b67d7dee0
)
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 3ad8ecb64e
)
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
Dan Albert
ee7f1b5946
There is no _MIN for unsigned types.
...
Change-Id: I49c38e51197b750210bdbf28c9cf6db30452a206
2014-07-21 17:16:30 -07:00
Hans Boehm
50f2de914f
am ed68221a
: Define atomic_charN_t only if charN_t is supported.
...
* commit 'ed68221a8225a6696d2b0b1607ef0b2de1c1b3aa':
Define atomic_charN_t only if charN_t is supported.
2014-07-20 18:02:21 +00:00
Christopher Ferris
b290796ff9
am b0815aea
: Make sure not to construct illegal property names.
...
* commit 'b0815aeacb86e20cbbd4fa27dd90ad43b9c200fe':
Make sure not to construct illegal property names.
2014-07-20 17:59:47 +00:00
Elliott Hughes
ebb4745531
am fbd00819
: Merge "Clean up some misinformation around prctl." into lmp-dev
...
* commit 'fbd0081923336e3d2fa697445372a329134d9484':
Clean up some misinformation around prctl.
2014-07-20 17:59:30 +00:00
Christopher Ferris
2affffac74
am a6945179
: Merge "Add gen syscalls step to instructions." into lmp-dev
...
* commit 'a694517909546cf5c0d0fb54ab40234047238283':
Add gen syscalls step to instructions.
2014-07-20 17:59:30 +00:00