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

Side by Side Diff: sandbox/linux/seccomp/library.cc

Issue 3014015: Remove <iostream> where possible. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: fix chrome frame compile Created 10 years, 5 months 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
« no previous file with comments | « net/tools/flip_server/create_listener.cc ('k') | sandbox/linux/seccomp/maps.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #define XOPEN_SOURCE 500 5 #define XOPEN_SOURCE 500
6 #include <algorithm> 6 #include <algorithm>
7 #include <elf.h> 7 #include <elf.h>
8 #include <errno.h> 8 #include <errno.h>
9 #include <errno.h> 9 #include <errno.h>
10 #include <fcntl.h> 10 #include <fcntl.h>
11 #include <iostream>
12 #include <linux/unistd.h> 11 #include <linux/unistd.h>
13 #include <set> 12 #include <set>
14 #include <signal.h> 13 #include <signal.h>
15 #include <stdarg.h> 14 #include <stdarg.h>
16 #include <stdio.h> 15 #include <stdio.h>
17 #include <stdlib.h> 16 #include <stdlib.h>
18 #include <sys/ptrace.h> 17 #include <sys/ptrace.h>
19 #include <sys/resource.h> 18 #include <sys/resource.h>
20 #include <sys/stat.h> 19 #include <sys/stat.h>
21 #include <sys/types.h> 20 #include <sys/types.h>
(...skipping 1178 matching lines...) Expand 10 before | Expand all | Expand 10 after
1200 } 1199 }
1201 iter = symbols_.find("__kernel_rt_sigreturn"); 1200 iter = symbols_.find("__kernel_rt_sigreturn");
1202 if (iter != symbols_.end() && iter->second.st_value) { 1201 if (iter != symbols_.end() && iter->second.st_value) {
1203 __kernel_rt_sigreturn = asr_offset_ + iter->second.st_value; 1202 __kernel_rt_sigreturn = asr_offset_ + iter->second.st_value;
1204 } 1203 }
1205 1204
1206 return true; 1205 return true;
1207 } 1206 }
1208 1207
1209 } // namespace 1208 } // namespace
OLDNEW
« no previous file with comments | « net/tools/flip_server/create_listener.cc ('k') | sandbox/linux/seccomp/maps.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698