• R/O
  • HTTP
  • SSH
  • HTTPS

Listed des commits

Tags
Aucun tag

Frequently used words (click to add to your profile)

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

system/corennnnn


RSS
Révision l'heure Auteur
1f8c6c8 2016-07-19 04:50:46 Josh Gao

adb: switch the socket list mutex to a recursive_mutex. am: 6f641adea5
am: a6b92d1f2e

Change-Id: I064738710ab360cbfeb0b669d7e531f955f8b9cb

d179556 2016-07-19 04:47:45 Josh Gao

adb: use asocket\'s close function when closing.
am: f71c01493a

Change-Id: Id77dd7ff1931f03ea7f1e0339eca6610e02e9122

a6b92d1 2016-07-19 04:47:45 Josh Gao

adb: switch the socket list mutex to a recursive_mutex.
am: 6f641adea5

Change-Id: I839bc3817e7d7bb24b2bf3c5059919802c9f5d33

36dd144 2016-07-19 04:35:45 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: I320f47216b21018d3f613cfbbaaff40b3548ef36

96f387e 2016-07-19 00:58:42 Jeff Sharkey

Merge "Only restorecon CE storage after unlocked." into nyc-mr1-dev

e1b364e 2016-07-17 17:07:02 gitbuildkicker

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

efa8604 2016-07-16 10:21:21 TreeHugger Robot

Merge "Add skip-secondary flag" into nyc-mr1-dev

f71c014 2016-07-16 09:17:14 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)

6f641ad 2016-07-16 09:17:14 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)

e180929 2016-07-16 08:57:53 Daniel Rosenberg

Add skip-secondary flag

The skip-secondary flag now replaces flash-primary. This flag will
skip over the secondary images for both flashall and update.

Change-Id: I9f380f3195006d325d6c45776bf79ecec17506ad

5594ed5 2016-07-16 08:37:44 gitbuildkicker

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

4cfacf5 2016-07-16 08:02:12 gitbuildkicker

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

1635afe 2016-07-16 07:21:42 Jeff Sharkey

Only restorecon CE storage after unlocked.

On FBE devices, the filenames inside credential-encrypted directories
are mangled until the key is installed. This means the initial
restorecon at boot needs to skip these directories until the keys
are installed.

This CL changes the implementation of the "restorecon_recursive"
built-in command to use the new SKIPCE flag to avoid labeling files
in CE directories. vold will request a restorecon when the keys
are actually installed.

Bug: 30126557
Change-Id: I320584574a4d712c493b5bbd8a79b56c0c04aa58

53bf234 2016-07-16 04:34:16 Mark Salyzyn

libcutils: abort for invalid fd

If ashmem accessors are being called with a file descriptor that
belongs to anything other than ashmem, we need to stop it right
now so that they can fix the caller.

Bug: 26871259
Change-Id: Icf9aafc3631a80b9af6fe0fea03599d61e285d21

70a8c7a 2016-07-16 04:34:10 Mark Salyzyn

libcutils: ashmem print error message for invalid fd

NB: We decided to not sniff for the constant saved __ashmem_rdev in
the early error path; requiring either the use of atomic operations,
or acquiring a lock to do it correctly. The heroics are not worth it.

Bug: 26871259
Change-Id: I46249838850ae32063eb5b7d08c731c5bb0fbf6b

2895e11 2016-07-16 04:34:06 Mark Salyzyn

libcutils: ashmem check fd validity

- collect st_rdev on open, or when required, for /dev/ashmem.
- check in all cases if fd is a character device and matches rdev.
- requires that we have open, read and write access to /dev/ashmem
to check, assumption being that if we can not, then we have no
right playing with the associated misdirected file descriptor.

NB: ashmem libcutil library entry points can no longer be called in
signal context.

Bug: 26871259
Change-Id: I9a17e33317a9be795131473a51c16f761b5f7407

b619152 2016-07-16 04:34:01 Mark Salyzyn

libcutils: ashmem fortify and comply with Android coding standard

- sort header order and in groups
- remove all tabs, use only spaces
- use TEMP_FAILURE_RETRY in system calls
- preserve errno for -1 return

Bug: 26871259
Change-Id: I94fffbcaeba01fcc18a3ed07c02389c06c54d3b7

3fed75d 2016-07-15 10:36:22 Chris Tate

Merge "Ensure the target sees a proper EOD marker during restore" into nyc-mr1-dev

0528829 2016-07-15 08:47:10 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: I320f47216b21018d3f613cfbbaaff40b3548ef36

8d6ca19 2016-07-15 08:19:49 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: I93f6423e6de38e2bc6c75d8d33052da4cd2daa8a

eddde7a 2016-07-15 07:27:08 Tianjie Xu

Merge "Start update_verifier in cache group" into nyc-mr1-dev

c525915 2016-07-15 03:50:35 Sergio Giro

Merge \\\\\\\\\"DO NOT MERGE libutils/Unicode.cpp: Correct length computation and add checks for utf16->utf8\\\\\\\\\" into lmp-dev am: 8d2d6cedbb -s ours am: 71da8e7537 am: 5e03ed1dab am: b00e3603ef -s ours am: 72bad95df5 am: ae21a25383 am: 1062106a3b am: 9d6d33dba2 -s ours
am: 8c335e2840

Change-Id: I956018c7a1ac4b01f085126260c28328c16c577a

385b34e 2016-07-15 03:50:30 Sergio Giro

DO NOT MERGE libutils/Unicode.cpp: Correct length computation and add checks for utf16->utf8 am: 2806397d1e am: 8c9d02551c am: 28f28ce635 -s ours am: f611765aaf am: 207717bde6 am: dc5a96f5b3 am: 1aad4b61cb -s ours
am: 8170f506f7

Change-Id: Iea68f2cf201296214d1cbcbd6d54ebdcb6332cb3

0f44e90 2016-07-15 03:50:25 Sergio Giro

libutils/Unicode.cpp: Correct length computation and add checks for utf16->utf8 am: 3411dd4457 am: 01dbd1da64 am: 7c516d7080 am: 062c13e997 -s ours
am: 254b45e573

Change-Id: I99a21536238f7ac5b0e0778d7608fc6ef8f5dea9

8c335e2 2016-07-15 03:47:12 Sergio Giro

Merge \\\\\\\\"DO NOT MERGE libutils/Unicode.cpp: Correct length computation and add checks for utf16->utf8\\\\\\\\" into lmp-dev am: 8d2d6cedbb -s ours am: 71da8e7537 am: 5e03ed1dab am: b00e3603ef -s ours am: 72bad95df5 am: ae21a25383 am: 1062106a3b
am: 9d6d33dba2 -s ours

Change-Id: Id26c22b458fcd1b7ad32c58449dd9574bc464ad3

8170f50 2016-07-15 03:47:04 Sergio Giro

DO NOT MERGE libutils/Unicode.cpp: Correct length computation and add checks for utf16->utf8 am: 2806397d1e am: 8c9d02551c am: 28f28ce635 -s ours am: f611765aaf am: 207717bde6 am: dc5a96f5b3
am: 1aad4b61cb -s ours

Change-Id: I0082b3b2c0e2347940f666d8a03811abe390de02

254b45e 2016-07-15 03:44:28 Sergio Giro

libutils/Unicode.cpp: Correct length computation and add checks for utf16->utf8 am: 3411dd4457 am: 01dbd1da64 am: 7c516d7080
am: 062c13e997 -s ours

Change-Id: I932cc01acc74a8d148a6c9d25d5c35c48a324844

9d6d33d 2016-07-15 03:29:27 Sergio Giro

Merge \\\\\\\"DO NOT MERGE libutils/Unicode.cpp: Correct length computation and add checks for utf16->utf8\\\\\\\" into lmp-dev am: 8d2d6cedbb -s ours am: 71da8e7537 am: 5e03ed1dab am: b00e3603ef -s ours am: 72bad95df5 am: ae21a25383
am: 1062106a3b

Change-Id: I441fc693e0f6861160ebc615b2ba15feba29e1a7

1aad4b6 2016-07-15 03:29:22 Sergio Giro

DO NOT MERGE libutils/Unicode.cpp: Correct length computation and add checks for utf16->utf8 am: 2806397d1e am: 8c9d02551c am: 28f28ce635 -s ours am: f611765aaf am: 207717bde6
am: dc5a96f5b3

Change-Id: I02b02a89f381c1cadff3b4702e1ff8e8850b219e

46066ef 2016-07-15 03:28:51 Pat Tjin

Merge "core/init.rc: Add /data/cache/* directory creation" into nyc-mr1-dev