Re: [PATCH] perf: Check permission only for parent tracepoint event

2014-07-24 Thread Alexander Yarygin
At Wed, 16 Jul 2014 14:33:29 +0200, Jiri Olsa wrote: > > There's no need to check cloned event's permission once the > parent was already checked. > > Also the code is checking 'current' process permissions, which > is not owner process for cloned events, thus could end up with > wrong permission

[PATCH] perf: Check permission only for parent tracepoint event

2014-07-16 Thread Jiri Olsa
There's no need to check cloned event's permission once the parent was already checked. Also the code is checking 'current' process permissions, which is not owner process for cloned events, thus could end up with wrong permission check result. Reported-by: Alexander Yarygin Cc: Alexander Yarygi