On Sun, Mar 24, 2024 at 11:54 AM Puranjay Mohan <puranjay12@xxxxxxxxx> wrote: > > +u64 bpf_arch_uaddress_limit(void) > +{ > + return max(TASK_SIZE_MAX + PAGE_SIZE, VSYSCALL_ADDR); This is broken. See my other email. Sadly you didn't test it.
On Sun, Mar 24, 2024 at 11:54 AM Puranjay Mohan <puranjay12@xxxxxxxxx> wrote: > > +u64 bpf_arch_uaddress_limit(void) > +{ > + return max(TASK_SIZE_MAX + PAGE_SIZE, VSYSCALL_ADDR); This is broken. See my other email. Sadly you didn't test it.