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]
Date: Mon, 29 Apr 2024 23:17:55 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Jakub Kicinski <kuba@...nel.org>, Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Alexei Starovoitov <ast@...nel.org>, Andrii Nakryiko <andrii@...nel.org>,
 David Miller <davem@...emloft.net>, Paolo Abeni <pabeni@...hat.com>,
 bpf <bpf@...r.kernel.org>, Networking <netdev@...r.kernel.org>,
 Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
 Linux Next Mailing List <linux-next@...r.kernel.org>,
 Martin KaFai Lau <martin.lau@...nel.org>,
 Puranjay Mohan <puranjay12@...il.com>, Puranjay Mohan <puranjay@...nel.org>
Subject: Re: linux-next: manual merge of the bpf-next tree with the net tree

On 4/29/24 8:56 PM, Jakub Kicinski wrote:
> On Mon, 29 Apr 2024 11:49:39 +1000 Stephen Rothwell wrote:
>>   +u64 __weak bpf_arch_uaddress_limit(void)
>>   +{
>>   +#if defined(CONFIG_64BIT) && defined(CONFIG_ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE)
>>   +	return TASK_SIZE;
>>   +#else
>>   +	return 0;
>>   +#endif
>>   +}
>>   +
>> + bool __weak bpf_jit_supports_insn(struct bpf_insn *insn, bool in_arena)
>> + {
>> + 	return false;
>> + }
> 
> Thanks! FTR I plan to used the inverse order, if that matters..

Yeap, that looks cleaner, same for the signature in the header given the others
prefixed with bpf_jit_supports_*.

Thanks,
Daniel

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ