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

Side by Side Diff: src/trusted/sel_universal/rpc_universal.cc

Issue 298443002: Remove unused support for SysV shared memory (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 6 years, 7 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 /* 1 /*
2 * Copyright (c) 2011 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2011 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 /* 7 /*
8 * NaCl testing shell 8 * NaCl testing shell
9 */ 9 */
10 10
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 // in the handler install call. 431 // in the handler install call.
432 printf("Commands:\n"); 432 printf("Commands:\n");
433 printf(" # <anything>\n"); 433 printf(" # <anything>\n");
434 printf(" comment\n"); 434 printf(" comment\n");
435 printf(" show_descriptors\n"); 435 printf(" show_descriptors\n");
436 printf(" print the table of known descriptors (handles)\n"); 436 printf(" print the table of known descriptors (handles)\n");
437 printf(" show_variables\n"); 437 printf(" show_variables\n");
438 printf(" print the table of variables and their values\n"); 438 printf(" print the table of variables and their values\n");
439 printf(" set_variable <name> <value>\n"); 439 printf(" set_variable <name> <value>\n");
440 printf(" set variable to the given value\n"); 440 printf(" set variable to the given value\n");
441 printf(" sysv\n");
442 printf(" create a descriptor for an SysV shared memory (Linux only)\n");
443 printf(" rpc method_name <in_args> * <out_args>\n"); 441 printf(" rpc method_name <in_args> * <out_args>\n");
444 printf(" Invoke method_name.\n"); 442 printf(" Invoke method_name.\n");
445 printf(" Each in_arg is of form 'type(value)', e.g. i(42), s(\"foo\").\n"); 443 printf(" Each in_arg is of form 'type(value)', e.g. i(42), s(\"foo\").\n");
446 printf(" Each out_arg is of form 'type', e.g. i, s.\n"); 444 printf(" Each out_arg is of form 'type', e.g. i, s.\n");
447 printf(" service\n"); 445 printf(" service\n");
448 printf(" print the methods found by service_discovery\n"); 446 printf(" print the methods found by service_discovery\n");
449 printf(" install_upcalls <name>\n"); 447 printf(" install_upcalls <name>\n");
450 printf(" install upcalls and set variable name to the service_string\n"); 448 printf(" install upcalls and set variable name to the service_string\n");
451 printf(" echo <args>*\n"); 449 printf(" echo <args>*\n");
452 printf(" print rest of line - performs variable substitution\n"); 450 printf(" print rest of line - performs variable substitution\n");
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 if (!fgets(buffer, sizeof(buffer), stdin)) 673 if (!fgets(buffer, sizeof(buffer), stdin))
676 break; 674 break;
677 675
678 int result = ProcessOneCommand(buffer); 676 int result = ProcessOneCommand(buffer);
679 if (result == 1) break; 677 if (result == 1) break;
680 if (result == -1 && abort_on_error) return false; 678 if (result == -1 && abort_on_error) return false;
681 } 679 }
682 NaClLog(1, "exiting print eval loop\n"); 680 NaClLog(1, "exiting print eval loop\n");
683 return true; 681 return true;
684 } 682 }
OLDNEW
« no previous file with comments | « src/trusted/platform_qualify/posix/nacl_dep_qualify.c ('k') | src/trusted/sel_universal/rpc_universal_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698