Searched refs:arch_seccomp_data (Results 1 – 13 of 13) sorted by relevance
/external/libchrome/sandbox/linux/bpf_dsl/ |
D | seccomp_macros.h | 42 #define SECCOMP_NR_IDX (offsetof(struct arch_seccomp_data, nr)) 43 #define SECCOMP_ARCH_IDX (offsetof(struct arch_seccomp_data, arch)) 44 #define SECCOMP_IP_MSB_IDX (offsetof(struct arch_seccomp_data, \ 46 #define SECCOMP_IP_LSB_IDX (offsetof(struct arch_seccomp_data, \ 48 #define SECCOMP_ARG_MSB_IDX(nr) (offsetof(struct arch_seccomp_data, args) + \ 50 #define SECCOMP_ARG_LSB_IDX(nr) (offsetof(struct arch_seccomp_data, args) + \ 104 #define SECCOMP_NR_IDX (offsetof(struct arch_seccomp_data, nr)) 105 #define SECCOMP_ARCH_IDX (offsetof(struct arch_seccomp_data, arch)) 106 #define SECCOMP_IP_MSB_IDX (offsetof(struct arch_seccomp_data, \ 108 #define SECCOMP_IP_LSB_IDX (offsetof(struct arch_seccomp_data, \ [all …]
|
D | verifier.h | 18 struct arch_seccomp_data; 35 const struct arch_seccomp_data& data,
|
D | bpf_dsl_unittest.cc | 41 struct arch_seccomp_data FakeSyscall(int nr, in FakeSyscall() 51 struct arch_seccomp_data data = { in FakeSyscall() 88 void ExpectAllow(const struct arch_seccomp_data& data) const { in ExpectAllow() 92 void ExpectErrno(uint16_t err, const struct arch_seccomp_data& data) const { in ExpectErrno() 96 void ExpectKill(const struct arch_seccomp_data& data) const { in ExpectKill() 101 uint32_t Emulate(const struct arch_seccomp_data& data) const { in Emulate() 299 static intptr_t UnameTrap(const struct arch_seccomp_data& data, void* aux) { 434 static intptr_t DummyTrap(const struct arch_seccomp_data& data, void* aux) { in DummyTrap()
|
D | verifier.cc | 23 const struct arch_seccomp_data& d) in State() 26 const struct arch_seccomp_data& data; 41 if (insn.k < sizeof(struct arch_seccomp_data) && (insn.k & 3) == 0) { in Ld() 177 const struct arch_seccomp_data& data, in EvaluateBPF()
|
D | trap_registry.h | 16 struct arch_seccomp_data { struct 42 typedef intptr_t (*TrapFnc)(const struct arch_seccomp_data& args, void* aux); argument
|
D | dump_bpf.cc | 88 (insn.k - offsetof(struct arch_seccomp_data, args)) / in AppendInstruction()
|
D | policy_compiler.cc | 64 intptr_t ReturnErrno(const struct arch_seccomp_data&, void* aux) { in ReturnErrno() argument
|
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/ |
D | sigsys_handlers.h | 20 struct arch_seccomp_data; 26 CrashSIGSYS_Handler(const struct arch_seccomp_data& args, void* aux); 34 SIGSYSCloneFailure(const struct arch_seccomp_data& args, void* aux); 38 SIGSYSPrctlFailure(const struct arch_seccomp_data& args, void* aux); 42 SIGSYSIoctlFailure(const struct arch_seccomp_data& args, void* aux); 46 SIGSYSKillFailure(const struct arch_seccomp_data& args, void* aux); 50 SIGSYSFutexFailure(const struct arch_seccomp_data& args, void* aux); 60 SIGSYSSchedHandler(const struct arch_seccomp_data& args, void* aux);
|
D | sigsys_handlers.cc | 112 intptr_t CrashSIGSYS_Handler(const struct arch_seccomp_data& args, void* aux) { in CrashSIGSYS_Handler() 139 intptr_t SIGSYSCloneFailure(const struct arch_seccomp_data& args, void* aux) { in SIGSYSCloneFailure() 158 intptr_t SIGSYSPrctlFailure(const struct arch_seccomp_data& args, in SIGSYSPrctlFailure() 172 intptr_t SIGSYSIoctlFailure(const struct arch_seccomp_data& args, in SIGSYSIoctlFailure() 188 intptr_t SIGSYSKillFailure(const struct arch_seccomp_data& args, in SIGSYSKillFailure() 201 intptr_t SIGSYSFutexFailure(const struct arch_seccomp_data& args, in SIGSYSFutexFailure() 213 intptr_t SIGSYSSchedHandler(const struct arch_seccomp_data& args, in SIGSYSSchedHandler()
|
/external/libchrome/sandbox/linux/seccomp-bpf/ |
D | sandbox_bpf.h | 18 struct arch_seccomp_data; 93 static intptr_t ForwardSyscall(const struct arch_seccomp_data& args);
|
D | sandbox_bpf.cc | 113 intptr_t SandboxPanicTrap(const struct arch_seccomp_data&, void* aux) { in SandboxPanicTrap() argument 212 intptr_t SandboxBPF::ForwardSyscall(const struct arch_seccomp_data& args) { in ForwardSyscall()
|
D | syscall_unittest.cc | 102 intptr_t CopySyscallArgsToAux(const struct arch_seccomp_data& args, void* aux) { in CopySyscallArgsToAux()
|
D | trap.cc | 231 struct arch_seccomp_data data = { in SigSys()
|