3 #include DEF_MPERS_TYPE(seccomp_fprog_t)
5 #include "seccomp_fprog.h"
6 typedef struct seccomp_fprog seccomp_fprog_t;
10 MPERS_PRINTER_DECL(bool, fetch_seccomp_fprog)(struct tcb *tcp, const long addr, void *p)
12 struct seccomp_fprog *pfp = p;
15 if (sizeof(*pfp) == sizeof(mfp))
16 return !umove_or_printaddr(tcp, addr, pfp);
18 if (umove_or_printaddr(tcp, addr, &mfp))
22 pfp->filter = mfp.filter;