Home
last modified time | relevance | path

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

/Linux-v5.4/security/selinux/ss/
Dservices.c2088 struct policydb *oldpolicydb, *newpolicydb; in security_load_policy() local
2097 oldpolicydb = kcalloc(2, sizeof(*oldpolicydb), GFP_KERNEL); in security_load_policy()
2098 if (!oldpolicydb) { in security_load_policy()
2102 newpolicydb = oldpolicydb + 1; in security_load_policy()
2202 memcpy(oldpolicydb, policydb, sizeof(*policydb)); in security_load_policy()
2216 policydb_destroy(oldpolicydb); in security_load_policy()
2237 kfree(oldpolicydb); in security_load_policy()