lists.openwall.net   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  linux-cve-announce  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:   Wed, 16 Dec 2020 09:00:06 -0800
From:   Yonghong Song <yhs@...com>
To:     Song Liu <songliubraving@...com>, <bpf@...r.kernel.org>,
        <netdev@...r.kernel.org>
CC:     <ast@...nel.org>, <daniel@...earbox.net>, <andrii@...nel.org>,
        <john.fastabend@...il.com>, <kpsingh@...omium.org>,
        <kernel-team@...com>
Subject: Re: [PATCH v2 bpf-next 0/4] introduce bpf_iter for task_vma



On 12/15/20 3:36 PM, Song Liu wrote:
> This set introduces bpf_iter for task_vma, which can be used to generate
> information similar to /proc/pid/maps or /proc/pid/smaps. Patch 4/4 adds

I did not see an example for /proc/pid/smaps. It would be good if you 
can cover smaps as well since it is used by a lot of people.

> an example that mimics /proc/pid/maps.
> 
> Changes v1 => v2:
>    1. Small fixes in task_iter.c and the selftests. (Yonghong)
> 
> Song Liu (4):
>    bpf: introduce task_vma bpf_iter
>    bpf: allow bpf_d_path in sleepable bpf_iter program
>    libbpf: introduce section "iter.s/" for sleepable bpf_iter program
>    selftests/bpf: add test for bpf_iter_task_vma
> 
>   include/linux/bpf.h                           |   2 +-
>   kernel/bpf/task_iter.c                        | 205 +++++++++++++++++-
>   kernel/trace/bpf_trace.c                      |   5 +
>   tools/lib/bpf/libbpf.c                        |   5 +
>   .../selftests/bpf/prog_tests/bpf_iter.c       | 106 ++++++++-
>   tools/testing/selftests/bpf/progs/bpf_iter.h  |   9 +
>   .../selftests/bpf/progs/bpf_iter_task_vma.c   |  55 +++++
>   7 files changed, 375 insertions(+), 12 deletions(-)
>   create mode 100644 tools/testing/selftests/bpf/progs/bpf_iter_task_vma.c
> 
> --
> 2.24.1
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ