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

Side by Side Diff: src/trusted/nonnacl_util/sel_ldr_launcher.h

Issue 10914138: Split secure command channel and untrusted application channel (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 8 years, 3 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
OLDNEW
1 /* -*- c++ -*- */ 1 /* -*- c++ -*- */
2 /* 2 /*
3 * Copyright (c) 2012 The Native Client Authors. All rights reserved. 3 * Copyright (c) 2012 The Native Client Authors. All rights reserved.
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 8
9 // Utility class for launching sel_ldr. 9 // Utility class for launching sel_ldr.
10 10
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 virtual bool Start(const char* url) = 0; 79 virtual bool Start(const char* url) = 0;
80 80
81 ///////////////////////////////////////////////////////////////////////////// 81 /////////////////////////////////////////////////////////////////////////////
82 // After starting the sel_ldr process. 82 // After starting the sel_ldr process.
83 ///////////////////////////////////////////////////////////////////////////// 83 /////////////////////////////////////////////////////////////////////////////
84 84
85 // Sets up the command channel |command|. 85 // Sets up the command channel |command|.
86 bool SetupCommand(NaClSrpcChannel* command); 86 bool SetupCommand(NaClSrpcChannel* command);
87 87
88 // Sets up the (|secure|) command channel |command|.
bsy 2012/09/07 17:15:53 is this a stale comment? |secure|? no such parame
Petr Hosek 2012/09/11 18:16:09 Fixed.
89 bool SetupUntrustedCommand(NaClSrpcChannel* command);
90
88 // Load |nexe| over the command channel |command|. 91 // Load |nexe| over the command channel |command|.
89 bool LoadModule(NaClSrpcChannel* command, DescWrapper* nexe); 92 bool LoadModule(NaClSrpcChannel* command, DescWrapper* nexe);
90 93
91 // Sets up the command channel |command| and sends the SRPC to load |nexe|. 94 // Sets up the command channel |command| and sends the SRPC to load |nexe|.
92 bool SetupCommandAndLoad(NaClSrpcChannel* command, DescWrapper* nexe); 95 bool SetupCommandAndLoad(NaClSrpcChannel* command, DescWrapper* nexe);
93 96
94 // Load integrated runtime |irt| over the command channel |command|. 97 // Load integrated runtime |irt| over the command channel |command|.
95 bool LoadIrt(NaClSrpcChannel* command, DescWrapper* irt); 98 bool LoadIrt(NaClSrpcChannel* command, DescWrapper* irt);
96 99
97 // Sends the SRPC to start the nexe over |command|. 100 // Sends the SRPC to start the nexe over |command|.
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 std::vector<nacl::string> application_argv_; 208 std::vector<nacl::string> application_argv_;
206 209
207 std::vector<Handle> close_after_launch_; 210 std::vector<Handle> close_after_launch_;
208 211
209 scoped_ptr<SelLdrLocator> sel_ldr_locator_; 212 scoped_ptr<SelLdrLocator> sel_ldr_locator_;
210 }; 213 };
211 214
212 } // namespace nacl 215 } // namespace nacl
213 216
214 #endif // NATIVE_CLIENT_SRC_TRUSTED_NONNACL_UTIL_SEL_LDR_LAUNCHER_H_ 217 #endif // NATIVE_CLIENT_SRC_TRUSTED_NONNACL_UTIL_SEL_LDR_LAUNCHER_H_
OLDNEW
« no previous file with comments | « src/trusted/manifest_name_service_proxy/manifest_proxy.c ('k') | src/trusted/nonnacl_util/sel_ldr_launcher_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698