mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Qualify uses of std::string
PiperOrigin-RevId: 297528932 Change-Id: I750c43e356be55a5bd37a8bb59d998238bd8f1bb
This commit is contained in:
parent
edd6b437ae
commit
a5d931ec5f
|
@ -41,6 +41,8 @@
|
|||
#include "sandboxed_api/sandbox2/util/bpf_helper.h"
|
||||
#include "sandboxed_api/sandbox2/util/runfiles.h"
|
||||
|
||||
using std::string;
|
||||
|
||||
ABSL_FLAG(string, input, "", "Input to calculate CRC4 of.");
|
||||
ABSL_FLAG(bool, call_syscall_not_allowed, false,
|
||||
"Have sandboxee call clone (violation).");
|
||||
|
|
|
@ -44,6 +44,8 @@
|
|||
#include "sandboxed_api/sandbox2/util.h"
|
||||
#include "sandboxed_api/sandbox2/util/bpf_helper.h"
|
||||
|
||||
using std::string;
|
||||
|
||||
ABSL_FLAG(bool, sandbox2tool_keep_env, false,
|
||||
"Keep current environment variables");
|
||||
ABSL_FLAG(bool, sandbox2tool_redirect_fd1, false,
|
||||
|
|
|
@ -40,6 +40,8 @@
|
|||
#include "sandboxed_api/sandbox2/util/bpf_helper.h"
|
||||
#include "sandboxed_api/sandbox2/util/runfiles.h"
|
||||
|
||||
using std::string;
|
||||
|
||||
ABSL_FLAG(string, input, "", "Input file");
|
||||
ABSL_FLAG(string, output, "", "Output file");
|
||||
ABSL_FLAG(bool, decompress, false, "Decompress instead of compress.");
|
||||
|
|
|
@ -63,6 +63,8 @@
|
|||
#include "sandboxed_api/sandbox2/util.h"
|
||||
#include "sandboxed_api/util/raw_logging.h"
|
||||
|
||||
using std::string;
|
||||
|
||||
ABSL_FLAG(bool, sandbox2_report_on_sandboxee_signal, true,
|
||||
"Report sandbox2 sandboxee deaths caused by signals");
|
||||
|
||||
|
|
|
@ -35,6 +35,8 @@
|
|||
#include "sandboxed_api/sandbox2/syscall.h"
|
||||
#include "sandboxed_api/sandbox2/util/bpf_helper.h"
|
||||
|
||||
using std::string;
|
||||
|
||||
ABSL_FLAG(bool, sandbox2_danger_danger_permit_all, false,
|
||||
"Allow all syscalls, useful for testing");
|
||||
ABSL_FLAG(string, sandbox2_danger_danger_permit_all_and_log, "",
|
||||
|
|
Loading…
Reference in New Issue
Block a user