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: <CAADnVQLsUZ9SoWomC_2tSw=KsK6YkdDTmg7Hmr8wk-GHMv3kNQ@mail.gmail.com>
Date: Wed, 23 Oct 2024 18:04:54 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Tejun Heo <tj@...nel.org>
Cc: David Vernet <void@...ifault.com>, bpf <bpf@...r.kernel.org>, 
	Martin KaFai Lau <martin.lau@...nel.org>, Alexei Starovoitov <ast@...nel.org>, 
	Kernel Team <kernel-team@...a.com>, sched-ext@...a.com, 
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH sched_ext/for-6.13 2/2] sched_ext: Replace
 set_arg_maybe_null() with __nullable CFI stub tags

On Wed, Oct 23, 2024 at 5:55 PM Tejun Heo <tj@...nel.org> wrote:
>
> ops.dispatch() and ops.yield() may be fed a NULL task_struct pointer.
> set_arg_maybe_null() is used to tell the verifier that they should be NULL
> checked before being dereferenced. BPF now has an a lot prettier way to
> express this - tagging arguments in CFI stubs with __nullable. Replace
> set_arg_maybe_null() with __nullable CFI stub tags.
>
> Signed-off-by: Tejun Heo <tj@...nel.org>
> Cc: Martin KaFai Lau <martin.lau@...nel.org>
> Cc: Alexei Starovoitov <ast@...nel.org>

for this and 1st patch:
Acked-by: Alexei Starovoitov <ast@...nel.org>

Nice cleanup!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ