Home
last modified time | relevance | path

Searched refs:arch_seccomp_data (Results 1 – 13 of 13) sorted by relevance

/external/libchrome/sandbox/linux/bpf_dsl/
Dseccomp_macros.h42 #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 …]
Dverifier.h18 struct arch_seccomp_data;
35 const struct arch_seccomp_data& data,
Dbpf_dsl_unittest.cc41 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()
Dverifier.cc23 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()
Dtrap_registry.h16 struct arch_seccomp_data { struct
42 typedef intptr_t (*TrapFnc)(const struct arch_seccomp_data& args, void* aux); argument
Ddump_bpf.cc88 (insn.k - offsetof(struct arch_seccomp_data, args)) / in AppendInstruction()
Dpolicy_compiler.cc64 intptr_t ReturnErrno(const struct arch_seccomp_data&, void* aux) { in ReturnErrno() argument
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/
Dsigsys_handlers.h20 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);
Dsigsys_handlers.cc112 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/
Dsandbox_bpf.h18 struct arch_seccomp_data;
93 static intptr_t ForwardSyscall(const struct arch_seccomp_data& args);
Dsandbox_bpf.cc113 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()
Dsyscall_unittest.cc102 intptr_t CopySyscallArgsToAux(const struct arch_seccomp_data& args, void* aux) { in CopySyscallArgsToAux()
Dtrap.cc231 struct arch_seccomp_data data = { in SigSys()