2025-03-14T14:39:42-07:00, Deepak Gupta :
> This commit adds a kernel command line option using which user cfi can be
> disabled.
>
> Signed-off-by: Deepak Gupta
> ---
> arch/riscv/kernel/usercfi.c | 21 +
> 1 file changed, 21 insertions(+)
>
> diff --git a/arch/riscv/kernel/u
On Thu, Mar 20, 2025 at 2:35 PM Radim Krčmář wrote:
>
> 2025-03-14T14:39:42-07:00, Deepak Gupta :
> > This commit adds a kernel command line option using which user cfi can be
> > disabled.
> >
> > Signed-off-by: Deepak Gupta
> > ---
> > arch/riscv/kernel/usercfi.c | 21 +
> >
2025-03-20T15:31:09-07:00, Deepak Gupta :
> On Thu, Mar 20, 2025 at 2:35 PM Radim Krčmář wrote:
>> 2025-03-14T14:39:42-07:00, Deepak Gupta :
>> > +__setup("disable_riscv_usercfi=", setup_global_riscv_enable);
>>
>> I'd prefer two command line options instead.
>
> One for zicfilp and one for zicfis