Lines Matching refs:prog
78 struct sock_fprog prog = {
91 if (syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, flag, &prog) != 0) {
136 const char *filterLibRealPath, struct sock_fprog *prog)
138 if (filterName == NULL || filterLibRealPath == NULL || handler == NULL || prog == NULL) {
187 prog->filter = filter;
189 prog->len = (unsigned short)(*filterSize);
225 struct sock_fprog prog;
243 int retCode = GetSeccompPolicy(filterNamePtr, (int **)&handler, filterLibRealPath, &prog);
245 ret = InstallSeccompPolicy(prog.filter, prog.len, SECCOMP_FILTER_FLAG_LOG);