Re: [PATCH 0/5] perf: Treat perf_event_paranoid and kptr_restrict like the kernel does it

2019-08-28 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 28, 2019 at 01:31:21PM -0600, Mathieu Poirier escreveu: > On Mon, 26 Aug 2019 at 19:40, Igor Lubashev wrote: > > Igor Lubashev (5): > > perf event: Check ref_reloc_sym before using it > > perf tools: Use CAP_SYS_ADMIN with perf_event_paranoid checks > > perf util: kernel

Re: [PATCH 0/5] perf: Treat perf_event_paranoid and kptr_restrict like the kernel does it

2019-08-28 Thread Mathieu Poirier
On Mon, 26 Aug 2019 at 19:40, Igor Lubashev wrote: > > This is a follow up series to the ensure perf treats perf_event_paranoid and > kptr_restrict in a way that is similar to the kernel's. That includes use of > capabilities instead of euid==0, when possible, as well as adjusting the logic >

[PATCH 0/5] perf: Treat perf_event_paranoid and kptr_restrict like the kernel does it

2019-08-26 Thread Igor Lubashev
This is a follow up series to the ensure perf treats perf_event_paranoid and kptr_restrict in a way that is similar to the kernel's. That includes use of capabilities instead of euid==0, when possible, as well as adjusting the logic and fixing bugs. Prior discussion: