Ting-Yuan Huang
9cd73e43ed
Merge "sdcard: mute false compiler alarm" am: cb4e164562
am: 124294a348
...
am: e657bf552c
Change-Id: I1e75decd46537a7697840908146981a4650ca417
2017-08-30 02:53:36 +00:00
Ting-Yuan Huang
e657bf552c
Merge "sdcard: mute false compiler alarm" am: cb4e164562
...
am: 124294a348
Change-Id: I6e8964c4eb7426b838c5f780a5c87136bfbc24e5
2017-08-30 02:49:37 +00:00
Ting-Yuan Huang
124294a348
Merge "sdcard: mute false compiler alarm"
...
am: cb4e164562
Change-Id: Iefc21ac2b479095e50a764495843db28bebdffa5
2017-08-30 02:43:07 +00:00
Treehugger Robot
cb4e164562
Merge "sdcard: mute false compiler alarm"
2017-08-30 02:31:54 +00:00
Ting-Yuan Huang
1991ae9459
sdcard: mute false compiler alarm
...
Clang static analyzer worries that strcpy to a field may overwrites
other fields. Use snprintf() instead.
Test: built without seeing the warning.
Change-Id: I75d8edf1353b5d052fd14a954362bd0632c258fa
2017-08-29 17:21:13 -07:00
Josh Gao
82c4799fe0
adbd: don't spin if file sync read fails.
...
am: a2f1335819
Change-Id: I71fa5b33e79b1449431b05d4889fcc04746023de
2017-08-29 22:32:03 +00:00
Josh Gao
f8ecfa2495
Merge "base: add Pipe and Socketpair wrappers." am: 287e8348de
am: b8ae24c73b
...
am: 4db97b46fa
Change-Id: Icc945f3f6a5920a9bb49a08f2b11faf04905e7f0
2017-08-29 22:01:28 +00:00
Josh Gao
4db97b46fa
Merge "base: add Pipe and Socketpair wrappers." am: 287e8348de
...
am: b8ae24c73b
Change-Id: I9ae44e8ef9ddaf4cf9bf3a8f8a514074c5104bdc
2017-08-29 21:54:18 +00:00
Josh Gao
b8ae24c73b
Merge "base: add Pipe and Socketpair wrappers."
...
am: 287e8348de
Change-Id: I7f86122ee2239ad8daebc59d17f14f665e65983b
2017-08-29 21:47:56 +00:00
Tom Cherry
698da68800
Merge "Globally allow up to 32K FDs open per process" am: 451ff37052
am: 42fb030221
...
am: 32e268561a
Change-Id: I07f13cb0ccfa5e5b1bbf9ef3c4dfb27d2e711a02
2017-08-29 21:32:05 +00:00
Treehugger Robot
287e8348de
Merge "base: add Pipe and Socketpair wrappers."
2017-08-29 21:26:39 +00:00
Tom Cherry
32e268561a
Merge "Globally allow up to 32K FDs open per process" am: 451ff37052
...
am: 42fb030221
Change-Id: I3c73e3e235d496d0ad65a7c5a4aee2fb23aeb173
2017-08-29 21:20:02 +00:00
Tom Cherry
42fb030221
Merge "Globally allow up to 32K FDs open per process"
...
am: 451ff37052
Change-Id: Icb14faacb7d10fd99dd66e2172e04c0e73a8b170
2017-08-29 21:15:03 +00:00
Tom Cherry
451ff37052
Merge "Globally allow up to 32K FDs open per process"
2017-08-29 21:01:23 +00:00
Josh Gao
a2f1335819
adbd: don't spin if file sync read fails.
...
Bug: http://b/64508974
Bug: 64709603 (presubmit balking at the line above)
Test: mma
Change-Id: Ifba6a9dea3138b6d2a62c91cc0532f63986c048a
(cherry picked from commit 1d6c01b53d
)
2017-08-29 18:54:19 +00:00
Christopher Ferris
38bdc3f573
Merge "Update the tests." am: 4614a7ae1b
am: 8547fb9003
...
am: e69ff20c0f
Change-Id: If257a4736d2534e9bde42b264fccdcf3903c0439
2017-08-29 17:50:45 +00:00
Christopher Ferris
e69ff20c0f
Merge "Update the tests." am: 4614a7ae1b
...
am: 8547fb9003
Change-Id: I0ad4c3cd4cf548433f4d553d8685986f27977800
2017-08-29 17:44:31 +00:00
Christopher Ferris
8547fb9003
Merge "Update the tests."
...
am: 4614a7ae1b
Change-Id: Ieeb5e4ccc512ddf120e29c55f6d7fdb01aa4c11c
2017-08-29 17:38:31 +00:00
Christopher Ferris
4614a7ae1b
Merge "Update the tests."
2017-08-29 17:30:41 +00:00
Alan Stokes
41f9cc0090
Merge "Reading from logd in WRAP mode is expected to take a long time, don't abort it after 30s." into oc-mr1-dev
...
am: 15e5bd4e2b
Change-Id: I2279876026acbbe0de65e908887dd210b9ee3284
2017-08-29 17:01:16 +00:00
Alan Stokes
15e5bd4e2b
Merge "Reading from logd in WRAP mode is expected to take a long time, don't abort it after 30s." into oc-mr1-dev
2017-08-29 16:39:52 +00:00
Jerry Zhang
1171607b60
Merge "adb: Use kernel aio for functionfs." am: aaa90cfe06
am: 6fe5cda8aa
...
am: 9c5679caf0
Change-Id: Ic43aef9fac9cf1d82168c3fbb0c7b53328358b2e
2017-08-29 03:47:54 +00:00
Jerry Zhang
9c5679caf0
Merge "adb: Use kernel aio for functionfs." am: aaa90cfe06
...
am: 6fe5cda8aa
Change-Id: I1dd26f8156c19911dc000ab5a3734b2a8ca474e5
2017-08-29 03:43:18 +00:00
Jerry Zhang
6fe5cda8aa
Merge "adb: Use kernel aio for functionfs."
...
am: aaa90cfe06
Change-Id: Ia89f076b94c8974544923b64ea53dffd6b8c8397
2017-08-29 03:38:26 +00:00
Treehugger Robot
aaa90cfe06
Merge "adb: Use kernel aio for functionfs."
2017-08-29 03:28:26 +00:00
Christopher Ferris
458cc66b07
Update the tests.
...
- Change all load_base to load_bias in the test files.
- Add the test files to the backtrace_test.
- Add a function to get the path to the test libraries.
- Change aarch64 to arm64 for offline test code.
- Modify the offline tests so that they can be easily updated when
unwinding on any arch for any other arch is possible.
- Add tests of CreateNew for remote debugging.
Test: Ran unit tests on host and angler.
Change-Id: Id6c5afe73aeb2ac22463dd81f061799fcb1c178b
2017-08-28 18:08:52 -07:00
Josh Gao
151c4adb28
Merge "adb: improve CHECKs." am: 9f38e19b88
am: f628362478
...
am: 3c186bc32c
Change-Id: I4c30f4f9cd8ac92f38e6640a747227211e7fe528
2017-08-28 23:49:54 +00:00
Josh Gao
3c186bc32c
Merge "adb: improve CHECKs." am: 9f38e19b88
...
am: f628362478
Change-Id: I4d381032b4dfbca95a203473af4fcc6164b1fca8
2017-08-28 23:46:24 +00:00
Josh Gao
f628362478
Merge "adb: improve CHECKs."
...
am: 9f38e19b88
Change-Id: Icc50ced0faeda5653288922ec787311e30c5085d
2017-08-28 23:40:23 +00:00
Treehugger Robot
9f38e19b88
Merge "adb: improve CHECKs."
2017-08-28 23:35:44 +00:00
Tom Cherry
2235fa414f
Merge "init: fix signal handling and LOG(FATAL) in child processes" am: 30bf4b7500
am: 43e92299e9
...
am: 5727a169c1
Change-Id: I7dd7729df2b1073946b7a9a350e528a95eed72fd
2017-08-28 22:05:17 +00:00
Tom Cherry
5727a169c1
Merge "init: fix signal handling and LOG(FATAL) in child processes" am: 30bf4b7500
...
am: 43e92299e9
Change-Id: I1df0e8ced15a283cccda88f24ebcfcb33b23c3c3
2017-08-28 22:01:16 +00:00
Tom Cherry
43e92299e9
Merge "init: fix signal handling and LOG(FATAL) in child processes"
...
am: 30bf4b7500
Change-Id: I9147d02a9e710f9e8068a9b3b061768daf2648e9
2017-08-28 21:55:45 +00:00
Josh Gao
fdf832dfd3
base: add Pipe and Socketpair wrappers.
...
Also, switch debuggerd_handler over to using android::base::unique_fd.
Test: treehugger
Change-Id: I97b2ce22f1795ce1c4370f95d00d769846cc54b8
2017-08-28 14:51:07 -07:00
Tom Cherry
30bf4b7500
Merge "init: fix signal handling and LOG(FATAL) in child processes"
2017-08-28 21:45:38 +00:00
Josh Gao
e46720938d
adb: improve CHECKs.
...
Use CHECK_LT(foo, 1234) instead of CHECK(foo < 1234) so that failing
checks have the values emitted.
Bug: http://b/65063965
Test: adb server nodaemon
Change-Id: I094287f7c4d2d177ea216568d06e9e425a28dd96
2017-08-28 14:43:24 -07:00
Josh Gao
ca5f86e084
Merge "adbd: don't spin if file sync read fails." am: 32d2eae8b9
am: 4dc1892491
...
am: 43898a6add
Change-Id: Icc7d13bc5e7ff2aaf63f95f046734fb77db6d72e
2017-08-28 21:26:43 +00:00
Josh Gao
43898a6add
Merge "adbd: don't spin if file sync read fails." am: 32d2eae8b9
...
am: 4dc1892491
Change-Id: If487706ed52943b8034334146286026ddbc5535a
2017-08-28 21:21:15 +00:00
Josh Gao
4dc1892491
Merge "adbd: don't spin if file sync read fails."
...
am: 32d2eae8b9
Change-Id: Ie104bb8ea8d67b5a7ce896d2237a44cc8ea1ab4f
2017-08-28 21:16:13 +00:00
Treehugger Robot
32d2eae8b9
Merge "adbd: don't spin if file sync read fails."
2017-08-28 21:06:48 +00:00
Tom Cherry
cb5fccc83c
Globally allow up to 32K FDs open per process
...
We've seen crashes due to processes exceeding the current soft limit
for open FDs of 1024, mainly due to increases in using FDs for shared
memory and gralloc memory objects.
There is not a compelling reason to keep this limit artificially low,
so we raise it to 32K. This matches my desktop linux limit, so it is
with precedent.
Bug: 64894637
Test: open 32K FDs in a process without failure then fail after 32K
Change-Id: Ibecfc486e9c61f273a432a108893137d2d13a530
2017-08-28 13:08:24 -07:00
Tom Cherry
d0f3e414a0
Merge "init: support setting rlimits per service" am: 459aa1cac6
am: c39a5082dc
...
am: d47ccf8277
Change-Id: I29a5baea3ba8193724fc94a57cf1d770a9a46d62
2017-08-28 19:52:07 +00:00
Tom Cherry
d47ccf8277
Merge "init: support setting rlimits per service" am: 459aa1cac6
...
am: c39a5082dc
Change-Id: I1f302dccc0f93c61da8d1d7df99d7086ce33ed20
2017-08-28 19:45:40 +00:00
Tom Cherry
c39a5082dc
Merge "init: support setting rlimits per service"
...
am: 459aa1cac6
Change-Id: I4ef5abc3371ce52783bfb14669bcffe33febb73e
2017-08-28 19:39:08 +00:00
Treehugger Robot
459aa1cac6
Merge "init: support setting rlimits per service"
2017-08-28 19:27:08 +00:00
Josh Gao
1d6c01b53d
adbd: don't spin if file sync read fails.
...
Bug: http://b/64508974
Test: mma
Change-Id: Ifba6a9dea3138b6d2a62c91cc0532f63986c048a
2017-08-28 11:21:31 -07:00
Tom Cherry
487378ae14
Merge "init: log all failures of Service::Start()" am: 9bde0dc769
am: 849b481786
...
am: fb32e15da8
Change-Id: Ie658e3036ea452e4d93a8e947d860040fc7cce5d
2017-08-28 17:40:29 +00:00
Tom Cherry
fb32e15da8
Merge "init: log all failures of Service::Start()" am: 9bde0dc769
...
am: 849b481786
Change-Id: Ia6fc0b0917d6b35dda5270c9fa416fb46a6743ed
2017-08-28 17:36:00 +00:00
Tom Cherry
849b481786
Merge "init: log all failures of Service::Start()"
...
am: 9bde0dc769
Change-Id: Ibb27338bb694482108ffc558b2823c583a9701d3
2017-08-28 17:30:28 +00:00
Tom Cherry
9bde0dc769
Merge "init: log all failures of Service::Start()"
2017-08-28 17:22:11 +00:00