libchromiumcontent/patches/thread_capabilities.patch

16 строки
442 B
Diff

diff --git a/sandbox/linux/services/credentials.cc b/sandbox/linux/services/credentials.cc
index 2265474..8342ad8 100644
--- a/sandbox/linux/services/credentials.cc
+++ b/sandbox/linux/services/credentials.cc
@@ -349,8 +349,10 @@ pid_t Credentials::ForkAndDropCapabilitiesInChild() {
return pid;
}
+#if 0
// Since we just forked, we are single threaded.
PCHECK(DropAllCapabilitiesOnCurrentThread());
+#endif
return 0;
}