Re: [PATCH v4 bpf-next 00/14] bpf: Add d_path helper

2020-06-30 Thread Jiri Olsa
On Mon, Jun 29, 2020 at 06:54:30PM -0700, Andrii Nakryiko wrote: > On Thu, Jun 25, 2020 at 4:47 PM Jiri Olsa wrote: > > > > hi, > > adding d_path helper to return full path for 'path' object. > > > > In a preparation for that, this patchset also adds support for BTF ID > > whitelists, because d_pa

Re: [PATCH v4 bpf-next 00/14] bpf: Add d_path helper

2020-06-29 Thread Andrii Nakryiko
On Thu, Jun 25, 2020 at 4:47 PM Jiri Olsa wrote: > > hi, > adding d_path helper to return full path for 'path' object. > > In a preparation for that, this patchset also adds support for BTF ID > whitelists, because d_path can't be called from any probe due to its > locks usage. The whitelists allo

[PATCH v4 bpf-next 00/14] bpf: Add d_path helper

2020-06-25 Thread Jiri Olsa
hi, adding d_path helper to return full path for 'path' object. In a preparation for that, this patchset also adds support for BTF ID whitelists, because d_path can't be called from any probe due to its locks usage. The whitelists allow verifier to check if the caller is one of the functions from