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

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

Issue 672011: Added missing copyright header. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « sandbox/linux/seccomp/securemem.cc ('k') | sandbox/linux/seccomp/stat.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.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
1 #include "debug.h" 5 #include "debug.h"
2 #include "sandbox_impl.h" 6 #include "sandbox_impl.h"
3 7
4 namespace playground { 8 namespace playground {
5 9
6 #if defined(__NR_socket) 10 #if defined(__NR_socket)
7 11
8 ssize_t Sandbox::sandbox_recvfrom(int sockfd, void* buf, size_t len, int flags, 12 ssize_t Sandbox::sandbox_recvfrom(int sockfd, void* buf, size_t len, int flags,
9 void* from, socklen_t* fromlen) { 13 void* from, socklen_t* fromlen) {
10 Debug::syscall(__NR_recvfrom, "Executing handler"); 14 Debug::syscall(__NR_recvfrom, "Executing handler");
(...skipping 994 matching lines...) Expand 10 before | Expand all | Expand 10 after
1005 default: 1009 default:
1006 deny: 1010 deny:
1007 SecureMem::abandonSystemCall(threadFd, rc); 1011 SecureMem::abandonSystemCall(threadFd, rc);
1008 return false; 1012 return false;
1009 } 1013 }
1010 } 1014 }
1011 1015
1012 #endif 1016 #endif
1013 1017
1014 } // namespace 1018 } // namespace
OLDNEW
« no previous file with comments | « sandbox/linux/seccomp/securemem.cc ('k') | sandbox/linux/seccomp/stat.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698