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]
Message-ID: <CAP01T757bT+F5uMyz-LWZoyMuP=B_9qDuN=v7jmv58C9opL4WQ@mail.gmail.com>
Date: Tue, 22 Apr 2025 05:05:03 +0200
From: Kumar Kartikeya Dwivedi <memxor@...il.com>
To: Martin KaFai Lau <martin.lau@...ux.dev>
Cc: bpf@...r.kernel.org, Alexei Starovoitov <ast@...nel.org>, 
	Andrii Nakryiko <andrii@...nel.org>, Daniel Borkmann <daniel@...earbox.net>, netdev@...r.kernel.org, 
	kernel-team@...a.com, Amery Hung <ameryhung@...il.com>
Subject: Re: [RFC PATCH bpf-next 08/12] bpf: Simplify reg0 marking for the
 list kfuncs that return a bpf_list_node pointer

On Sat, 19 Apr 2025 at 00:48, Martin KaFai Lau <martin.lau@...ux.dev> wrote:
>
> From: Martin KaFai Lau <martin.lau@...nel.org>
>
> The next patch will add bpf_list_{front,back} kfuncs to peek the head
> and tail of a list. Both of them will return a 'struct bpf_list_node *'.
>
> Follow the earlier change for rbtree, this patch checks the
> return btf type is a 'struct bpf_list_node' pointer instead
> of checking each kfuncs individually to decide if
> mark_reg_graph_node should be called. This will make
> the bpf_list_{front,back} kfunc addition easier in
> the later patch.
>
> Signed-off-by: Martin KaFai Lau <martin.lau@...nel.org>
> ---

Acked-by: Kumar Kartikeya Dwivedi <memxor@...il.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ