Searched refs:ksec (Results 1 – 1 of 1) sorted by relevance
6713 struct key_security_struct *ksec; in selinux_key_alloc() local6715 ksec = kzalloc(sizeof(struct key_security_struct), GFP_KERNEL); in selinux_key_alloc()6716 if (!ksec) in selinux_key_alloc()6721 ksec->sid = tsec->keycreate_sid; in selinux_key_alloc()6723 ksec->sid = tsec->sid; in selinux_key_alloc()6725 k->security = ksec; in selinux_key_alloc()6731 struct key_security_struct *ksec = k->security; in selinux_key_free() local6734 kfree(ksec); in selinux_key_free()6742 struct key_security_struct *ksec; in selinux_key_permission() local6777 ksec = key->security; in selinux_key_permission()[all …]