platform_system_core/libutils
Wei Wang d2b270c063 libutils: do not follow process's group
1) App doesn't have cgroup access and there is no purpose of reading cgroup
for app. For system_server it should be known in foreground group. So
there is no benefit of reading group.

2) Reading cgroup in apps can also cause contention for other cgroup
operations.

3) vendor can change cgroup setting and get_sched_policy may return
incorrect information for get_sched_policy_profile_name.

Test: Boot
Bug: 210011562
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I8e8c8b346984781c56ec93c0616121f7d5c99fe5
2021-12-10 02:53:08 +00:00
..
include/utils Fix implicit cast from ssize_t to size_t in KeyedVector.h 2021-05-21 16:49:07 +00:00
Android.bp libutils: remove the unused StopWatch lap functionality. 2021-05-11 16:33:47 -07:00
BitSet_fuzz.cpp Add fuzzers for libutils classes 2020-05-15 10:30:16 -07:00
BitSet_test.cpp Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
CallStack.cpp Revert^2 "Prepare to fail in RefBase destructor if count is untouched" 2018-08-08 16:30:12 -07:00
CallStack_fuzz.cpp Add second batch of fuzzers for libutils 2020-08-07 15:36:39 -07:00
CleanSpec.mk
Errors.cpp statusToString: parenthesize strerror 2019-12-10 18:43:53 +00:00
FileMap.cpp Merge "Fail explicitly on length overflow." into oc-dev am: ea8d38e77f 2020-07-31 19:45:35 +00:00
FileMap_fuzz.cpp Add fuzzers for libutils classes 2020-05-15 10:30:16 -07:00
FileMap_test.cpp Fail explicitly on length overflow. 2020-05-28 18:38:18 -07:00
FuzzFormatTypes.h Adds license header 2020-10-02 11:08:15 -07:00
JenkinsHash.cpp
LightRefBase.cpp libutils: LightRefBase: incStrongRequireStrong 2021-05-04 21:42:26 +00:00
Looper.cpp Looper: missing cinttypes when debugging poll/callbacks 2019-05-11 20:53:47 +01:00
Looper_fuzz.cpp Add second batch of fuzzers for libutils 2020-08-07 15:36:39 -07:00
Looper_test.cpp Add second batch of fuzzers for libutils 2020-08-07 15:36:39 -07:00
Looper_test_pipe.h Add second batch of fuzzers for libutils 2020-08-07 15:36:39 -07:00
LruCache_fuzz.cpp Add second batch of fuzzers for libutils 2020-08-07 15:36:39 -07:00
LruCache_test.cpp Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
misc.cpp [libutils] Modernize codebase by replacing NULL with nullptr 2018-07-16 18:11:34 -07:00
MODULE_LICENSE_APACHE2
Mutex_test.cpp libutils: Fix thread safety annotations in Mutex 2019-03-29 12:21:57 -07:00
NativeHandle.cpp [libutils] Modernize codebase by replacing NULL with nullptr 2018-07-16 18:11:34 -07:00
NOTICE
OWNERS
Printer.cpp [libutils] Modernize codebase by replacing NULL with nullptr 2018-07-16 18:11:34 -07:00
Printer_fuzz.cpp Add second batch of fuzzers for libutils 2020-08-07 15:36:39 -07:00
ProcessCallStack.cpp [libutils] Modernize codebase by replacing NULL with nullptr 2018-07-16 18:11:34 -07:00
ProcessCallStack_fuzz.cpp Add second batch of fuzzers for libutils 2020-08-07 15:36:39 -07:00
RefBase.cpp ANDROID_UTILS_REF_BASE_DISABLE_IMPLICIT_CONSTRUCTION 2021-04-05 17:45:18 +00:00
RefBase_fuzz.cpp Resolved UAF issue in RefBase fuzzer 2020-11-30 16:18:27 -08:00
RefBase_test.cpp libutils: wp::fromExisting bugfix 2021-04-07 23:06:09 +00:00
SharedBuffer.cpp Reland "libutils: Introduce StaticString16"" 2019-09-05 13:19:14 -07:00
SharedBuffer.h Reland "libutils: Introduce StaticString16"" 2019-09-05 13:19:14 -07:00
SharedBuffer_test.cpp libutils: sharedbuffer test - expect greatness! 2021-04-28 17:15:58 +00:00
Singleton_test.cpp Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
Singleton_test.h Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
Singleton_test1.cpp Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
Singleton_test2.cpp Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
StopWatch.cpp libutils: remove the unused StopWatch lap functionality. 2021-05-11 16:33:47 -07:00
String8.cpp Check for overflow in String8::real_append. 2021-06-10 16:42:20 -07:00
String8_fuzz.cpp Remove String8::toUpper(). 2021-04-12 13:38:31 -07:00
String8_test.cpp Check for overflow in String8::real_append. 2021-06-10 16:42:20 -07:00
String16.cpp Check for overflow in String16::append and String16::insert. 2021-06-10 17:06:26 -07:00
String16_fuzz.cpp Remove String16::remove. 2021-05-12 20:24:26 +00:00
String16_test.cpp Check for overflow in String16::append and String16::insert. 2021-06-10 17:06:26 -07:00
StrongPointer.cpp Add check to sp<> raw pointer constructor 2019-11-26 15:32:40 -08:00
StrongPointer_test.cpp libutils: LightRefBase: incStrongRequireStrong 2021-05-04 21:42:26 +00:00
SystemClock.cpp Add uptimeNanos to SystemClock 2020-08-07 14:36:07 -07:00
SystemClock_test.cpp Add uptimeNanos to SystemClock 2020-08-07 14:36:07 -07:00
Threads.cpp libutils: do not follow process's group 2021-12-10 02:53:08 +00:00
Timers.cpp Make systemTime() abort on bad input. 2020-05-27 15:31:55 -07:00
Timers_test.cpp Make systemTime() abort on bad input. 2020-05-27 15:31:55 -07:00
Tokenizer.cpp Move system/core/ off NO_ERROR. 2018-10-08 11:15:52 -07:00
Trace.cpp
Unicode.cpp Remove move dead code. 2021-04-15 15:18:54 -07:00
Unicode_test.cpp Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
Vector_benchmark.cpp compare android::Vector and std::vector 2019-09-03 18:11:43 -07:00
Vector_fuzz.cpp Add fuzzers for libutils classes 2020-05-15 10:30:16 -07:00
Vector_test.cpp Clean up libcutils/libutils tests. 2019-02-11 13:15:56 -08:00
VectorImpl.cpp Move system/core/ off NO_ERROR. 2018-10-08 11:15:52 -07:00