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]
Date:   Tue, 19 Feb 2019 21:58:48 +0100
From:   Daniel Borkmann <>
To:     Alexei Starovoitov <>,
Subject: Re: [PATCH bpf-next] bpf: check that BPF programs run with preemption

On 01/31/2019 11:29 PM, Daniel Borkmann wrote:
> On 01/29/2019 02:21 AM, Alexei Starovoitov wrote:
>> From: Peter Zijlstra <>
>> Introduce cant_sleep() macro for annotation of functions that cannot sleep.
>> Use it in BPF_PROG_RUN to catch execution of BPF programs
>> in preemptable context.
>> Suggested-by: Jann Horn <>
>> Signed-off-by: Peter Zijlstra (Intel) <>
>> Signed-off-by: Alexei Starovoitov <>
> (Just fyi, will let this sit in patchwork till the preemption fixes have been
> merged back from bpf into bpf-next as otherwise people will yell that they
> hit this frequently.)

Pushed out now, thanks!

Powered by blists - more mailing lists