Home
last modified time | relevance | path

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

/Linux-v5.15/security/selinux/
Dhooks.c5609 struct tun_security_struct *tunsec; in selinux_tun_dev_alloc_security() local
5611 tunsec = kzalloc(sizeof(*tunsec), GFP_KERNEL); in selinux_tun_dev_alloc_security()
5612 if (!tunsec) in selinux_tun_dev_alloc_security()
5614 tunsec->sid = current_sid(); in selinux_tun_dev_alloc_security()
5616 *security = tunsec; in selinux_tun_dev_alloc_security()
5643 struct tun_security_struct *tunsec = security; in selinux_tun_dev_attach_queue() local
5646 current_sid(), tunsec->sid, SECCLASS_TUN_SOCKET, in selinux_tun_dev_attach_queue()
5652 struct tun_security_struct *tunsec = security; in selinux_tun_dev_attach() local
5662 sksec->sid = tunsec->sid; in selinux_tun_dev_attach()
5670 struct tun_security_struct *tunsec = security; in selinux_tun_dev_open() local
[all …]