Searched refs:newpolicydb (Results 1 – 1 of 1) sorted by relevance
1800 struct policydb oldpolicydb, newpolicydb; in security_load_policy() local1850 rc = policydb_read(&newpolicydb, fp); in security_load_policy()1854 newpolicydb.len = len; in security_load_policy()1856 if (policydb.mls_enabled && !newpolicydb.mls_enabled) in security_load_policy()1858 else if (!policydb.mls_enabled && newpolicydb.mls_enabled) in security_load_policy()1861 rc = policydb_load_isids(&newpolicydb, &newsidtab); in security_load_policy()1864 policydb_destroy(&newpolicydb); in security_load_policy()1868 rc = selinux_set_mapping(&newpolicydb, secclass_map, &map, &map_size); in security_load_policy()1872 rc = security_preserve_bools(&newpolicydb); in security_load_policy()1890 args.newp = &newpolicydb; in security_load_policy()[all …]