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

  /external/chromium_org/sandbox/linux/seccomp-bpf/
trap.h 21 // The Trap class allows a BPF filter program to branch out to user space by
29 class SANDBOX_EXPORT Trap {
32 // user-space. The seccomp policy can request that a trap handler gets
46 // Registers a new trap handler and sets up the appropriate SIGSYS handler
62 // Returns the ErrorCode associate with a particular trap id.
77 Trap();
81 ~Trap();
90 static Trap* GetInstance();
104 static Trap* global_trap_;
114 DISALLOW_COPY_AND_ASSIGN(Trap);
    [all...]
trap.cc 5 #include "sandbox/linux/seccomp-bpf/trap.h"
70 Trap::Trap()
100 Trap* Trap::GetInstance() {
104 // Also, this is not a normal singleton. Once created, the global trap
107 global_trap_ = new Trap();
109 SANDBOX_DIE("Failed to allocate global trap handler");
115 void Trap::SigSysAction(int nr, siginfo_t* info, void* void_context) {
119 "for Trap() handling.")
325 Trap* trap = GetInstance(); local
    [all...]
sandbox_bpf.cc 144 Trap::ErrorCodeFromTrapId(insn->k & SECCOMP_RET_DATA);
152 // A Trap() handler that returns an "errno" value. The value is encoded
165 // it rewrites the instruction to instead call a Trap() handler that does
180 insn->k = sandbox->Trap(ReturnErrno,
214 return sandbox_compiler->Trap(ReturnErrno, reinterpret_cast<void*>(err));
642 if (!Trap::EnableUnsafeTrapsInSigSysHandler()) {
    [all...]
  /external/chromium_org/chrome/browser/ui/libgtk2ui/
x11_input_method_context_impl_gtk2.cc 248 if (commit_signal_trap_.Trap(text_in_utf16))
303 bool X11InputMethodContextImplGtk2::GtkCommitSignalTrap::Trap(
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
mapidbg.h 44 #define Trap() IFTRAP(DebugTrapFn(1,__FILE__,__LINE__,"Trap"))
  /external/clang/lib/Sema/
SemaStmt.cpp     [all...]
  /external/clang/include/clang/Sema/
Sema.h     [all...]
  /external/mksh/src/
sh.h 743 EXTERN short trap_exstat; /* exit status before running a trap */
841 * trap handlers
843 typedef struct trap { struct
846 char *trap; /* trap command */ member in struct:trap
851 volatile sig_atomic_t set; /* trap pending */
852 } Trap;
854 /* values for Trap.flags */
856 #define TF_USER_SET BIT(1) /* user has (tried to) set trap */
863 #define TF_CHANGED BIT(8) /* used by runtrap() to detect trap changes *
879 EXTERN volatile sig_atomic_t trap; \/* traps pending? *\/ variable
    [all...]

Completed in 4339 milliseconds