Searched refs:perfsec (Results 1 – 1 of 1) sorted by relevance
6927 struct perf_event_security_struct *perfsec; in selinux_perf_event_alloc() local6929 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() local6944 kfree(perfsec); in selinux_perf_event_free()6949 struct perf_event_security_struct *perfsec = event->security; in selinux_perf_event_read() local6952 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 …]