Home
last modified time | relevance | path

Searched refs:newpolicydb (Results 1 – 1 of 1) sorted by relevance

/linux-3.4.99/security/selinux/ss/
Dservices.c1809 struct policydb oldpolicydb, newpolicydb; in security_load_policy() local
1859 rc = policydb_read(&newpolicydb, fp); in security_load_policy()
1863 newpolicydb.len = len; in security_load_policy()
1865 if (policydb.mls_enabled && !newpolicydb.mls_enabled) in security_load_policy()
1867 else if (!policydb.mls_enabled && newpolicydb.mls_enabled) in security_load_policy()
1870 rc = policydb_load_isids(&newpolicydb, &newsidtab); in security_load_policy()
1873 policydb_destroy(&newpolicydb); in security_load_policy()
1877 rc = selinux_set_mapping(&newpolicydb, secclass_map, &map, &map_size); in security_load_policy()
1881 rc = security_preserve_bools(&newpolicydb); in security_load_policy()
1899 args.newp = &newpolicydb; in security_load_policy()
[all …]