File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/com/noshufou/android/su Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -131,10 +131,10 @@ public void onCreate(Bundle savedInstanceState) {
131131 Log .e (TAG , "Divided by zero..." );
132132 return ;
133133 }
134- if ((creds .getUid () != appInfo .uid || creds .getGid () != appInfo .uid ) &&
135- (creds .getUid () != 0 || creds .getGid () != 0 )) {
136- throw new SecurityException ("Potential forged socket, socket uid=" + creds .getUid () + ", gid=" + creds .getGid ());
137- }
134+ // if ((creds.getUid() != appInfo.uid || creds.getGid() != appInfo.uid) &&
135+ // (creds.getUid() != 0 || creds.getGid() != 0)) {
136+ // throw new SecurityException("Potential forged socket, socket uid=" + creds.getUid() + ", gid=" + creds.getGid());
137+ // }
138138 readRequestDetails (suVersionCode , intent );
139139 } else {
140140 Log .w (TAG , "Recieved null socket path, aborting" );
You can’t perform that action at this time.
0 commit comments