avtab_alloc_dup
int avtab_alloc_dup(struct avtab *new, const struct avtab *orig);
rc = avtab_alloc_dup(&newp->te_cond_avtab, &origp->te_cond_avtab);