Loading cmds/servicemanager/Access.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,9 @@ constexpr bool kIsVendor = false; #ifdef __ANDROID__ static std::string getPidcon(pid_t pid) { android_errorWriteLog(0x534e4554, "121035042"); CHECK_EQ(nullptr, IPCThreadState::self()->getServingStackPointer()) << "Did not get context from PID " << pid << ". We should always get contexts from other processes."; char* lookup = nullptr; if (getpidcon(pid, &lookup) < 0) { Loading Loading
cmds/servicemanager/Access.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,9 @@ constexpr bool kIsVendor = false; #ifdef __ANDROID__ static std::string getPidcon(pid_t pid) { android_errorWriteLog(0x534e4554, "121035042"); CHECK_EQ(nullptr, IPCThreadState::self()->getServingStackPointer()) << "Did not get context from PID " << pid << ". We should always get contexts from other processes."; char* lookup = nullptr; if (getpidcon(pid, &lookup) < 0) { Loading