lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 7 Aug 2020 09:35:03 -0700
From:   Alexei Starovoitov <>
To:     Jiri Olsa <>
Cc:     Alexei Starovoitov <>,
        Daniel Borkmann <>,
        Andrii Nakryiko <>,,, Song Liu <>,
        Yonghong Song <>, Martin KaFai Lau <>,
        David Miller <>,
        John Fastabend <>,
        Wenbo Zhang <>,
        KP Singh <>,
        Brendan Gregg <>,
        Florent Revest <>,
        Al Viro <>
Subject: Re: [PATCH v10 bpf-next 00/14] bpf: Add d_path helper

On Fri, Aug 07, 2020 at 11:45:45AM +0200, Jiri Olsa wrote:
> hi,
> adding d_path helper function that returns full path for
> given 'struct path' object, which needs to be the kernel
> BTF 'path' object. The path is returned in buffer provided
> 'buf' of size 'sz' and is zero terminated.
>   long bpf_d_path(struct path *path, char *buf, u32 sz);
> The helper calls directly d_path function, so there's only
> limited set of function it can be called from.
> The patchset also adds support to add set of BTF IDs for
> a helper to define functions that the helper is allowed
> to be called from.
> Also available at:
>   bpf/d_path
> v10 changes:
>   - added few acks
>   - returned long instead of int in bpf_d_path helper [Alexei]
>   - used local cnt variable in d_path test [Andrii]
>   - fixed tyo in d_path comment [Andrii]
>   - get rid of reg->off condition in check_func_arg [Andrii]

bpf-next is closed.
I still encourage developers to submit new features for review, but please tag
them as RFC, so the purpose is clear to both maintainers and authors.

Powered by blists - more mailing lists