Home
last modified time | relevance | path

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

/Linux-v5.4/security/selinux/
Dselinuxfs.c377 struct policy_load_memory *plm = NULL; in sel_open_policy() local
395 plm = kzalloc(sizeof(*plm), GFP_KERNEL); in sel_open_policy()
396 if (!plm) in sel_open_policy()
405 rc = security_read_policy(state, &plm->data, &plm->len); in sel_open_policy()
411 filp->private_data = plm; in sel_open_policy()
419 if (plm) in sel_open_policy()
420 vfree(plm->data); in sel_open_policy()
421 kfree(plm); in sel_open_policy()
428 struct policy_load_memory *plm = filp->private_data; in sel_release_policy() local
430 BUG_ON(!plm); in sel_release_policy()
[all …]