Re: [PATCH] RISC-V/bpf: Enable bpf_probe_read{, str}()

From: Christoph Hellwig
Date: Mon Jul 04 2022 - 01:54:13 EST


On Sun, Jul 03, 2022 at 09:09:24PM +0800, Yixun Lan wrote:
> Enable this option to fix a bcc error in RISC-V platform
>
> And, the error shows as follows:

These should not be enabled on new platforms. Use the proper helpers
to probe kernel vs user pointers instead.