Commits

repo sync  committed dae85f9

Revert "Hack to fix selinux crashes on Manta"

This reverts commit 1d857f3e2e739c001b7cbbd1e37b92a038e46b98.

  • Participants
  • Parent commits 8c6e5f8
  • Tags android-4.3.1_r1, android-4.3_r0.9 9
    1. android-4.3_r0.9.1
    2. android-4.3_r1
    3. android-4.3_r1.1
    4. android-4.3_r2
    5. android-4.3_r2.1
    6. android-4.3_r2.2
    7. android-4.3_r2.3
    8. android-4.3_r3
    9. android-4.3_r3.1

Comments (0)

Files changed (1)

File src/android.c

 	if (lstat(pathname, &statresult) < 0)
 		return -1;
 
-	if (!S_ISDIR(statresult.st_mode)) {
+	if (!S_ISDIR(statresult.st_mode))
 		return fixcon_file(pathname, sehandle_old, sehandle_new);
-        } else {
-            /* XXX hack for JB-MR2.  Real fix needed later */
-            if (strstr(pathname, "/lost+found")) {
-              return 0;
-            }
-        }
 
 	DIR *dir = opendir(pathname);
 	if (dir == NULL)