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

Side by Side Diff: src/untrusted/irt/nacl.scons

Issue 11141016: mprotect system call exposed to the untrusted code. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Removed leftover code. 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
« no previous file with comments | « src/untrusted/irt/irt_interfaces.c ('k') | src/untrusted/nacl/sys_private.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # -*- python -*- 1 # -*- python -*-
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 6
7 Import('env') 7 Import('env')
8 8
9 # This module shouldn't be built in an environment that uses glibc. 9 # This module shouldn't be built in an environment that uses glibc.
10 if env.Bit('nacl_glibc'): 10 if env.Bit('nacl_glibc'):
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 'irt_dyncode.c', 45 'irt_dyncode.c',
46 'irt_thread.c', 46 'irt_thread.c',
47 'irt_mutex.c', 47 'irt_mutex.c',
48 'irt_cond.c', 48 'irt_cond.c',
49 'irt_sem.c', 49 'irt_sem.c',
50 'irt_tls.c', 50 'irt_tls.c',
51 'irt_blockhook.c', 51 'irt_blockhook.c',
52 'irt_clock.c', 52 'irt_clock.c',
53 'irt_dev_getpid.c', 53 'irt_dev_getpid.c',
54 'irt_dev_exception_handling.c', 54 'irt_dev_exception_handling.c',
55 'irt_dev_mprotect.c',
55 'irt_nameservice.c', 56 'irt_nameservice.c',
56 'irt_random.c', 57 'irt_random.c',
57 ] 58 ]
58 59
59 # These are the objects and libraries that go into every IRT image. 60 # These are the objects and libraries that go into every IRT image.
60 irt_support_objs = [blob_env.ComponentObject(x) for x in 61 irt_support_objs = [blob_env.ComponentObject(x) for x in
61 (irt_support_sources + irt_common_interfaces)] 62 (irt_support_sources + irt_common_interfaces)]
62 63
63 # We also get nc_init_private.c, nc_thread.c and nc_tsd.c via 64 # We also get nc_init_private.c, nc_thread.c and nc_tsd.c via
64 # #includes of .c files. 65 # #includes of .c files.
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 if env.Bit('bitcode'): 142 if env.Bit('bitcode'):
142 check_tls_arch = 'arm-pnacl' 143 check_tls_arch = 'arm-pnacl'
143 else: 144 else:
144 check_tls_arch = 'arm-gcc' 145 check_tls_arch = 'arm-gcc'
145 node = env.CommandTest('irt_core_tls_test.out', 146 node = env.CommandTest('irt_core_tls_test.out',
146 ['${PYTHON}', env.File('check_tls.py'), 147 ['${PYTHON}', env.File('check_tls.py'),
147 check_tls_arch, '${OBJDUMP}', irt_core_library], 148 check_tls_arch, '${OBJDUMP}', irt_core_library],
148 # don't run ${PYTHON} under the emulator. 149 # don't run ${PYTHON} under the emulator.
149 direct_emulation=False) 150 direct_emulation=False)
150 env.AddNodeToTestSuite(node, ['small_tests'], 'run_irt_core_tls_test') 151 env.AddNodeToTestSuite(node, ['small_tests'], 'run_irt_core_tls_test')
OLDNEW
« no previous file with comments | « src/untrusted/irt/irt_interfaces.c ('k') | src/untrusted/nacl/sys_private.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698