Home
last modified time | relevance | path

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

/Linux-v6.6/security/selinux/
Dhooks.c6863 struct perf_event_security_struct *perfsec; in selinux_perf_event_alloc() local
6865 perfsec = kzalloc(sizeof(*perfsec), GFP_KERNEL); in selinux_perf_event_alloc()
6866 if (!perfsec) in selinux_perf_event_alloc()
6869 perfsec->sid = current_sid(); in selinux_perf_event_alloc()
6870 event->security = perfsec; in selinux_perf_event_alloc()
6877 struct perf_event_security_struct *perfsec = event->security; in selinux_perf_event_free() local
6880 kfree(perfsec); in selinux_perf_event_free()
6885 struct perf_event_security_struct *perfsec = event->security; in selinux_perf_event_read() local
6888 return avc_has_perm(sid, perfsec->sid, in selinux_perf_event_read()
6894 struct perf_event_security_struct *perfsec = event->security; in selinux_perf_event_write() local
[all …]