Home
last modified time | relevance | path

Searched refs:RAW_CHECK (Results 1 – 17 of 17) sorted by relevance

/external/libchrome/sandbox/linux/services/
Dnamespace_utils_unittest.cc51 RAW_CHECK(NamespaceUtils::DenySetgroups()); in SANDBOX_TEST()
54 RAW_CHECK(getuid() != uid); in SANDBOX_TEST()
55 RAW_CHECK(NamespaceUtils::WriteToIdMapFile("/proc/self/uid_map", uid)); in SANDBOX_TEST()
56 RAW_CHECK(getuid() == uid); in SANDBOX_TEST()
58 RAW_CHECK(getgid() != gid); in SANDBOX_TEST()
59 RAW_CHECK(NamespaceUtils::WriteToIdMapFile("/proc/self/gid_map", gid)); in SANDBOX_TEST()
60 RAW_CHECK(getgid() == gid); in SANDBOX_TEST()
Dnamespace_utils.cc52 RAW_CHECK(IGNORE_EINTR(close(fd)) == 0); in WriteToIdMapFile()
114 RAW_CHECK(IGNORE_EINTR(close(fd)) == 0); in DenySetgroups()
Dnamespace_sandbox.cc52 RAW_CHECK(NamespaceUtils::DenySetgroups()); in RunAsyncSafe()
54 RAW_CHECK(NamespaceUtils::WriteToIdMapFile("/proc/self/uid_map", uid_)); in RunAsyncSafe()
55 RAW_CHECK(NamespaceUtils::WriteToIdMapFile("/proc/self/gid_map", gid_)); in RunAsyncSafe()
Dcredentials.cc69 RAW_CHECK(sys_chroot("/proc/self/fdinfo/") == 0); in ChrootToSelfFdinfo()
73 RAW_CHECK(chdir("/") == 0); in ChrootToSelfFdinfo()
/external/libchrome/sandbox/linux/syscall_broker/
Dbroker_client.cc40 RAW_CHECK(syscall_type == COMMAND_OPEN || syscall_type == COMMAND_ACCESS); in PathAndFlagsSyscall()
50 RAW_CHECK(kCurrentProcessOpenFlagsMask == O_CLOEXEC); in PathAndFlagsSyscall()
75 RAW_CHECK(write_pickle.size() <= kMaxMessageLength); in PathAndFlagsSyscall()
102 RAW_CHECK(returned_fd == -1); in PathAndFlagsSyscall()
106 RAW_CHECK(returned_fd == -1); in PathAndFlagsSyscall()
110 RAW_CHECK(returned_fd >= 0); in PathAndFlagsSyscall()
Dbroker_process.cc110 RAW_CHECK(initialized_); in Access()
115 RAW_CHECK(initialized_); in Open()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_printf.cc48 RAW_CHECK(base == 10 || base == 16); in AppendNumber()
49 RAW_CHECK(base == 10 || !negative); in AppendNumber()
50 RAW_CHECK(absolute_value || !negative); in AppendNumber()
51 RAW_CHECK(minimal_num_length < kMaxLen); in AppendNumber()
70 RAW_CHECK(pos > 0); in AppendNumber()
123 RAW_CHECK(format); in VSNPrintf()
124 RAW_CHECK(buff_length > 0); in VSNPrintf()
200 RAW_CHECK(buff <= buff_end); in VSNPrintf()
Dsanitizer_stoptheworld_linux_libcdep.cc240 RAW_CHECK(RemoveDieCallback(TracerThreadDieCallback)); in TracerThreadSignalHandler()
264 RAW_CHECK(AddDieCallback(TracerThreadDieCallback)); in TracerThread()
298 RAW_CHECK(RemoveDieCallback(TracerThreadDieCallback)); in TracerThread()
Dsanitizer_internal_defs.h208 #define RAW_CHECK(expr) RAW_CHECK_MSG(expr, #expr) macro
Dsanitizer_common.cc374 RAW_CHECK((total_mmaped >> 20) < common_flags()->mmap_limit_mb); in IncreaseTotalMmap()
Dsanitizer_common.h432 RAW_CHECK(IsPowerOfTwo(boundary)); in RoundUpTo()
/external/libchrome/base/process/
Dlaunch_posix.cc101 RAW_CHECK(sigprocmask(SIG_SETMASK, &new_sigmask, &old_sigmask) == 0); in SetSignalMask()
103 RAW_CHECK(pthread_sigmask(SIG_SETMASK, &new_sigmask, &old_sigmask) == 0); in SetSignalMask()
167 RAW_CHECK(signum == kNumberOfSignals + 1); in ResetChildSignalHandlersToDefaults()
333 RAW_CHECK( in LaunchProcess()
337 RAW_CHECK( in LaunchProcess()
343 RAW_CHECK((options.clone_flags & 0xff) == 0); in LaunchProcess()
483 RAW_CHECK(chdir(current_directory) == 0); in LaunchProcess()
715 RAW_CHECK(false); in CloneHelper()
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/
Dsigsys_handlers.cc243 RAW_CHECK(false); in SIGSYSSchedHandler()
/external/libchrome/base/strings/
Dsafe_sprintf.cc38 #define DEBUG_CHECK RAW_CHECK
/external/libweave/third_party/chromium/base/
Dlogging.h681 #define RAW_CHECK(condition) \ macro
/external/libchrome/base/
Dlogging.h920 #define RAW_CHECK(condition) \ macro
/external/compiler-rt/lib/asan/
Dasan_report.cc58 RAW_CHECK(kErrorMessageBufferSize >= error_message_buffer_pos); in AppendToErrorMessageBuffer()