Re: [PATCH v1] perf report: Fix owner error when reading perf.data

2015-10-01 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 01, 2015 at 09:26:26PM +0900, Taeung Song escreveu: > > On Oct 1, 2015, at 6:10 PM, Ingo Molnar wrote: > > * Taeung Song wrote: > >> If perf.data file is owned by some user, > >> it can't be read even if current user is root. > > That's intentional: to keep a malicious local user fr

Re: [PATCH v1] perf report: Fix owner error when reading perf.data

2015-10-01 Thread Taeung Song
> On Oct 1, 2015, at 6:10 PM, Ingo Molnar wrote: > > > * Taeung Song wrote: > >> If perf.data file is owned by some user, >> it can't be read even if current user is root. > > That's intentional: to keep a malicious local user from passing a perf.data > to > root who does 'perf report' acc

Re: [PATCH v1] perf report: Fix owner error when reading perf.data

2015-10-01 Thread Ingo Molnar
* Taeung Song wrote: > If perf.data file is owned by some user, > it can't be read even if current user is root. That's intentional: to keep a malicious local user from passing a perf.data to root who does 'perf report' accidentally or in the wrong directory. root can copy or chown it to hims