OSDN Git Service

libcutils: only change cgroup when fd is initialized [ DO NOT MERGE ]
authorWei Wang <wvw@google.com>
Mon, 20 Mar 2017 22:13:05 +0000 (15:13 -0700)
committerandroid-build-team Robot <android-build-team-robot@google.com>
Thu, 18 May 2017 00:52:41 +0000 (00:52 +0000)
commit783a787da9350b33e95fdd321bacd187e87c7be6
treeb7460e92789df91936068069d1a53e93b1c1ffe2
parent60a47054998bc5644a80a885e937165efe260a84
libcutils: only change cgroup when fd is initialized [ DO NOT MERGE ]

This is to avoid failues on setting non-exist cgroup

Bug: 34193533
Test: on marlin
Change-Id: I619dcba332fda9ec421df811745cf10311beddd3
(cherry picked from commit e46aae223626432bde7d4e95818e8394664c6c02)
libcutils/sched_policy.c