• R/O
  • HTTP
  • SSH
  • HTTPS

List of commits

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/corennnnn


RSS
修訂. 時間 作者
910af41 2016-08-18 17:03:58 Chih-Wei Huang

init.rc: let some services run as root

The surfaceflinger needs root permission to control vt.

Run the console shell as root to make debugging easier.

2a8b291 2016-08-18 17:03:58 Chih-Wei Huang

libutils: fix incorrect calculation in utf8_length() method

The first character of utf-8 could be larger than 128. If use signed char
variable to hold it, it would be treated as negative. That may result in
some unexpected errors.

For example, without this patch, suppose the code is 0xE88888, then
first_char is 0xE8 and converted to int32_t type (0xFFFFFFE8) and
masked with (~to_ignore_mask). The result utf32 is FFF08208
which is incorrect.

Change-Id: I72b355f380865bc375251eb287fc225fd585a115

66f9a88 2016-08-18 17:03:58 Chih-Wei Huang

Set correct permission for pppd

The pppd needs setuid root to setup ppp interface.

84ca98e 2016-08-18 17:03:58 Chih-Wei Huang

init: avoid virtual console be set blanked

7f26df9 2016-08-18 17:03:58 Chih-Wei Huang

init: change firmware_dirs for Android-x86

86f610c 2016-08-18 17:03:58 Chih-Wei Huang

ueventd.rc: remove redundant definitions

Change-Id: Icb4f051abf941052aca9752ca2949386738d94e5

c4a120b 2016-08-17 16:06:43 gitbuildkicker

merge in nyc-mr1-release history after reset to nyc-mr1-dev

0c28557 2016-08-17 10:58:53 TreeHugger Robot

Merge "Asan.options: Use abort_on_error" into nyc-mr1-dev

e86d0e1 2016-08-17 07:52:46 Josh Gao

debuggerd: fix missed use of ptrace(PTRACE_ATTACH).

Bug: http://b/29555636
Change-Id: Ibd8a2e2b619b74aac667555b7085d6f28e367c07

d2d9568 2016-08-17 07:52:46 Josh Gao

DO NOT MERGE: debuggerd: verify that traced threads belong to the right process.

Fix two races in debuggerd's PTRACE_ATTACH logic:
1. The target thread in a crash dump request could exit between the
/proc/<pid>/task/<tid> check and the PTRACE_ATTACH.
2. Sibling threads could exit between listing /proc/<pid>/task and the
PTRACE_ATTACH.

Backport of NYC change I4dfe1ea30e2c211d2389321bd66e3684dd757591
Bug: http://b/29555636
Change-Id: I6c6efcf82a49bca140d761b2d1de04215ba4d252

3b26864 2016-08-17 07:52:46 Josh Gao

adb: use asocket's close function when closing.

close_all_sockets was assuming that all registered local sockets used
local_socket_close as their close function. However, this is not true
for JDWP sockets.

Bug: http://b/28347842
Change-Id: I40a1174845cd33f15f30ce70828a7081cd5a087e
(cherry picked from commit 53eb31d87cb84a4212f4850bf745646e1fb12814)
(cherry picked from commit 014b01706cc64dc9c2ad94a96f62e07c058d0b5d)

1144039 2016-08-17 07:52:46 Josh Gao

adb: switch the socket list mutex to a recursive_mutex.

sockets.cpp was branching on whether a socket close function was
local_socket_close in order to avoid a potential deadlock if the socket
list lock was held while closing a peer socket.

Bug: http://b/28347842
Change-Id: I5e56f17fa54275284787f0f1dc150d1960256ab3
(functionally a cherrypick of 903b749f + 9b587dec, with windows disabled)

f2059d3 2016-08-17 07:52:46 Sergio Giro

libutils/Unicode.cpp: Correct length computation and add checks for utf16->utf8

Inconsistent behaviour between utf16_to_utf8 and utf16_to_utf8_length
is causing a heap overflow.

Correcting the length computation and adding bound checks to the
conversion functions.

Test: ran libutils_tests
Bug: 29250543
Change-Id: I6115e3357141ed245c63c6eb25fc0fd0a9a7a2bb
(cherry picked from commit c4966a363e46d2e1074d1a365e232af0dcedd6a1)

67b7e85 2016-08-17 07:45:56 Andreas Gampe

Asan.options: Use abort_on_error

Use abort to have debuggerd act and create a tombstone.

Bug: 30775464
Change-Id: I359c7c7c094880b7b55304cd2aa3f4b360b729d8

f23436c 2016-08-16 23:57:20 gitbuildkicker

merge in nyc-mr1-release history after reset to nyc-mr1-dev

a7c591f 2016-08-16 08:24:45 TreeHugger Robot

Merge "bootstat: Calculate and log the time_since_last_boot metric." into nyc-mr1-dev

8206c1c 2016-08-16 08:04:16 Felipe Leme

Split 'generating' and 'pulling' in 2 messages.

*** Cherrypicked from 9c0be90528baee54182334048af467e3dde74d72 ***

Change-Id: I00067fe160ca9e5351a8767b159d5f1d698083b4
Fixes: 30799929

16e84cc 2016-08-16 06:52:29 James Hawkins

bootstat: Calculate and log the time_since_last_boot metric.

Bug: 28163811
Change-Id: I2e1350531f6a0fc891c270cfdfca6c8ad63f8040
(cherry picked from commit 2d8b3e66c6fd298bc8f4dc4e8205bb469a89a6f8)

568d0ee 2016-08-16 05:34:08 Jaap Jan Meijer

Merge remote-tracking branch 'x86/marshmallow-x86' into cm-13.0-x86

Conflicts:
init/init.cpp

47a1631 2016-08-16 04:59:47 Josh Gao

Merge "DO NOT MERGE: debuggerd: verify that traced threads belong to the right process." into klp-dev am: 23effb07ee am: ac3fbb1a4a am: 7ed0995930 -s ours am: 58dd6f7cba -s ours am: 55259f320b am: 9183477cca am: fdb4cd42f6 -s ours am: 0790936473 am: c0e52f145e am: 2b16e16142 am: c8d2050a52 -s ours
am: 9008a5cb80

Change-Id: I8a2df90a4af3d0ecd9fe47c5571f78ab3f6a810d

dc831be 2016-08-16 04:59:46 Josh Gao

DO NOT MERGE: debuggerd: verify that traced threads belong to the right process. am: 8d6ca194ee am: 8f7cc0e387 -s ours am: be9d9fc379 -s ours am: 2071bcfa75 -s ours am: 7fe65ab421 am: b92fecf460 am: 48cd7ddd89 -s ours am: dc83f1839b am: 3e59e93c71 am: a44a3ae938 am: 240289e7e9 -s ours
am: 2eecaedcb0

Change-Id: I6cddcdc8ecd5388a9017459c17404ea8fe344d7b

9008a5c 2016-08-16 04:55:23 Josh Gao

Merge "DO NOT MERGE: debuggerd: verify that traced threads belong to the right process." into klp-dev am: 23effb07ee am: ac3fbb1a4a am: 7ed0995930 -s ours am: 58dd6f7cba -s ours am: 55259f320b am: 9183477cca am: fdb4cd42f6 -s ours am: 0790936473 am: c0e52f145e am: 2b16e16142
am: c8d2050a52 -s ours

Change-Id: I27b9571786ea72c31c2fd74d0e033ec0f078f3d9

2eecaed 2016-08-16 04:55:22 Josh Gao

DO NOT MERGE: debuggerd: verify that traced threads belong to the right process. am: 8d6ca194ee am: 8f7cc0e387 -s ours am: be9d9fc379 -s ours am: 2071bcfa75 -s ours am: 7fe65ab421 am: b92fecf460 am: 48cd7ddd89 -s ours am: dc83f1839b am: 3e59e93c71 am: a44a3ae938
am: 240289e7e9 -s ours

Change-Id: I5fca213679641f0da4cbc5ffdd3b00cf03177946

c8d2050 2016-08-16 04:51:15 Josh Gao

Merge "DO NOT MERGE: debuggerd: verify that traced threads belong to the right process." into klp-dev am: 23effb07ee am: ac3fbb1a4a am: 7ed0995930 -s ours am: 58dd6f7cba -s ours am: 55259f320b am: 9183477cca am: fdb4cd42f6 -s ours am: 0790936473 am: c0e52f145e
am: 2b16e16142

Change-Id: I2d06b5ec4053884cbf2ba61e77dc642af84020b3

240289e 2016-08-16 04:51:14 Josh Gao

DO NOT MERGE: debuggerd: verify that traced threads belong to the right process. am: 8d6ca194ee am: 8f7cc0e387 -s ours am: be9d9fc379 -s ours am: 2071bcfa75 -s ours am: 7fe65ab421 am: b92fecf460 am: 48cd7ddd89 -s ours am: dc83f1839b am: 3e59e93c71
am: a44a3ae938

Change-Id: I59be0d4380dbbcdfae4f52a9ae5d7495870ce983

2b16e16 2016-08-16 04:46:46 Josh Gao

Merge "DO NOT MERGE: debuggerd: verify that traced threads belong to the right process." into klp-dev am: 23effb07ee am: ac3fbb1a4a am: 7ed0995930 -s ours am: 58dd6f7cba -s ours am: 55259f320b am: 9183477cca am: fdb4cd42f6 -s ours am: 0790936473
am: c0e52f145e

Change-Id: If95e3aa41a5e1b77fc341693031d12c36ab99fc5

a44a3ae 2016-08-16 04:46:45 Josh Gao

DO NOT MERGE: debuggerd: verify that traced threads belong to the right process. am: 8d6ca194ee am: 8f7cc0e387 -s ours am: be9d9fc379 -s ours am: 2071bcfa75 -s ours am: 7fe65ab421 am: b92fecf460 am: 48cd7ddd89 -s ours am: dc83f1839b
am: 3e59e93c71

Change-Id: I2ec5be3ac5b3379428bc1afb000bc80939435e22

c0e52f1 2016-08-16 04:42:16 Josh Gao

Merge "DO NOT MERGE: debuggerd: verify that traced threads belong to the right process." into klp-dev am: 23effb07ee am: ac3fbb1a4a am: 7ed0995930 -s ours am: 58dd6f7cba -s ours am: 55259f320b am: 9183477cca am: fdb4cd42f6 -s ours
am: 0790936473

Change-Id: I65d54a2c52fcc051bca0cb7a586e02b18413ee15

3e59e93 2016-08-16 04:42:15 Josh Gao

DO NOT MERGE: debuggerd: verify that traced threads belong to the right process. am: 8d6ca194ee am: 8f7cc0e387 -s ours am: be9d9fc379 -s ours am: 2071bcfa75 -s ours am: 7fe65ab421 am: b92fecf460 am: 48cd7ddd89 -s ours
am: dc83f1839b

Change-Id: I8c2ea607c5a0d4af2114cddd5ebf04f69c30c58e

0790936 2016-08-16 04:38:14 Josh Gao

Merge "DO NOT MERGE: debuggerd: verify that traced threads belong to the right process." into klp-dev am: 23effb07ee am: ac3fbb1a4a am: 7ed0995930 -s ours am: 58dd6f7cba -s ours am: 55259f320b am: 9183477cca
am: fdb4cd42f6 -s ours

Change-Id: Ie74b4d7f058f5309835467b1f2b0c7af10a3deb5