Home
last modified time | relevance | path

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

/security/selinux/
Dhooks.c6525 struct key_security_struct *ksec; in selinux_key_alloc() local
6527 ksec = kzalloc(sizeof(struct key_security_struct), GFP_KERNEL); in selinux_key_alloc()
6528 if (!ksec) in selinux_key_alloc()
6533 ksec->sid = tsec->keycreate_sid; in selinux_key_alloc()
6535 ksec->sid = tsec->sid; in selinux_key_alloc()
6537 k->security = ksec; in selinux_key_alloc()
6543 struct key_security_struct *ksec = k->security; in selinux_key_free() local
6546 kfree(ksec); in selinux_key_free()
6554 struct key_security_struct *ksec; in selinux_key_permission() local
6566 ksec = key->security; in selinux_key_permission()
[all …]