allow shell self:perf_event { open read write kernel }; allow shell system_lib_file:file getattr;