Loading opengl/libs/GLES_trace/src/gltrace_transport.cpp +3 −2 Original line number Original line Diff line number Diff line Loading @@ -75,8 +75,9 @@ int acceptClientConnection(char *sockname) { return -1; return -1; } } // Only accept connects from the shell (adb forward comes to us as shell user) // Only accept connects from the shell (adb forward comes to us as shell user), if (cr.uid != AID_SHELL) { // or the root user. if (cr.uid != AID_SHELL && cr.uid != AID_ROOT) { ALOGE("Unknown peer type (%d), expected shell to be the peer", cr.uid); ALOGE("Unknown peer type (%d), expected shell to be the peer", cr.uid); return -1; return -1; } } Loading Loading
opengl/libs/GLES_trace/src/gltrace_transport.cpp +3 −2 Original line number Original line Diff line number Diff line Loading @@ -75,8 +75,9 @@ int acceptClientConnection(char *sockname) { return -1; return -1; } } // Only accept connects from the shell (adb forward comes to us as shell user) // Only accept connects from the shell (adb forward comes to us as shell user), if (cr.uid != AID_SHELL) { // or the root user. if (cr.uid != AID_SHELL && cr.uid != AID_ROOT) { ALOGE("Unknown peer type (%d), expected shell to be the peer", cr.uid); ALOGE("Unknown peer type (%d), expected shell to be the peer", cr.uid); return -1; return -1; } } Loading