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

Side by Side Diff: sandbox/linux/system_headers/android_ucontext.h

Issue 1029283003: WIP: Implement seccomp-bpf sandbox for nacl_helper_nonsfi. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #ifndef SANDBOX_LINUX_SYSTEM_HEADERS_ANDROID_UCONTEXT_H_ 5 #ifndef SANDBOX_LINUX_SYSTEM_HEADERS_ANDROID_UCONTEXT_H_
6 #define SANDBOX_LINUX_SYSTEM_HEADERS_ANDROID_UCONTEXT_H_ 6 #define SANDBOX_LINUX_SYSTEM_HEADERS_ANDROID_UCONTEXT_H_
7 7
8 #if defined(__ANDROID__) 8 #if defined(__ANDROID__) || defined(OS_NACL_NONSFI)
9 9
10 #if defined(__arm__) 10 #if defined(__arm__)
11 #include "sandbox/linux/system_headers/android_arm_ucontext.h" 11 #include "sandbox/linux/system_headers/android_arm_ucontext.h"
12 #elif defined(__i386__) 12 #elif defined(__i386__)
13 #include "sandbox/linux/system_headers/android_i386_ucontext.h" 13 #include "sandbox/linux/system_headers/android_i386_ucontext.h"
14 #elif defined(__x86_64__) 14 #elif defined(__x86_64__)
15 #include "sandbox/linux/system_headers/android_x86_64_ucontext.h" 15 #include "sandbox/linux/system_headers/android_x86_64_ucontext.h"
16 #elif defined(__mips__) 16 #elif defined(__mips__)
17 #include "sandbox/linux/system_headers/android_mips_ucontext.h" 17 #include "sandbox/linux/system_headers/android_mips_ucontext.h"
18 #elif defined(__aarch64__) 18 #elif defined(__aarch64__)
19 #include "sandbox/linux/system_headers/android_arm64_ucontext.h" 19 #include "sandbox/linux/system_headers/android_arm64_ucontext.h"
20 #else 20 #else
21 #error "No support for your architecture in Android header" 21 #error "No support for your architecture in Android header"
22 #endif 22 #endif
23 23
24 #else // __ANDROID__ 24 #else // __ANDROID__
25 #error "Android header file included on non Android." 25 #error "Android header file included on non Android."
26 #endif // __ANDROID__ 26 #endif // __ANDROID__
27 27
28 #endif // SANDBOX_LINUX_SYSTEM_HEADERS_ANDROID_UCONTEXT_H_ 28 #endif // SANDBOX_LINUX_SYSTEM_HEADERS_ANDROID_UCONTEXT_H_
OLDNEW
« no previous file with comments | « sandbox/linux/system_headers/android_i386_ucontext.h ('k') | sandbox/linux/system_headers/linux_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698