Re: [PATCH] tracing/user_events: Run BPF program if attached

From: Steven Rostedt
Date: Wed May 17 2023 - 22:08:11 EST


On Wed, 17 May 2023 18:18:14 -0700
Beau Belgrave <beaub@xxxxxxxxxxxxxxxxxxx> wrote:

> We should tell folks to use a group and give access to the group like
> Steven said earlier.

Could we possibly add an "owner" attribute to the event. That is, the
creator of the event is the only one that can write to that event. Or at
least by the user that created it (not actually the process).

So if the user "rostedt" creates an event, only "rostedt" can write to or
delete the event.

Basically like how the /tmp directory works.

I think this would lock down the issue that Alexei is worried about.

Thoughts?

-- Steve

P.S. I'm about to leave on PTO and will be very late in my replies
starting now. (Unless I'm board at the airport, I may then reply).

-- Steve