• R/O
  • HTTP
  • SSH
  • HTTPS

List of commits

Tags
No Tags

Frequently used words (click to add to your profile)

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

system/core


RSS
Rev. Hora Autor
320211c 2019-06-18 08:36:31 Suren Baghdasaryan

Merge "Remove ACgroupController_getFlags to fix API breakage" into qt-dev
am: fb888f6565

Change-Id: I3bb62d138cdb13b3f0ba62aae0e8ea276a4dfcfd

fb888f6 2019-06-18 08:22:30 Suren Baghdasaryan

Merge "Remove ACgroupController_getFlags to fix API breakage" into qt-dev

ca11f46 2019-06-18 07:56:11 Dongcheol Shin

Merge "Support importing property file with expanded name" into qt-dev
am: fa94b8f96b

Change-Id: Iff4adad019e0f919536d1cce0ed55d536ea65e4e

1be83e3 2019-06-18 07:30:44 Daniel Rosenberg

Start Vold on early-fs

We need vold on early-fs so we can handle userdata checkpointing.
Without this, devices will take an extra minute or two as checkpointing
related vdc calls attempt to reach vold before it is available.

Bug: 134114000
Test: Boot, see vold has started before vdc checkpointing tries to call
out to vold.

Change-Id: Idfdb304503a163fbb91f9317949eb98c06fecce1

fa94b8f 2019-06-18 07:30:28 TreeHugger Robot

Merge "Support importing property file with expanded name" into qt-dev

cf643b1 2019-06-18 02:21:22 Steve Muckle

VtsKernelLiblpTest: use static test
am: 9b90198887

Change-Id: I5ba01410457a22305a156c62d56115a2697c77f5

aa1d54f 2019-06-18 01:49:36 Suren Baghdasaryan

Remove ACgroupController_getFlags to fix API breakage

Since ACgroupController_getFlags was introduced after LLNDK freeze it
causes media crashes due to missing symbol. Remove the new function and
re-implement cgroup controller detection to not require flags field but
instead check for its existence on the first access.

Bug: 135049992
Test: libcutils_test with and without CONFIG_CPUSETS enabled
Change-Id: I0220d6a926884dc22a7424d7d0a980c379c6f4eb
Merged-In: I0220d6a926884dc22a7424d7d0a980c379c6f4eb
Signed-off-by: Suren Baghdasaryan <surenb@google.com>

52534eb 2019-06-16 08:19:07 android-build-team Robot

Snap for 5663715 from c58c10a973d5aa9206ed7f6dfb64a733b62ea63d to qt-qpr1-release

Change-Id: I7a1ce57c60c47ccf7b49da07fe56c5b4867bdaef

9b90198 2019-06-15 08:10:25 Steve Muckle

VtsKernelLiblpTest: use static test

To avoid introducing dependencies on target libraries, use a statically
compiled test instead.

Bug: 134912860
Test: run vts-kernel -m VtsKernelLiblpTest
Change-Id: Ie24cc8532c7821cb225c024c240c4d485557bfa7

c58c10a 2019-06-15 06:57:45 Peter Collingbourne

Link the sanitizer runtime libraries to the default unrestricted namespace.

Without this, binaries can't be run out of /data/local/tmp on a HWASANified
device.

Bug: http://b/134503977
Test: Chromium's /data/local/tmp/md5sum/md5sum_bin works on walleye_hwasan-userdebug
Change-Id: Ieceaab8aae0024864022ca42b38aa36e6212cf31
(cherry picked from commit 563ca3815494b47d5af100c6d9b9595e0bc89372)

ea9e783 2019-06-14 10:25:12 Dongcheol Shin

Support importing property file with expanded name

This change is to support importing property file with its path
variations.

By substitute its filename with another, it can be used to handle
runtime varying filename within single binary.

Here's an example of usage in property defined file.
import /odm/build_${ro.boot.product.hardware.sku}.prop

Bug: 132592551
Test: boot a device and checks above example import statement in
"/odm/build.prop" loading expanded filename correctly

Merged-In: If3fdcf620a5d717e0930b1e4e58261bc8f79ec24
(cherry picked from commit a87c0f99adb742cd2b9a5d9911f04836eed79f05)

Change-Id: If3fdcf620a5d717e0930b1e4e58261bc8f79ec24

b2d79c5 2019-06-14 04:38:19 Hemant Kumar

adb: daemon: Assign valid fd to usb_handle ep0 file descriptor

Bug: http://b/129283234
Test: treehugger
Change-Id: I2d005e17ccb45af95351c074cc53f6cfc53b5fdd
Merged-In: I2d005e17ccb45af95351c074cc53f6cfc53b5fdd
(cherry picked from commit 1cbe5edbc3b02213e4061bf443dcf1ac8a7ba8bf)

fde5be5 2019-06-13 12:05:27 android-build-team Robot

Snap for 5656431 from 702981f54fd3a891f42f3282497b7e73b74b350a to qt-qpr1-release

Change-Id: I81a430910471eedd7b7f375d5d7c9dd88069d810

702981f 2019-06-13 07:49:23 Min Yun

Merge "Add libcgrouprc to ld.config.txt." into qt-dev
am: 4e5fddd5f5

Change-Id: Ia28f8fb8e68deb24e17504ea8369da61501f0b5b

4e5fddd 2019-06-13 07:36:30 TreeHugger Robot

Merge "Add libcgrouprc to ld.config.txt." into qt-dev

28995c2 2019-06-13 07:24:52 mtk16036

race condition in libprocessgroup
am: 540b1556c9

Change-Id: I546ef683a99a4dfd407d836de763cf1552bb1702

540b155 2019-06-13 04:27:14 mtk16036

race condition in libprocessgroup

while enable fdsan (file descriptor sanitizer),
fdsan report use-after-close error after boot complete (sedom).

Because, in SetCgroupAction::EnableResourceCaching() currently has a data race against all the
use fd_ functions like SetCgroupAction::ExecuteForProcess(uid_t uid, pid_t pid) etc.

ThreadA | ThreadB
-------------------------------------------------------------------------------------------------
in SetCgroupAction::EnableResourceCaching() | in SetCgroupAction::ExecuteForProcess(...)
-------------------------------------------------------------------------------------------------
| in SetCgroupAction::AddTidToCgroup(int tid, int fd)
-------------------------------------------------------------------------------------------------
fd_ = std::move(fd); /*modified fd_ value*/ |
-------------------------------------------------------------------------------------------------
| write(fd) /* crash here, fd is closed by ThreadA*/
-------------------------------------------------------------------------------------------------

So, add mutex lock to protect fd_ data race.

Bug: 134120826
Test: auto test, run the adb reboot test 100 times and no fdsan error report on libprocessgroup
Merged-In: Iccf2f705e030f79324f1164509e715dc5be825de
Change-Id: Iccf2f705e030f79324f1164509e715dc5be825de

8d502fc 2019-06-12 13:56:31 Min Yun

Add libcgrouprc to ld.config.txt.

- In GSI, media.extractor has follow dependency.
media.extractor -> libmpeg2extractor (media ns) ->
libprocessgroup (media ns) -> libcgrouprc (default ns).
If libcgroupsrc can't link from libmpeg2extractor, media.extractor is crashed.

Test: media.extractor didn't die.
Bug: 134981805
Merged-In: I7d3e7e6477708a505b87a884e05cd719f5a3d496
(cherry picked from commit d695733df9047bb61bbe7301d34681aa805697d0)

Change-Id: I7d3e7e6477708a505b87a884e05cd719f5a3d496

6e80cd3 2019-06-12 13:17:03 android-build-team Robot

Merge "Snap for 5652667 from 88adf9153093baa6cf5c71a6191b330d80ca5279 to qt-qpr1-release" into qt-qpr1-release

4914782 2019-06-12 12:54:04 android-build-team Robot

Merge "Snap for 5652667 from 88adf9153093baa6cf5c71a6191b330d80ca5279 to qt-qpr1-release" into qt-qpr1-release

b157040 2019-06-12 12:31:33 android-build-team Robot

Snap for 5652667 from 88adf9153093baa6cf5c71a6191b330d80ca5279 to qt-qpr1-release

Change-Id: I776d4086476c7615d9f13b6e258506fc45ada81b

bea28f4 2019-06-12 12:13:57 android-build-team Robot

Snap for 5652667 from 88adf9153093baa6cf5c71a6191b330d80ca5279 to qt-qpr1-release

Change-Id: I34760950f0973603a3baedaef3e33ba349a726fa

b38d2f4 2019-06-12 12:10:57 android-build-team Robot

Snap for 5652667 from 88adf9153093baa6cf5c71a6191b330d80ca5279 to qt-qpr1-release

Change-Id: I12738c65c9a9f52903260eda7355f7d50908ad6c

88adf91 2019-06-12 03:54:00 Tao Bao

Merge "adb: Allow `adb rescue getprop`." into qt-r1-dev

09022ec 2019-06-11 12:03:11 Jaegeuk Kim

Merge "fs_mgr: support -o sync" into qt-dev
am: 607611e016

Change-Id: If99555bb7062eec589f5d5d5472bad4a7f1e72dc

607611e 2019-06-11 11:55:47 Jaegeuk Kim

Merge "fs_mgr: support -o sync" into qt-dev

9b85e1f 2019-06-11 06:52:40 Jaegeuk Kim

fs_mgr: support -o sync

Bug: 134172577
Change-Id: I1ad8811b07657727d8227d3668f58b0fbc7e7609
Merged-In: I1ad8811b07657727d8227d3668f58b0fbc7e7609
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>

459f380 2019-06-09 08:14:55 android-build-team Robot

Snap for 5645193 from 3bdd3cfab66b7b2553d00309797786b65489b852 to qt-qpr1-release

Change-Id: Ifd98f0b8e6ed1622762844d2c7f9c14b073aa527

e6827e5 2019-06-07 01:10:22 Tao Bao

adb: Allow `adb rescue getprop`.

Which will dump all the allowed properties, similar to `adb shell
getprop`.

Bug: 134027350
Test: Run the command under rescue mode.
Change-Id: Id668224098006d71ee192c8c2bea5d791d2423c1
(cherry picked from commit 599eee1f3759bb9b1473b1bf2f46fb4ee1896fe2)

3bdd3cf 2019-06-06 18:12:30 Peter Collingbourne

Link the "runtime" namespace to more namespaces.

The canonical location of the HWASAN runtime, an LL-NDK library, is being moved
to the runtime APEX. It is apparently the first LL-NDK library in the runtime
APEX that does not require a legacy symlink in /system/${LIB}. Therefore we
need to link the HWASAN runtime in the runtime namespace to various namespaces
so that the library can be loaded from outside of the namespace.

Also, add $SANITIZER_RUNTIME_LIBRARIES to
namespace.default.link.system.shared_libs. This is necessary because in
the accompanying Soong change, we cause the HWASAN runtime to be removed
from $LLNDK_LIBRARIES. In most cases, except for this one, this was a no-op
because we were already including both sets of libraries in shared_libs.

Bug: http://b/134503977
Test: Builds

Change-Id: I67d64788855d28f3a156a1b9cf8a897617277730
Merged-In: I67d64788855d28f3a156a1b9cf8a897617277730
(cherry picked from commit fb1c5a724e7f6cd07b64b0b4dcfdff5677ab7b9f)