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] [day] [month] [year] [list]
Date:   Tue, 18 Aug 2020 02:14:44 +0200
From:   KP Singh <>
To:     Jiri Olsa <>, Alexei Starovoitov <>,
        Daniel Borkmann <>,
        Andrii Nakryiko <>
        Song Liu <>, Yonghong Song <>,
        Martin KaFai Lau <>,
        David Miller <>,
        John Fastabend <>,
        Wenbo Zhang <>,
        Brendan Gregg <>,
        Florent Revest <>,
        Al Viro <>
Subject: Re: [RFC PATCH v11 bpf-next 10/14] bpf: Add d_path helper

On 09.08.20 17:02, Jiri Olsa wrote:
> 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.
>   bpf_d_path(&file->f_path, buf, size);
> The helper calls directly d_path function, so there's only
> limited set of function it can be called from. Adding just
> very modest set for the start.
> Updating also bpf.h tools uapi header and adding 'path' to
> script.
> Acked-by: Andrii Nakryiko <>

Acked-by: KP Singh <>

Thank you so much for working on this! 

> Signed-off-by: Jiri Olsa <>
> ---


>  /* integer value in 'imm' field of BPF_CALL instruction selects which helper

Powered by blists - more mailing lists