| OLD | NEW | 
|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #include "content/browser/zygote_host/zygote_host_impl_linux.h" | 5 #include "content/browser/zygote_host/zygote_host_impl_linux.h" | 
| 6 | 6 | 
|  | 7 #include <errno.h> | 
| 7 #include <string.h> | 8 #include <string.h> | 
| 8 #include <sys/socket.h> | 9 #include <sys/socket.h> | 
| 9 #include <sys/stat.h> | 10 #include <sys/stat.h> | 
| 10 #include <sys/types.h> | 11 #include <sys/types.h> | 
| 11 #include <unistd.h> | 12 #include <unistd.h> | 
| 12 | 13 | 
| 13 #include "base/base_switches.h" | 14 #include "base/base_switches.h" | 
| 14 #include "base/command_line.h" | 15 #include "base/command_line.h" | 
| 15 #include "base/environment.h" | 16 #include "base/environment.h" | 
| 16 #include "base/files/file_enumerator.h" | 17 #include "base/files/file_enumerator.h" | 
| (...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 594   } | 595   } | 
| 595 | 596 | 
| 596   if (!sandbox::Credentials::CanCreateProcessInNewUserNS()) { | 597   if (!sandbox::Credentials::CanCreateProcessInNewUserNS()) { | 
| 597     return false; | 598     return false; | 
| 598   } | 599   } | 
| 599 | 600 | 
| 600   return true; | 601   return true; | 
| 601 } | 602 } | 
| 602 | 603 | 
| 603 }  // namespace content | 604 }  // namespace content | 
| OLD | NEW | 
|---|