Searched refs:SECCOMP_REG (Results 1 – 1 of 1) sorted by relevance
/external/libchrome/sandbox/linux/bpf_dsl/ |
D | seccomp_macros.h | 32 #define SECCOMP_REG(_ctx, _reg) ((_ctx)->uc_mcontext.gregs[(_reg)]) macro 33 #define SECCOMP_RESULT(_ctx) SECCOMP_REG(_ctx, REG_EAX) 34 #define SECCOMP_SYSCALL(_ctx) SECCOMP_REG(_ctx, REG_EAX) 35 #define SECCOMP_IP(_ctx) SECCOMP_REG(_ctx, REG_EIP) 36 #define SECCOMP_PARM1(_ctx) SECCOMP_REG(_ctx, REG_EBX) 37 #define SECCOMP_PARM2(_ctx) SECCOMP_REG(_ctx, REG_ECX) 38 #define SECCOMP_PARM3(_ctx) SECCOMP_REG(_ctx, REG_EDX) 39 #define SECCOMP_PARM4(_ctx) SECCOMP_REG(_ctx, REG_ESI) 40 #define SECCOMP_PARM5(_ctx) SECCOMP_REG(_ctx, REG_EDI) 41 #define SECCOMP_PARM6(_ctx) SECCOMP_REG(_ctx, REG_EBP) [all …]
|