Luca Stefani
463af85726
Merge "logcat: Add missing newline to read failure" am: d1c73b57b5
...
am: 1c9f387b9a
Change-Id: I57b630e56b8d2ce9c53cb2b7a3e8d88965d19bfa
2017-07-17 18:43:01 +00:00
Luca Stefani
1c9f387b9a
Merge "logcat: Add missing newline to read failure"
...
am: d1c73b57b5
Change-Id: I899e173ce3018435507a6fa1f6e9ca4782eec342
2017-07-17 18:40:33 +00:00
Treehugger Robot
d1c73b57b5
Merge "logcat: Add missing newline to read failure"
2017-07-17 18:27:45 +00:00
Tom Cherry
c2e181cf1d
ueventd: add tests for setegid()/setfscreatecon() and threads
...
setegid() and setfscreatecon() on Android both operate on a per-thread
basis, not a per-process basis.
Ueventd may take advantage of this in the future, so this CL
introduces tests that ensure that this functionality remains
consistent.
Bug: 63441941
Test: newly added unit tests
Change-Id: I8b1c62cc322b6fe44b748550a4cea8658d9efd88
2017-07-17 11:08:41 -07:00
Mark Salyzyn
a2c055aba8
rootdir: record last build signature and kernel version am: 3ec9aa4a91
...
am: 6ce2044d26
Change-Id: I9aff38619a3f8b8476f8e9178adf22b0899035dd
2017-07-16 19:19:01 +00:00
Mark Salyzyn
6ce2044d26
rootdir: record last build signature and kernel version
...
am: 3ec9aa4a91
Change-Id: I91123a4d170193a5a533d62df86f1dd75442a5ab
2017-07-16 19:14:01 +00:00
Christopher Ferris
0fd030f319
Merge "Make the library usable as a library." am: ca94f65ea0
am: b38e142021
am: 6e56344834
...
am: 9b736cbbee
Change-Id: Ie0cf285dc87c4e300d414b0a4101dce6e1cc4886
2017-07-15 17:08:36 +00:00
Christopher Ferris
9b736cbbee
Merge "Make the library usable as a library." am: ca94f65ea0
am: b38e142021
...
am: 6e56344834
Change-Id: I512956e15a812f42714370e085b4c4b1efdf806c
2017-07-15 17:04:06 +00:00
Christopher Ferris
6e56344834
Merge "Make the library usable as a library." am: ca94f65ea0
...
am: b38e142021
Change-Id: Iade7d011b49e4fb2c323ef17b8c9e89525befa22
2017-07-15 16:59:04 +00:00
Christopher Ferris
b38e142021
Merge "Make the library usable as a library."
...
am: ca94f65ea0
Change-Id: Ic1986a1399a61b9ba3455d7ff4d2365cded86194
2017-07-15 16:54:36 +00:00
Christopher Ferris
ca94f65ea0
Merge "Make the library usable as a library."
2017-07-15 16:49:27 +00:00
Tom Cherry
a222129aff
Merge changes from topic 'ext4_encryption_flag' am: 5be05733c2
am: 5a6226929e
am: d165de95da
...
am: e1442a5df0
Change-Id: I470057eb4ccc0536eed869114cb999daf36469dc
2017-07-14 23:22:26 +00:00
Tom Cherry
e1442a5df0
Merge changes from topic 'ext4_encryption_flag' am: 5be05733c2
am: 5a6226929e
...
am: d165de95da
Change-Id: I11ebc6c79bcd5cf6b8fd619b1a71582b7c788d41
2017-07-14 23:18:02 +00:00
Tom Cherry
d165de95da
Merge changes from topic 'ext4_encryption_flag' am: 5be05733c2
...
am: 5a6226929e
Change-Id: I648c45ea99d2b8695c337bbda7b0a6e45598e67e
2017-07-14 23:14:06 +00:00
Tom Cherry
5a6226929e
Merge changes from topic 'ext4_encryption_flag'
...
am: 5be05733c2
Change-Id: I242f679bb96f9ae71b624db4cbcb54dda5be5ee4
2017-07-14 23:11:43 +00:00
Tom Cherry
5be05733c2
Merge changes from topic 'ext4_encryption_flag'
...
* changes:
fs_mgr: set ext4 encryption flag with tune2fs when needed
fs_mgr: refactor pre-mount logic into prepare_fs_for_mount()
2017-07-14 23:06:30 +00:00
Mark Salyzyn
3ec9aa4a91
rootdir: record last build signature and kernel version
...
(cherry pick from commit 93394034a2
)
Rotate /default.prop and /proc/version into /data/misc/recovery/
as an aid in determining the vintage of the LAST_LOGCAT and
LAST_DMESG in the bugreport collection.
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Test: manually confirm content rotation through reboots
Bug: 62793047
Change-Id: Ibbe546c76041f20e308e58e5548939afac75db97
2017-07-14 14:49:50 -07:00
Mark Salyzyn
d16eebd96d
Merge "rootdir: record last build signature and kernel version" am: 91a17a41f6
am: 97e90c6bb8
am: a62497c189
...
am: 77bf7449b2
Change-Id: Ic2d43115a4423e3870870406fdf992f7449565bd
2017-07-14 21:33:42 +00:00
Mark Salyzyn
77bf7449b2
Merge "rootdir: record last build signature and kernel version" am: 91a17a41f6
am: 97e90c6bb8
...
am: a62497c189
Change-Id: Ieaddd4f3b02c7b67fd2b98e9874b037af77a0702
2017-07-14 21:27:50 +00:00
Mark Salyzyn
a62497c189
Merge "rootdir: record last build signature and kernel version" am: 91a17a41f6
...
am: 97e90c6bb8
Change-Id: I82fe22a93914d53b04a6f75e26d0f718235aaf2a
2017-07-14 21:24:20 +00:00
Mark Salyzyn
97e90c6bb8
Merge "rootdir: record last build signature and kernel version"
...
am: 91a17a41f6
Change-Id: I86afacf1540ad02f5e70c08f39a5c76f98d47c4e
2017-07-14 21:20:22 +00:00
Treehugger Robot
91a17a41f6
Merge "rootdir: record last build signature and kernel version"
2017-07-14 21:15:36 +00:00
Tom Cherry
b648daaa40
Remove ALOGD_IF_SLOW
...
ALOGD_IF_SLOW isn't intuitively implemented as it cannot handle
temporaries used as its parameters. Since there are so few users of
it already and since it's just sugar on top of 2 otherwise trivial
lines, we opt to remove it entirely.
Bug: 62820330
Test: Build
Change-Id: Ie91b40cdaf650154203ccf0ca70e029cc097b350
2017-07-14 19:51:57 +00:00
Christopher Ferris
d226a51409
Make the library usable as a library.
...
- Add namespace unwindstack everywhere so that it's easier for other
code to use the library.
- Move some of the header files into include/unwindstack so that they
can be exposed.
- Modify the headers so that only a limited number need to be exposed.
- Update the tools to use the new headers.
- Add a GetLoadBias() call on the Elf object. This prevents the need
to get the interface object out of the Elf object.
- Move the GetRelPc() call out of the Reg class, to the Elf class. It's
not always the case that a Reg object will be around when you want to
get a relative pc. The tests for this moved to ElfTest.cpp.
Bug: 23762183
Test: Unit tests pass.
Change-Id: Iac609dac1dd90ed83d1a1e24ff2579c96c023bc3
2017-07-14 12:20:23 -07:00
Mark Salyzyn
93394034a2
rootdir: record last build signature and kernel version
...
Rotate /default.prop and /proc/version into /data/misc/recovery/
as an aid in determining the vintage of the LAST_LOGCAT and
LAST_DMESG in the bugreport collection.
Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Test: manually confirm content rotation through reboots
Bug: 62793047
Change-Id: Ibbe546c76041f20e308e58e5548939afac75db97
2017-07-14 11:39:14 -07:00
Daichi Hirono
926acb637f
Remove ScopedLogSeverity for debugging
...
The ScopedLogSeverity was added to observe APCT failures, which turned
out to be a compiler optimization error.
Bug: 62429763
Test: None
Change-Id: Ibb45d018d8eaf4b29cb417da80ae5f0b000dda8e
2017-07-14 16:44:16 +09:00
Bowgo Tsai
dc43b54d33
Merge "fs_mgr: trim the terminating '\0' when reading from device tree" am: b76158d56a
am: 3205cd6cc4
am: 776c67b4d5
...
am: ec721bdda2
Change-Id: I229b411a591b04de4bb557b1bc5b604d9a2e63d0
2017-07-14 05:32:33 +00:00
Bowgo Tsai
ec721bdda2
Merge "fs_mgr: trim the terminating '\0' when reading from device tree" am: b76158d56a
am: 3205cd6cc4
...
am: 776c67b4d5
Change-Id: I5cccad6c1d5df0dd0b5505eaf18353c96ba5ea72
2017-07-14 05:26:30 +00:00
Bowgo Tsai
776c67b4d5
Merge "fs_mgr: trim the terminating '\0' when reading from device tree" am: b76158d56a
...
am: 3205cd6cc4
Change-Id: I81cb7e1f3bf6043bfc2f8383ba1bc6929d9785c8
2017-07-14 05:21:02 +00:00
Bowgo Tsai
3205cd6cc4
Merge "fs_mgr: trim the terminating '\0' when reading from device tree"
...
am: b76158d56a
Change-Id: I8498667cfdd266827a936a9e9a0bac50dc9699f4
2017-07-14 05:18:04 +00:00
Treehugger Robot
b76158d56a
Merge "fs_mgr: trim the terminating '\0' when reading from device tree"
2017-07-14 05:11:00 +00:00
Josh Gao
00c80f123e
Merge "crasher: add a case that leaks until OOM-kill." am: f610d6db82
am: 0cb3d254a2
am: 914e341741
...
am: bf304469ba
Change-Id: Id503a6ccb75048f65e61f9f936f5eab491782756
2017-07-14 00:15:29 +00:00
Josh Gao
bf304469ba
Merge "crasher: add a case that leaks until OOM-kill." am: f610d6db82
am: 0cb3d254a2
...
am: 914e341741
Change-Id: Ibf118d9b85a5a8cb4fd195ebff5187b4a28a8583
2017-07-14 00:07:04 +00:00
Josh Gao
914e341741
Merge "crasher: add a case that leaks until OOM-kill." am: f610d6db82
...
am: 0cb3d254a2
Change-Id: Icd55ccdf17c0449315f943a7109c14141a235f65
2017-07-14 00:00:04 +00:00
Josh Gao
0cb3d254a2
Merge "crasher: add a case that leaks until OOM-kill."
...
am: f610d6db82
Change-Id: I475d8ca2e2959b66e19f71545e14f75f1ca8c202
2017-07-13 23:56:08 +00:00
Treehugger Robot
f610d6db82
Merge "crasher: add a case that leaks until OOM-kill."
2017-07-13 23:46:59 +00:00
Christopher Ferris
74a35c1382
Merge "Move tools to separate directory." am: d312abe7c0
am: 3588f6a5fb
am: 224087844b
...
am: fef6903926
Change-Id: Ic26748e94dcff9c386c628a6acc94ababd011fc6
2017-07-13 22:55:33 +00:00
Christopher Ferris
fef6903926
Merge "Move tools to separate directory." am: d312abe7c0
am: 3588f6a5fb
...
am: 224087844b
Change-Id: I279271308104e021865847e8857c49291a1c4dc3
2017-07-13 22:52:34 +00:00
Christopher Ferris
224087844b
Merge "Move tools to separate directory." am: d312abe7c0
...
am: 3588f6a5fb
Change-Id: Ic9ad5d71681e5dc30af94faa4cc969095fe6e8ae
2017-07-13 22:48:28 +00:00
Christopher Ferris
3588f6a5fb
Merge "Move tools to separate directory."
...
am: d312abe7c0
Change-Id: I824bf8bb7598383c9ffa4da8b9ffc1c7ded04268
2017-07-13 22:45:29 +00:00
Christopher Ferris
d312abe7c0
Merge "Move tools to separate directory."
2017-07-13 22:41:55 +00:00
Josh Gao
399b4ee21e
crasher: add a case that leaks until OOM-kill.
...
Bug: http://b/63143027
Test: adb shell crasher leak
Change-Id: I6e4105972ef3d86430d0f332938f5fd33ebae100
2017-07-13 14:00:26 -07:00
Colin Cross
4c76db9580
Merge "libmemunreachable: track kernel binder references" am: 454285dfcc
am: 028aca2d06
am: d5a42720a5
...
am: fd8fb19d5a
Change-Id: I5a712bf34e1ef5cf0b78b836616812a65c772e0b
2017-07-13 20:35:51 +00:00
Christopher Ferris
b5d7a87512
Move tools to separate directory.
...
Bug: 23762183
Test: Ran unit tests, ran new tools.
Change-Id: Icc7cbb4102a68042f4683d6dd622f21bc5e74deb
2017-07-13 13:20:10 -07:00
Colin Cross
fd8fb19d5a
Merge "libmemunreachable: track kernel binder references" am: 454285dfcc
am: 028aca2d06
...
am: d5a42720a5
Change-Id: Ib5d71c98a3f34725d44df98c44d2546012994b90
2017-07-13 20:15:50 +00:00
Colin Cross
d5a42720a5
Merge "libmemunreachable: track kernel binder references" am: 454285dfcc
...
am: 028aca2d06
Change-Id: Ic4ba34dbe304a462928ff132d4897a26cef14c57
2017-07-13 20:04:10 +00:00
Colin Cross
028aca2d06
Merge "libmemunreachable: track kernel binder references"
...
am: 454285dfcc
Change-Id: I2c30d94b6e628a637f59c353d862dc16cdf528e0
2017-07-13 19:55:22 +00:00
Colin Cross
454285dfcc
Merge "libmemunreachable: track kernel binder references"
2017-07-13 19:41:26 +00:00
Steven Moreland
e7ccb06021
Merge "Add vendor_available to liblog_headers." am: f42d02830d
-s ours am: f2a35db75c
am: 72180d4361
...
am: 102d7a6ea5
-s ours
Change-Id: I9a1f6daf0a973bd24b717767b7292c5136b05da4
2017-07-13 17:47:38 +00:00
Steven Moreland
102d7a6ea5
Merge "Add vendor_available to liblog_headers." am: f42d02830d
-s ours am: f2a35db75c
...
am: 72180d4361
Change-Id: I3d39339fdbe9e1b7eefcc0b806ce1c2efc38dcb5
2017-07-13 17:45:39 +00:00