Lines Matching refs:event
478 init_debug("perf event blob size = %d\n", blob_sizes.lbs_perf_event);
646 int call_blocking_lsm_notifier(enum lsm_event event, void *data)
649 event, data);
1670 * @mask: event mask
4486 * Check to see if a process is allowed to watch for event notifications from
5918 * security_perf_event_open() - Check if a perf event open is allowed
5919 * @type: type of event
5931 * security_perf_event_alloc() - Allocate a perf event LSM blob
5932 * @event: perf event
5938 int security_perf_event_alloc(struct perf_event *event)
5942 rc = lsm_blob_alloc(&event->security, blob_sizes.lbs_perf_event,
5947 rc = call_int_hook(perf_event_alloc, event);
5949 kfree(event->security);
5950 event->security = NULL;
5956 * security_perf_event_free() - Free a perf event LSM blob
5957 * @event: perf event
5961 void security_perf_event_free(struct perf_event *event)
5963 kfree(event->security);
5964 event->security = NULL;
5968 * security_perf_event_read() - Check if reading a perf event label is allowed
5969 * @event: perf event
5975 int security_perf_event_read(struct perf_event *event)
5977 return call_int_hook(perf_event_read, event);
5981 * security_perf_event_write() - Check if writing a perf event label is allowed
5982 * @event: perf event
5988 int security_perf_event_write(struct perf_event *event)
5990 return call_int_hook(perf_event_write, event);