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] [day] [month] [year] [list]
Message-ID: <giu7jtmw7ixfej4hkpmdjy6agplhokinyo7lzfd6pc3chi6zm3@7jjqpl4m5r2i>
Date: Tue, 6 May 2025 12:12:14 +0900
From: Sergey Senozhatsky <senozhatsky@...omium.org>
To: Alexei Starovoitov <alexei.starovoitov@...il.com>
Cc: Sergey Senozhatsky <senozhatsky@...omium.org>, 
	Alexei Starovoitov <ast@...nel.org>, Daniel Borkmann <daniel@...earbox.net>, 
	Andrii Nakryiko <andrii@...nel.org>, bpf <bpf@...r.kernel.org>, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [RFC] BPF fault/jitter-injection framework

On (25/05/02 19:10), Alexei Starovoitov wrote:
> To call schedule_timeout() bpf program needs to be sleepable.
> Majority of LSM and ALLOW_ERROR_INJECTION hooks are sleepable.
> All syscalls are sleepable too.

Thank you for your reply, Alexei.

A question:
Are "ALLOW_ERROR_INJECTION hooks" some sort of BPF programs type?
I looked at libbpf but couldn't find any mention of ALLOW_ERROR_INJECTION.

Is there a way to make sure that "bpf_sleep()" can only be called from
those special programs (that would require CONFIG_FAULT_INJECTION)?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ