HomeSort by relevance Sort by last modified time
    Searched defs:Sandbox (Results 1 - 3 of 3) sorted by null

  /external/chromium_org/content/common/
sandbox_mac.h 30 // Class representing a substring of the sandbox profile tagged with its type.
57 class CONTENT_EXPORT Sandbox {
64 // sandbox is turned on. |sandbox_type| is the type of sandbox to warm up.
70 // Turns on the OS X sandbox for this process.
71 // |sandbox_type| - type of Sandbox to use. See SandboxWarmup() for legal
73 // |allowed_dir| - directory to allow access to, currently the only sandbox
76 // Returns true on success, false if an error occurred enabling the sandbox.
80 // Returns true if the sandbox has been enabled for the current process.
86 // Build the Sandbox command necessary to allow access to a named director
    [all...]
  /external/chromium_org/sandbox/linux/seccomp-bpf/
sandbox_bpf.h 19 #include "sandbox/linux/seccomp-bpf/die.h"
20 #include "sandbox/linux/seccomp-bpf/errorcode.h"
21 #include "sandbox/linux/seccomp-bpf/linux_seccomp.h"
22 #include "sandbox/linux/seccomp-bpf/port.h"
23 #include "sandbox/linux/seccomp-bpf/sandbox_bpf_policy_forward.h"
44 class Sandbox {
51 STATUS_ENABLED // The sandbox is now active
55 // ErrorCode (Sandbox *sb, int sysnum, void *aux);
57 // pointer in |aux|. This pointer will then be forwarded to the sandbox
69 // NOTE: Setting a policy and starting the sandbox is a one-way operation
    [all...]
sandbox_bpf.cc 26 #include "sandbox/linux/seccomp-bpf/codegen.h"
27 #include "sandbox/linux/seccomp-bpf/sandbox_bpf.h"
28 #include "sandbox/linux/seccomp-bpf/syscall.h"
29 #include "sandbox/linux/seccomp-bpf/syscall_iterator.h"
30 #include "sandbox/linux/seccomp-bpf/verifier.h"
36 using playground2::Sandbox;
64 // We define a really simple sandbox policy. It is just good enough for us
65 // to tell that the sandbox has actually been activated.
66 ErrorCode ProbeEvaluator(Sandbox *, int sysnum, void *) __attribute__((const));
67 ErrorCode ProbeEvaluator(Sandbox *, int sysnum, void *)
174 Sandbox *sandbox = static_cast<Sandbox *>(aux); local
402 Sandbox sandbox; local
    [all...]

Completed in 69 milliseconds