Home
last modified time | relevance | path

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

/linux-6.1.9/security/selinux/
Dhooks.c6927 struct perf_event_security_struct *perfsec; in selinux_perf_event_alloc() local
6929 perfsec = kzalloc(sizeof(*perfsec), GFP_KERNEL); in selinux_perf_event_alloc()
6930 if (!perfsec) in selinux_perf_event_alloc()
6933 perfsec->sid = current_sid(); in selinux_perf_event_alloc()
6934 event->security = perfsec; in selinux_perf_event_alloc()
6941 struct perf_event_security_struct *perfsec = event->security; in selinux_perf_event_free() local
6944 kfree(perfsec); in selinux_perf_event_free()
6949 struct perf_event_security_struct *perfsec = event->security; in selinux_perf_event_read() local
6952 return avc_has_perm(&selinux_state, sid, perfsec->sid, in selinux_perf_event_read()
6958 struct perf_event_security_struct *perfsec = event->security; in selinux_perf_event_write() local
[all …]