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: <97d9f2b5c570e9581c8a13956897357459f65618.camel@gmail.com>
Date: Mon, 03 Feb 2025 21:58:47 -0800
From: Eduard Zingerman <eddyz87@...il.com>
To: Amery Hung <ameryhung@...il.com>, netdev@...r.kernel.org
Cc: bpf@...r.kernel.org, daniel@...earbox.net, andrii@...nel.org, 
	alexei.starovoitov@...il.com, martin.lau@...nel.org, kuba@...nel.org, 
	edumazet@...gle.com, xiyou.wangcong@...il.com, cong.wang@...edance.com, 
	jhs@...atatu.com, sinquersw@...il.com, toke@...hat.com, jiri@...nulli.us, 
	stfomichev@...il.com, ekarani.silvestre@....ufcg.edu.br,
 yangpeihao@...u.edu.cn, 	yepeilin.cs@...il.com, ming.lei@...hat.com,
 kernel-team@...a.com
Subject: Re: [PATCH bpf-next v3 05/18] selftests/bpf: Test returning
 referenced kptr from struct_ops programs

On Fri, 2025-01-31 at 11:28 -0800, Amery Hung wrote:
> From: Amery Hung <amery.hung@...edance.com>
> 
> Test struct_ops programs returning referenced kptr. When the return type
> of a struct_ops operator is pointer to struct, the verifier should
> only allow programs that return a scalar NULL or a non-local kptr with the
> correct type in its unmodified form.
> 
> Signed-off-by: Amery Hung <amery.hung@...edance.com>
> ---

Acked-by: Eduard Zingerman <eddyz87@...il.com>

[...]


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ