Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Side by Side Diff: content/common/sandbox_linux.cc

Issue 11366229: Move eintr_wrapper.h from base to base/posix (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 <fcntl.h> 5 #include <fcntl.h>
6 #include <sys/resource.h> 6 #include <sys/resource.h>
7 #include <sys/stat.h> 7 #include <sys/stat.h>
8 #include <sys/time.h> 8 #include <sys/time.h>
9 #include <sys/types.h> 9 #include <sys/types.h>
10 10
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/eintr_wrapper.h"
13 #include "base/file_util.h" 12 #include "base/file_util.h"
14 #include "base/logging.h" 13 #include "base/logging.h"
15 #include "base/memory/singleton.h" 14 #include "base/memory/singleton.h"
15 #include "base/posix/eintr_wrapper.h"
16 #include "base/time.h" 16 #include "base/time.h"
17 #include "content/common/sandbox_linux.h" 17 #include "content/common/sandbox_linux.h"
18 #include "content/common/seccomp_sandbox.h" 18 #include "content/common/seccomp_sandbox.h"
19 #include "content/common/sandbox_seccomp_bpf_linux.h" 19 #include "content/common/sandbox_seccomp_bpf_linux.h"
20 #include "content/public/common/content_switches.h" 20 #include "content/public/common/content_switches.h"
21 #include "content/public/common/sandbox_linux.h" 21 #include "content/public/common/sandbox_linux.h"
22 #include "sandbox/linux/suid/client/setuid_sandbox_client.h" 22 #include "sandbox/linux/suid/client/setuid_sandbox_client.h"
23 23
24 namespace { 24 namespace {
25 25
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 }; 264 };
265 int rc = setrlimit(RLIMIT_AS, &new_address_space_limit); 265 int rc = setrlimit(RLIMIT_AS, &new_address_space_limit);
266 return (rc == 0); 266 return (rc == 0);
267 #else 267 #else
268 return false; 268 return false;
269 #endif // __x86_64__ && !defined(ADDRESS_SANITIZER) 269 #endif // __x86_64__ && !defined(ADDRESS_SANITIZER)
270 } 270 }
271 271
272 } // namespace content 272 } // namespace content
273 273
OLDNEW
« no previous file with comments | « content/common/child_process_sandbox_support_impl_linux.cc ('k') | content/plugin/plugin_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698