Home
last modified time | relevance | path

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

/external/chromium_org/sandbox/linux/seccomp-bpf/
Dlinux_seccomp.h151 #define SECCOMP_NR_IDX (offsetof(struct arch_seccomp_data, nr))
152 #define SECCOMP_ARCH_IDX (offsetof(struct arch_seccomp_data, arch))
153 #define SECCOMP_IP_MSB_IDX (offsetof(struct arch_seccomp_data, \
155 #define SECCOMP_IP_LSB_IDX (offsetof(struct arch_seccomp_data, \
157 #define SECCOMP_ARG_MSB_IDX(nr) (offsetof(struct arch_seccomp_data, args) + \
159 #define SECCOMP_ARG_LSB_IDX(nr) (offsetof(struct arch_seccomp_data, args) + \
216 #define SECCOMP_NR_IDX (offsetof(struct arch_seccomp_data, nr))
217 #define SECCOMP_ARCH_IDX (offsetof(struct arch_seccomp_data, arch))
218 #define SECCOMP_IP_MSB_IDX (offsetof(struct arch_seccomp_data, \
220 #define SECCOMP_IP_LSB_IDX (offsetof(struct arch_seccomp_data, \
[all …]
Dverifier.cc26 const struct arch_seccomp_data& d) in State()
29 const struct arch_seccomp_data& data;
40 const struct arch_seccomp_data& data) { in EvaluateErrorCode()
61 struct arch_seccomp_data* data, in VerifyErrorCode()
176 if (insn.k < sizeof(struct arch_seccomp_data) && (insn.k & 3) == 0) { in Ld()
326 struct arch_seccomp_data data = {static_cast<int>(sysnum), in VerifyBPF()
350 const struct arch_seccomp_data& data, in EvaluateBPF()
Dverifier.h17 struct arch_seccomp_data;
44 const struct arch_seccomp_data& data,
Dtrap.h19 struct arch_seccomp_data { struct
49 typedef intptr_t (*TrapFnc)(const struct arch_seccomp_data& args, void* aux);
Dcodegen.cc69 if (iter->k == offsetof(struct arch_seccomp_data, nr)) { in PrintProgram()
71 } else if (iter->k == offsetof(struct arch_seccomp_data, arch)) { in PrintProgram()
74 offsetof(struct arch_seccomp_data, instruction_pointer)) { in PrintProgram()
77 offsetof(struct arch_seccomp_data, instruction_pointer) + in PrintProgram()
80 } else if (iter->k >= offsetof(struct arch_seccomp_data, args) && in PrintProgram()
81 iter->k < offsetof(struct arch_seccomp_data, args) + 48 && in PrintProgram()
82 (iter->k - offsetof(struct arch_seccomp_data, args)) % 4 == in PrintProgram()
87 (int)(iter->k - offsetof(struct arch_seccomp_data, args)) / 8, in PrintProgram()
88 (iter->k - offsetof(struct arch_seccomp_data, args)) % 8 ? 'M' in PrintProgram()
Dsandbox_bpf.h126 static intptr_t ForwardSyscall(const struct arch_seccomp_data& args);
Dsandbox_bpf.cc186 intptr_t ReturnErrno(const struct arch_seccomp_data&, void* aux) { in ReturnErrno() argument
274 intptr_t BPFFailure(const struct arch_seccomp_data&, void* aux) { in BPFFailure() argument
1071 intptr_t SandboxBPF::ForwardSyscall(const struct arch_seccomp_data& args) { in ForwardSyscall()
Dsyscall_unittest.cc93 intptr_t CopySyscallArgsToAux(const struct arch_seccomp_data& args, void* aux) { in CopySyscallArgsToAux()
Dtrap.cc218 struct arch_seccomp_data data = { in SigSys()
/external/chromium_org/sandbox/linux/seccomp-bpf-helpers/
Dsigsys_handlers.h19 struct arch_seccomp_data;
25 CrashSIGSYS_Handler(const struct arch_seccomp_data& args, void* aux);
33 SIGSYSCloneFailure(const struct arch_seccomp_data& args, void* aux);
37 SIGSYSPrctlFailure(const struct arch_seccomp_data& args, void* aux);
41 SIGSYSIoctlFailure(const struct arch_seccomp_data& args, void* aux);
45 SIGSYSKillFailure(const struct arch_seccomp_data& args, void* aux);
49 SIGSYSFutexFailure(const struct arch_seccomp_data& args, void* aux);
59 SIGSYSSchedHandler(const struct arch_seccomp_data& args, void* aux);
Dsigsys_handlers.cc109 intptr_t CrashSIGSYS_Handler(const struct arch_seccomp_data& args, void* aux) { in CrashSIGSYS_Handler()
136 intptr_t SIGSYSCloneFailure(const struct arch_seccomp_data& args, void* aux) { in SIGSYSCloneFailure()
155 intptr_t SIGSYSPrctlFailure(const struct arch_seccomp_data& args, in SIGSYSPrctlFailure()
169 intptr_t SIGSYSIoctlFailure(const struct arch_seccomp_data& args, in SIGSYSIoctlFailure()
185 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/chromium_org/content/common/sandbox_linux/
Dbpf_gpu_policy_linux.cc35 using sandbox::arch_seccomp_data;
87 intptr_t GpuSIGSYS_Handler(const struct arch_seccomp_data& args, in GpuSIGSYS_Handler()
/external/chromium_org/sandbox/linux/bpf_dsl/
Dbpf_dsl_more_unittest.cc104 intptr_t IncreaseCounter(const struct arch_seccomp_data& args, void* aux) { in IncreaseCounter()
213 intptr_t EnomemHandler(const struct arch_seccomp_data& args, void* aux) { in EnomemHandler()
507 intptr_t CountSyscalls(const struct arch_seccomp_data& args, void* aux) { in CountSyscalls()
579 intptr_t PrctlHandler(const struct arch_seccomp_data& args, void*) { in PrctlHandler()
639 intptr_t AllowRedirectedSyscall(const struct arch_seccomp_data& args, void*) { in AllowRedirectedSyscall()
740 struct arch_seccomp_data args = {}; in BPF_TEST_C()
776 intptr_t BrokerOpenTrapHandler(const struct arch_seccomp_data& args, in BrokerOpenTrapHandler()
1809 intptr_t PthreadTrapHandler(const struct arch_seccomp_data& args, void* aux) { in PthreadTrapHandler()
2216 static intptr_t ForwardPreadHandler(const struct arch_seccomp_data& args, in ForwardPreadHandler()
2335 intptr_t NoOpHandler(const struct arch_seccomp_data& args, void*) { in NoOpHandler()
Dbpf_dsl_unittest.cc205 static intptr_t UnameTrap(const struct arch_seccomp_data& data, void* aux) { in UnameTrap()