Merge "logd: Stop calling prctl(PR_SET_KEEPCAPS, 1)"
diff --git a/logd/main.cpp b/logd/main.cpp
index 606aa63..5a588be 100644
--- a/logd/main.cpp
+++ b/logd/main.cpp
@@ -115,11 +115,6 @@
         return -1;
     }
 
-    if (prctl(PR_SET_KEEPCAPS, 1) < 0) {
-        android::prdebug("failed to set PR_SET_KEEPCAPS");
-        if (!eng) return -1;
-    }
-
     std::unique_ptr<struct _cap_struct, int (*)(void*)> caps(cap_init(),
                                                              cap_free);
     if (cap_clear(caps.get()) < 0) return -1;