Lines Matching refs:newpolicydb
2135 struct policydb *newpolicydb);
2151 struct policydb *oldpolicydb, *newpolicydb; in security_load_policy() local
2165 newpolicydb = oldpolicydb + 1; in security_load_policy()
2211 rc = policydb_read(newpolicydb, fp); in security_load_policy()
2217 newpolicydb->len = len; in security_load_policy()
2219 if (policydb->mls_enabled && !newpolicydb->mls_enabled) in security_load_policy()
2221 else if (!policydb->mls_enabled && newpolicydb->mls_enabled) in security_load_policy()
2224 rc = policydb_load_isids(newpolicydb, newsidtab); in security_load_policy()
2227 policydb_destroy(newpolicydb); in security_load_policy()
2232 rc = selinux_set_mapping(newpolicydb, secclass_map, &newmap); in security_load_policy()
2236 rc = security_preserve_bools(state, newpolicydb); in security_load_policy()
2250 args.newp = newpolicydb; in security_load_policy()
2269 memcpy(policydb, newpolicydb, sizeof(*policydb)); in security_load_policy()
2297 policydb_destroy(newpolicydb); in security_load_policy()