Qualify uses of std::string

PiperOrigin-RevId: 297528932
Change-Id: I750c43e356be55a5bd37a8bb59d998238bd8f1bb
This commit is contained in:
Sandboxed API Team 2020-02-27 00:03:29 -08:00 committed by Copybara-Service
parent edd6b437ae
commit a5d931ec5f
5 changed files with 10 additions and 0 deletions

View File

@ -41,6 +41,8 @@
#include "sandboxed_api/sandbox2/util/bpf_helper.h" #include "sandboxed_api/sandbox2/util/bpf_helper.h"
#include "sandboxed_api/sandbox2/util/runfiles.h" #include "sandboxed_api/sandbox2/util/runfiles.h"
using std::string;
ABSL_FLAG(string, input, "", "Input to calculate CRC4 of."); ABSL_FLAG(string, input, "", "Input to calculate CRC4 of.");
ABSL_FLAG(bool, call_syscall_not_allowed, false, ABSL_FLAG(bool, call_syscall_not_allowed, false,
"Have sandboxee call clone (violation)."); "Have sandboxee call clone (violation).");

View File

@ -44,6 +44,8 @@
#include "sandboxed_api/sandbox2/util.h" #include "sandboxed_api/sandbox2/util.h"
#include "sandboxed_api/sandbox2/util/bpf_helper.h" #include "sandboxed_api/sandbox2/util/bpf_helper.h"
using std::string;
ABSL_FLAG(bool, sandbox2tool_keep_env, false, ABSL_FLAG(bool, sandbox2tool_keep_env, false,
"Keep current environment variables"); "Keep current environment variables");
ABSL_FLAG(bool, sandbox2tool_redirect_fd1, false, ABSL_FLAG(bool, sandbox2tool_redirect_fd1, false,

View File

@ -40,6 +40,8 @@
#include "sandboxed_api/sandbox2/util/bpf_helper.h" #include "sandboxed_api/sandbox2/util/bpf_helper.h"
#include "sandboxed_api/sandbox2/util/runfiles.h" #include "sandboxed_api/sandbox2/util/runfiles.h"
using std::string;
ABSL_FLAG(string, input, "", "Input file"); ABSL_FLAG(string, input, "", "Input file");
ABSL_FLAG(string, output, "", "Output file"); ABSL_FLAG(string, output, "", "Output file");
ABSL_FLAG(bool, decompress, false, "Decompress instead of compress."); ABSL_FLAG(bool, decompress, false, "Decompress instead of compress.");

View File

@ -63,6 +63,8 @@
#include "sandboxed_api/sandbox2/util.h" #include "sandboxed_api/sandbox2/util.h"
#include "sandboxed_api/util/raw_logging.h" #include "sandboxed_api/util/raw_logging.h"
using std::string;
ABSL_FLAG(bool, sandbox2_report_on_sandboxee_signal, true, ABSL_FLAG(bool, sandbox2_report_on_sandboxee_signal, true,
"Report sandbox2 sandboxee deaths caused by signals"); "Report sandbox2 sandboxee deaths caused by signals");

View File

@ -35,6 +35,8 @@
#include "sandboxed_api/sandbox2/syscall.h" #include "sandboxed_api/sandbox2/syscall.h"
#include "sandboxed_api/sandbox2/util/bpf_helper.h" #include "sandboxed_api/sandbox2/util/bpf_helper.h"
using std::string;
ABSL_FLAG(bool, sandbox2_danger_danger_permit_all, false, ABSL_FLAG(bool, sandbox2_danger_danger_permit_all, false,
"Allow all syscalls, useful for testing"); "Allow all syscalls, useful for testing");
ABSL_FLAG(string, sandbox2_danger_danger_permit_all_and_log, "", ABSL_FLAG(string, sandbox2_danger_danger_permit_all_and_log, "",