Home
last modified time | relevance | path

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

/openbmc/linux/security/selinux/
H A Dhooks.c6901 struct perf_event_security_struct *perfsec; in selinux_perf_event_alloc() local
6903 perfsec = kzalloc(sizeof(*perfsec), GFP_KERNEL); in selinux_perf_event_alloc()
6904 if (!perfsec) in selinux_perf_event_alloc()
6907 perfsec->sid = current_sid(); in selinux_perf_event_alloc()
6908 event->security = perfsec; in selinux_perf_event_alloc()
6915 struct perf_event_security_struct *perfsec = event->security; in selinux_perf_event_free() local
6918 kfree(perfsec); in selinux_perf_event_free()
6923 struct perf_event_security_struct *perfsec = event->security; in selinux_perf_event_read() local
6926 return avc_has_perm(sid, perfsec->sid, in selinux_perf_event_read()
6932 struct perf_event_security_struct *perfsec = event->security; in selinux_perf_event_write() local
[all …]