Home
last modified time | relevance | path

Searched refs:has_unsafe_traps_ (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/sandbox/linux/seccomp-bpf/
Dtrap.cc83 has_unsafe_traps_(false) { in Trap()
195 if (has_unsafe_traps_ && GetIsInSigHandler(ctx)) { in SigSys()
364 if (!has_unsafe_traps_) { in EnableUnsafeTraps()
374 has_unsafe_traps_ = true; in EnableUnsafeTraps()
382 return has_unsafe_traps_; in EnableUnsafeTraps()
Dtrap.h77 bool has_unsafe_traps_; // Whether unsafe traps have been enabled variable
/external/libchrome/sandbox/linux/bpf_dsl/
Dpolicy_compiler.cc96 has_unsafe_traps_(HasUnsafeTraps(policy_)) { in PolicyCompiler()
108 if (has_unsafe_traps_) { in Compile()
155 if (!has_unsafe_traps_) { in MaybeAddEscapeHatch()
432 if (has_unsafe_traps_ && (ret & SECCOMP_RET_ACTION) == SECCOMP_RET_ERRNO) { in Return()
Dpolicy_compiler.h145 bool has_unsafe_traps_; variable