Lines Matching refs:root_prog
1640 struct sock_fprog root_prog, apply_prog;
1661 memset(&self->root_prog, 0, sizeof(self->root_prog));
1664 self->root_prog.filter = malloc(sizeof(root_filter));
1665 ASSERT_NE(NULL, self->root_prog.filter);
1666 memcpy(self->root_prog.filter, &root_filter, sizeof(root_filter));
1667 self->root_prog.len = (unsigned short)ARRAY_SIZE(root_filter);
1684 self->sibling[0].prog = &self->root_prog;
1691 self->sibling[1].prog = &self->root_prog;
1700 if (self->root_prog.filter)
1701 free(self->root_prog.filter);
1821 ret = seccomp(SECCOMP_SET_MODE_FILTER, 0, &self->root_prog);
1933 ret = seccomp(SECCOMP_SET_MODE_FILTER, 0, &self->root_prog);
1995 ret = seccomp(SECCOMP_SET_MODE_FILTER, 0, &self->root_prog);