Searched refs:perfsec (Results 1 – 1 of 1) sorted by relevance
6863 struct perf_event_security_struct *perfsec; in selinux_perf_event_alloc() local6865 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() local6880 kfree(perfsec); in selinux_perf_event_free()6885 struct perf_event_security_struct *perfsec = event->security; in selinux_perf_event_read() local6888 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 …]