Christopher Ferris
a28c0810d3
am c03e40fb: am a3ee46f1: Merge "Dump memory going from unreadable to readable."
...
* commit 'c03e40fb8170a40377823a5a5dbe087df0887acc':
Dump memory going from unreadable to readable.
2015-07-10 00:01:11 +00:00
Christopher Ferris
c03e40fb81
am a3ee46f1: Merge "Dump memory going from unreadable to readable."
...
* commit 'a3ee46f1056fd52b05b627319cf82da75c6c7e59':
Dump memory going from unreadable to readable.
2015-07-09 23:48:37 +00:00
Christopher Ferris
a3ee46f105
Merge "Dump memory going from unreadable to readable."
2015-07-09 23:38:26 +00:00
Pirama Arumuga Nainar
2aee3fd843
am 85074538: am 8cd62808: Merge "Use delete[] to de-allocate pointers from new[]"
...
* commit '850745382a294b2d9ab8d5288980a3858821cb0a':
Use delete[] to de-allocate pointers from new[]
2015-07-09 23:04:31 +00:00
Pirama Arumuga Nainar
850745382a
am 8cd62808: Merge "Use delete[] to de-allocate pointers from new[]"
...
* commit '8cd62808d40de4ebd3ce95ea151fcc13260103fd':
Use delete[] to de-allocate pointers from new[]
2015-07-09 22:50:56 +00:00
Pirama Arumuga Nainar
8cd62808d4
Merge "Use delete[] to de-allocate pointers from new[]"
2015-07-09 22:40:32 +00:00
Christopher Ferris
456abbabf2
Dump memory going from unreadable to readable.
...
If the first read when dumping memory returns no data, skip ahead to
the next page boundary and try and read from there. This fixes a case
where the address at which to start dumping memory is unreadable, but
crosses back into readable memory.
Bug: 22234753
Change-Id: Ie28d5c027013577ca06f5396aba498366a3b6749
2015-07-09 15:35:47 -07:00
Dan Albert
fcbc32de34
am 00599eca: am e84205bf: Merge "Revert "Turn on -Wformat-nonliteral.""
...
* commit '00599eca7446f28762da3854566cff0b2ba46799':
Revert "Turn on -Wformat-nonliteral."
2015-07-09 21:05:16 +00:00
Dan Albert
00599eca74
am e84205bf: Merge "Revert "Turn on -Wformat-nonliteral.""
...
* commit 'e84205bf6ee391c9e2fec14b6bffc1f9f096bfdf':
Revert "Turn on -Wformat-nonliteral."
2015-07-09 20:49:15 +00:00
Dan Albert
e84205bf6e
Merge "Revert "Turn on -Wformat-nonliteral.""
2015-07-09 20:35:36 +00:00
Dan Albert
286bb6ddbd
Revert "Turn on -Wformat-nonliteral."
...
One of my build aliases doesn't play nice with USE_MINGW=1, so my build lied to me. Will revert until I fix it up.
This reverts commit 459df8f3a1 .
Change-Id: I7905c5ae5ee85fb2d228ce63d81c79f140998c18
2015-07-09 20:35:09 +00:00
Dan Albert
f9b81ccd75
am fcdc3141: am a35affb5: Merge "Turn on -Wformat-nonliteral."
...
* commit 'fcdc3141d3209afb8a8a62764fa66911a7104e74':
Turn on -Wformat-nonliteral.
2015-07-09 20:21:31 +00:00
Dan Albert
fcdc3141d3
am a35affb5: Merge "Turn on -Wformat-nonliteral."
...
* commit 'a35affb5fc9e7cd19a2669a82cda19789314a783':
Turn on -Wformat-nonliteral.
2015-07-09 20:00:55 +00:00
Dan Albert
a35affb5fc
Merge "Turn on -Wformat-nonliteral."
2015-07-09 19:48:55 +00:00
Elliott Hughes
d15baf0180
am 9d748c8b: am a6241a02: Merge "Replace HAVE_WIN32_IPC with _WIN32."
...
* commit '9d748c8bf4b3b4810c6ad9dcc75322c8059c3876':
Replace HAVE_WIN32_IPC with _WIN32.
2015-07-09 17:51:06 +00:00
Pirama Arumuga Nainar
837eff22c8
Use delete[] to de-allocate pointers from new[]
...
Upstream clang has a new diagnostic, '-Wmismatched-new-delete' to
generate a warning (that becomes an error with -Werror) when delete is
used to deallocate pointers created with 'new[]'. This patch fixes
'delete's that trigger this warning/error.
Change-Id: I7551e856b4b13bfae4cb78b5664d8652322683cf
2015-07-09 10:50:04 -07:00
Dan Albert
459df8f3a1
Turn on -Wformat-nonliteral.
...
Apparently there are two classes of this warning in clang.
-Wformat-security is only emitted for cases of
`func(nonliteral_fmt_string)` (no args), and -Wformat-nonliteral is
emitted for cases *with* arguments. For whatever reason, the latter
isn't included in -Wextra and must be manually enabled.
To make this more easily portable to Windows, move the existing
gnu_printf/__printf__ decision into base/macros.h as ATTRIBUTE_FORMAT.
Change-Id: I3b0990e1d1f0a2e9c13b32f5cd60478946cb5fc6
2015-07-09 10:47:24 -07:00
Elliott Hughes
9d748c8bf4
am a6241a02: Merge "Replace HAVE_WIN32_IPC with _WIN32."
...
* commit 'a6241a0298de5e773ef113626ca4686f9c038868':
Replace HAVE_WIN32_IPC with _WIN32.
2015-07-09 17:29:46 +00:00
Elliott Hughes
a6241a0298
Merge "Replace HAVE_WIN32_IPC with _WIN32."
2015-07-09 17:16:13 +00:00
Elliott Hughes
095307ec49
Replace HAVE_WIN32_IPC with _WIN32.
...
Change-Id: Ie9dc064fb23a4e4bd4856c9668784dec0be9d2d6
2015-07-09 10:03:18 -07:00
Christopher Ferris
70c1fb87e8
am 0473a1ea: am b6deb331: Merge "New property that determines when to wait for gdb."
...
* commit '0473a1ea51ff42695a678e90f27b564d4aaf7f57':
New property that determines when to wait for gdb.
2015-07-08 23:31:34 +00:00
Christopher Ferris
0473a1ea51
am b6deb331: Merge "New property that determines when to wait for gdb."
...
* commit 'b6deb33120a2b84b64fbf63bf2ec17bc8d13d2e3':
New property that determines when to wait for gdb.
2015-07-08 23:17:10 +00:00
Christopher Ferris
b6deb33120
Merge "New property that determines when to wait for gdb."
2015-07-08 23:07:21 +00:00
Christopher Ferris
d79f2bebcc
New property that determines when to wait for gdb.
...
Use debug.debuggerd.wait_for_gdb being set to non-zero to
determine if debuggerd should stop and wait for someone to
attach gdb to the crashing process.
Bug: 22233908
Change-Id: Id55a1572b479a70d395b7270392ce6fb70dbfdca
2015-07-08 16:01:49 -07:00
Daniel Rosenberg
a5b671d0e3
am 32933ff5: am dc4fa7f6: Merge "Fix "adb remount" for when the root directory is in system.img"
...
* commit '32933ff511a4b63f60543c97e2fc3b47ea465d1a':
Fix "adb remount" for when the root directory is in system.img
2015-07-08 20:37:27 +00:00
Daniel Rosenberg
32933ff511
am dc4fa7f6: Merge "Fix "adb remount" for when the root directory is in system.img"
...
* commit 'dc4fa7f68a5cf2a2d94b9e2c401d7af0bcf2f5ca':
Fix "adb remount" for when the root directory is in system.img
2015-07-08 20:27:31 +00:00
Daniel Rosenberg
dc4fa7f68a
Merge "Fix "adb remount" for when the root directory is in system.img"
2015-07-08 20:15:15 +00:00
Christopher Ferris
36fa42262d
am 708e5438: am 41a0654e: Merge "Replace all _LOG error calls with ALOGE."
...
* commit '708e543827464c615866615ab911bf8d1128dc4b':
Replace all _LOG error calls with ALOGE.
2015-07-08 19:41:11 +00:00
Daniel Rosenberg
d6eba89f83
Fix "adb remount" for when the root directory is in system.img
...
When the root directory has been built into system.img, it is
mounted at /.
Change-Id: If01d12efeaa53b4ae59e801a6e9b802a9ae5882d
2015-07-08 19:36:19 +00:00
Christopher Ferris
708e543827
am 41a0654e: Merge "Replace all _LOG error calls with ALOGE."
...
* commit '41a0654e2a76a8c639b2265513345cc4c268560d':
Replace all _LOG error calls with ALOGE.
2015-07-08 19:27:12 +00:00
Christopher Ferris
41a0654e2a
Merge "Replace all _LOG error calls with ALOGE."
2015-07-08 19:16:03 +00:00
Elliott Hughes
fd41558c66
am dba00aab: am c9aeae27: Merge "Fix debuggerd\'s gdbclient instructions."
...
* commit 'dba00aab9299971babe101a03af265fbf7257f49':
Fix debuggerd's gdbclient instructions.
2015-07-07 22:19:24 +00:00
Elliott Hughes
dba00aab92
am c9aeae27: Merge "Fix debuggerd\'s gdbclient instructions."
...
* commit 'c9aeae27403db86e1ec30c953f1d0fd6ae63b184':
Fix debuggerd's gdbclient instructions.
2015-07-07 22:02:11 +00:00
Elliott Hughes
c9aeae2740
Merge "Fix debuggerd's gdbclient instructions."
2015-07-07 21:42:24 +00:00
Elliott Hughes
39a28c2526
Fix debuggerd's gdbclient instructions.
...
We improved gdbclient to make the process simpler, but didn't update
debuggerd to match.
Bug: http://b/22233857
Change-Id: If4137943f567a9e566a3ac7f485c9b1eab2c68e9
2015-07-07 14:34:39 -07:00
Paul Lawrence
c011b031c9
am 81046166: Merge "Revert "Change init sequence to support file level encryption"" into mnc-dev
...
* commit '8104616696ac5e806b16a393ea02c4f5d8efc328':
Revert "Change init sequence to support file level encryption"
2015-07-07 17:39:03 +00:00
Paul Lawrence
8104616696
Merge "Revert "Change init sequence to support file level encryption"" into mnc-dev
2015-07-07 17:29:00 +00:00
Paul Lawrence
437bc5dcec
Revert "Change init sequence to support file level encryption"
...
This reverts commit d815178b75 .
Change-Id: I7e3f55d3092fcd04ea9f62f1971c9d42570f096c
2015-07-07 17:05:58 +00:00
Andres Morales
775b58d08f
am 833f142d: Merge "[init] start gatekeeperd after device decryption" into mnc-dev
...
* commit '833f142d201a4b682885ff9d95c6b3ab32fd0618':
[init] start gatekeeperd after device decryption
2015-07-06 23:10:31 +00:00
Andres Morales
833f142d20
Merge "[init] start gatekeeperd after device decryption" into mnc-dev
2015-07-06 23:00:09 +00:00
Mark Salyzyn
f92c19ee33
am 6b6c1bd9: Gracefully handle ENODEV in sdcard daemon (part deux)
...
* commit '6b6c1bd996be7b7b640ef9b074435620f73eecac':
Gracefully handle ENODEV in sdcard daemon (part deux)
2015-07-06 21:19:25 +00:00
Mark Salyzyn
6b6c1bd996
Gracefully handle ENODEV in sdcard daemon (part deux)
...
reorder to handle errno correctly and remove log stutter
Bug: 22197797
Bug: 22241640
Change-Id: I81e6b2ff15b6ea6e5e780bd3599bf1019ff36f26
2015-07-06 13:46:49 -07:00
Paul Lawrence
d3669ff27f
am a65e402b: Merge "Change init sequence to support file level encryption" into mnc-dev
...
* commit 'a65e402b613e927697d35e7936c6d80908d77e88':
Change init sequence to support file level encryption
2015-07-06 19:52:40 +00:00
Paul Lawrence
a65e402b61
Merge "Change init sequence to support file level encryption" into mnc-dev
2015-07-06 19:33:30 +00:00
Andres Morales
4dd2982dd3
[init] start gatekeeperd after device decryption
...
gatekeeperd depends on having /data to determine whether
to call setup routines for qcom HALs.
Bug: 22298552
Change-Id: I6c552016dc863bbb04bd5a949a2317a720c8263f
2015-07-06 12:00:22 -07:00
Elliott Hughes
0c3cb52dfc
am f4bb11d2: am 913ef1ca: Merge "Fixed a documentation error in protocol.txt"
...
* commit 'f4bb11d29888bae67d09a8004c3925f7dea9b1fc':
Fixed a documentation error in protocol.txt
2015-07-06 18:21:32 +00:00
Jeff Sharkey
d67d339dab
am 25aabb9e: Permission to view shared storage for all users.
...
* commit '25aabb9edeb9203e52758d307b8a94ec8c64d338':
Permission to view shared storage for all users.
2015-07-06 18:12:37 +00:00
Elliott Hughes
f4bb11d298
am 913ef1ca: Merge "Fixed a documentation error in protocol.txt"
...
* commit '913ef1ca5adb7f04b8e7282565ae98c656ebf90b':
Fixed a documentation error in protocol.txt
2015-07-06 18:00:42 +00:00
Jeff Sharkey
25aabb9ede
Permission to view shared storage for all users.
...
Typical apps are restricted so they can only view shared storage
belonging to the user they're running as. However, a handful of
system components need access to shared storage across all users,
such as DefaultContainerService and SystemUI.
Since WRITE_MEDIA_STORAGE already offers this functionality by
bypassing any FUSE emulation, reuse it to grant the "sdcard_rw" GID
which is no longer handed out to third-party apps. Then we change
the FUSE daemon to allow the "sdcard_rw" GID to see shared storage
of all users.
Bug: 19995822
Change-Id: Id2fe846aefbf13fc050e9b00ddef120021e817f4
2015-07-06 10:54:53 -07:00
Elliott Hughes
913ef1ca5a
Merge "Fixed a documentation error in protocol.txt"
2015-07-06 17:51:12 +00:00