OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:allowed_dir
(Results
1 - 4
of
4
) sorted by null
/external/chromium_org/content/common/
sandbox_init_mac.cc
15
bool InitializeSandbox(int sandbox_type, const base::FilePath&
allowed_dir
) {
20
return Sandbox::EnableSandbox(sandbox_type,
allowed_dir
);
23
// Fill in |sandbox_type| and |
allowed_dir
| based on the command line, returns
27
base::FilePath*
allowed_dir
) {
29
DCHECK(
allowed_dir
);
32
*
allowed_dir
= base::FilePath(); // Empty by default.
48
*
allowed_dir
=
73
base::FilePath
allowed_dir
;
local
74
if (!GetSandboxTypeFromCommandLine(&sandbox_type, &
allowed_dir
))
76
return InitializeSandbox(sandbox_type,
allowed_dir
);
[
all
...]
sandbox_mac.h
73
// |
allowed_dir
| - directory to allow access to, currently the only sandbox
78
const base::FilePath&
allowed_dir
);
87
// indicated by |
allowed_dir
|.
96
const base::FilePath&
allowed_dir
,
sandbox_mac.mm
336
const base::FilePath&
allowed_dir
,
351
base::FilePath allowed_dir_canonical = GetCanonicalSandboxPath(
allowed_dir
);
359
(*substitutions)["
ALLOWED_DIR
"] =
365
" (regex #\"@
ALLOWED_DIR
@\") )"];
499
const base::FilePath&
allowed_dir
) {
504
DCHECK(
allowed_dir
.empty())
514
if (!
allowed_dir
.empty()) {
519
BuildAllowDirectoryAccessSandboxString(
allowed_dir
, &substitutions);
sandbox_mac_diraccess_unittest.mm
197
std::string
allowed_dir
(sandbox_allowed_dir);
Completed in 41 milliseconds