policydb_write
extern int policydb_write(struct policydb *p, struct policy_file *fp);
rc = policydb_write(&policy->policydb, &fp);