Home
last modified time | relevance | path

Searched refs:sandbox (Results 1 – 25 of 294) sorted by relevance

12345678910>>...12

/external/ltp/testscripts/
Dtest_fs_bind.sh83 sandbox="${TMPDIR}/sandbox"
103 mkdir "${sandbox}" >& /dev/null
104 if [ ! -d "${sandbox}" -o ! -x "${sandbox}" ]; then
105 tst_brkm TBROK true "$0: failed to make directory \"${sandbox}\""
109 mount --bind "${sandbox}" "${sandbox}" >& /dev/null
111 tst_brkm TBROK true "$0: failed to perform bind mount on directory \"${sandbox}\""
115 mount --make-private "${sandbox}" >& /dev/null
117 tst_brkm TBROK true "$0: failed to make private mountpoint on directory \"${sandbox}\""
124 pushd "${sandbox}" > /dev/null && {
162 …mount --make-shared "${sandbox}" > /dev/null 2>&1 || "${FS_BIND_ROOT}/bin/smount" "${sandbox}" sha…
[all …]
/external/libchrome/sandbox/
DBUILD.gn6 group("sandbox") {
9 "//sandbox/win:sandbox",
13 "//sandbox/mac:sandbox",
14 "//sandbox/mac:seatbelt",
18 "//sandbox/linux:sandbox",
/external/libchrome/sandbox/linux/seccomp-bpf/
Dbpf_tests.h16 namespace sandbox {
37 sandbox::SandboxBPFTestRunner bpf_test_runner( \
38 new sandbox::BPFTesterSimpleDelegate<bpf_policy_class_name>( \
40 sandbox::UnitTests::RunTestInProcess(&bpf_test_runner, death); \
56 sandbox::SandboxBPFTestRunner bpf_test_runner( \
58 sandbox::UnitTests::RunTestInProcess(&bpf_test_runner, death); \
91 sandbox::SandboxBPFTestRunner bpf_test_runner( \
92 new sandbox::BPFTesterCompatibilityDelegate<policy, aux>( \
94 sandbox::UnitTests::RunTestInProcess(&bpf_test_runner, death); \
Ddie.h11 namespace sandbox {
15 #define SANDBOX_DIE(m) sandbox::Die::SandboxDie(m, __FILE__, __LINE__)
19 #define RAW_SANDBOX_DIE(m) sandbox::Die::RawSandboxDie(m)
22 #define SANDBOX_INFO(m) sandbox::Die::SandboxInfo(m, __FILE__, __LINE__)
DDEPS2 "+sandbox/linux/bpf_dsl",
3 "+sandbox/linux/services",
4 "+sandbox/linux/system_headers",
Dbpf_tests_unittest.cc26 using sandbox::bpf_dsl::Allow;
27 using sandbox::bpf_dsl::Error;
28 using sandbox::bpf_dsl::ResultExpr;
30 namespace sandbox { namespace
Dsyscall_unittest.cc29 using sandbox::bpf_dsl::Allow;
30 using sandbox::bpf_dsl::ResultExpr;
31 using sandbox::bpf_dsl::Trap;
33 namespace sandbox { namespace
/external/selinux/sandbox/
DMakefile11 SHAREDIR ?= $(PREFIX)/share/sandbox
16 all: sandbox seunshare sandboxX.sh start
22 install -m 755 sandbox $(BINDIR)
24 install -m 644 sandbox.8 $(MANDIR)/man8/
27 install -m 644 sandbox.5 $(MANDIR)/man5/
34 install -m 644 sandbox.conf $(SYSCONFDIR)/sandbox
/external/libchrome/sandbox/linux/integration_tests/
DDEPS2 "+sandbox/linux/bpf_dsl",
3 "+sandbox/linux/seccomp-bpf",
4 "+sandbox/linux/services",
5 "+sandbox/linux/syscall_broker",
6 "+sandbox/linux/system_headers",
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/
DDEPS2 "+sandbox/linux/bpf_dsl",
3 "+sandbox/linux/seccomp-bpf",
4 "+sandbox/linux/services",
5 "+sandbox/linux/system_headers",
Dsyscall_parameters_restrictions_unittests.cc36 namespace sandbox { namespace
43 using sandbox::bpf_dsl::Allow;
44 using sandbox::bpf_dsl::ResultExpr;
92 DEATH_SEGV_MESSAGE(sandbox::GetErrorMessageContentForTests()), in BPF_DEATH_TEST_C()
101 DEATH_SEGV_MESSAGE(sandbox::GetErrorMessageContentForTests()), in BPF_DEATH_TEST_C()
175 DEATH_SEGV_MESSAGE(sandbox::GetErrorMessageContentForTests()), in BPF_DEATH_TEST_C()
204 DEATH_SEGV_MESSAGE(sandbox::GetErrorMessageContentForTests()), in BPF_DEATH_TEST_C()
233 DEATH_SEGV_MESSAGE(sandbox::GetErrorMessageContentForTests()), in BPF_DEATH_TEST_C()
Dsyscall_parameters_restrictions.cc113 using sandbox::bpf_dsl::Allow;
114 using sandbox::bpf_dsl::Arg;
115 using sandbox::bpf_dsl::BoolExpr;
116 using sandbox::bpf_dsl::Error;
117 using sandbox::bpf_dsl::If;
118 using sandbox::bpf_dsl::ResultExpr;
120 namespace sandbox { namespace
Dbaseline_policy.cc31 using sandbox::bpf_dsl::Allow;
32 using sandbox::bpf_dsl::Arg;
33 using sandbox::bpf_dsl::Error;
34 using sandbox::bpf_dsl::If;
35 using sandbox::bpf_dsl::ResultExpr;
37 namespace sandbox { namespace
Dbaseline_policy_unittest.cc45 namespace sandbox { namespace
346 DEATH_SEGV_MESSAGE(sandbox::GetErrorMessageContentForTests()), in BPF_DEATH_TEST_C()
355 DEATH_SEGV_MESSAGE(sandbox::GetErrorMessageContentForTests()), in BPF_DEATH_TEST_C()
366 DEATH_SEGV_MESSAGE(sandbox::GetErrorMessageContentForTests()), in BPF_DEATH_TEST_C()
377 DEATH_SEGV_MESSAGE(sandbox::GetErrorMessageContentForTests()), in BPF_DEATH_TEST_C()
388 DEATH_SEGV_MESSAGE(sandbox::GetErrorMessageContentForTests()), in BPF_DEATH_TEST_C()
/external/libchrome/sandbox/linux/
DDEPS11 # sandbox/ explicitly.
12 "-sandbox/linux",
15 # Anything included from sandbox/linux must be declared after this line or in
22 "+sandbox/sandbox_export.h",
24 "+sandbox/linux/tests",
Dsandbox_linux.gypi37 # We have two principal targets: sandbox and sandbox_linux_unittests
40 # the setuid sandbox and is its own target.
42 'target_name': 'sandbox',
196 # The setuid sandbox, for Linux
200 'suid/common/sandbox.h',
204 'suid/sandbox.c',
305 'suid/common/sandbox.h',
348 '<(SHARED_INTERMEDIATE_DIR)/sandbox/linux/bpf_dsl/golden/golden_files.h',
353 '<(SHARED_INTERMEDIATE_DIR)/sandbox/linux/bpf_dsl/golden/golden_files.h',
DBUILD.gn30 # We have two principal targets: sandbox and sandbox_linux_unittests
33 # the setuid sandbox and is its own target.
35 group("sandbox") {
111 ":sandbox",
289 # The setuid sandbox for Linux.
292 "suid/common/sandbox.h",
296 "suid/sandbox.c",
432 "suid/common/sandbox.h",
446 "suid/common/sandbox.h",
/external/libchrome/sandbox/win/
Dsandbox_win.gypi14 # of the Windows sandbox library.
104 'src/sandbox.cc',
105 'src/sandbox.h',
166 'target_name': 'sandbox',
199 'sandbox',
266 'sandbox',
288 'sandbox',
314 'sandbox',
321 'sandbox_poc/sandbox.cc',
322 'sandbox_poc/sandbox.h',
[all …]
DBUILD.gn11 static_library("sandbox") {
88 "src/sandbox.cc",
89 "src/sandbox.h",
213 ":sandbox",
251 ":sandbox",
279 ":sandbox",
290 "sandbox_poc/sandbox.cc",
291 "sandbox_poc/sandbox.h",
292 "sandbox_poc/sandbox.ico",
293 "sandbox_poc/sandbox.rc",
[all …]
/external/libchrome/sandbox/linux/services/
Dnamespace_sandbox_unittest.cc29 namespace sandbox { namespace
114 CHECK(sandbox::Credentials::MoveToNewUserNS()); in MULTIPROCESS_TEST_MAIN()
115 CHECK(sandbox::Credentials::DropFileSystemAccess(ProcUtil::OpenProc().get())); in MULTIPROCESS_TEST_MAIN()
156 CHECK(sandbox::Credentials::MoveToNewUserNS()); in SANDBOX_TEST_ALLOW_NOISE()
178 CHECK(sandbox::Credentials::MoveToNewUserNS()); in SANDBOX_TEST()
200 CHECK(sandbox::Credentials::MoveToNewUserNS()); in SANDBOX_TEST()
/external/libchrome/sandbox/linux/bpf_dsl/
Dbpf_dsl_forward.h12 namespace sandbox {
40 shared_ptr<const sandbox::bpf_dsl::internal::BoolExprImpl>;
42 shared_ptr<const sandbox::bpf_dsl::internal::ResultExprImpl>;
/external/libchrome/sandbox/mac/
DBUILD.gn8 component("sandbox") {
42 libs = [ "sandbox" ]
59 ":sandbox",
/external/swiftshader/third_party/subzero/pydir/
Dcrosstest.py102 if args.sandbox:
151 '--sandbox=' + str(args.sandbox),
162 if args.target == 'mips32' and args.sandbox
226 if args.sandbox else
266 if not args.sandbox and not args.nonsfi:
275 elif args.sandbox:
/external/autotest/client/cros/
Dwebstore_test.py105 TestEnv.sandbox: 'staging.sandbox',
110 TestEnv.sandbox: 'download-staging.sandbox',
130 def initialize(self, test_env=TestEnv.sandbox,
148 TestEnv.sandbox:
/external/autotest/client/site_tests/security_SandboxStatus/
Dcontrol15 Checks the status of the sandbox by looking at chrome://sandbox and

12345678910>>...12