On Tue, Sep 21, 2021 at 07:02:52PM +0800, sxwjean@xxxxxx wrote: > +static inline int is_compat_task(void) > +{ > + return IS_ENABLED(CONFIG_COMPAT) && test_thread_flag(TIF_32BIT); > +} This is fundamentally broken.
On Tue, Sep 21, 2021 at 07:02:52PM +0800, sxwjean@xxxxxx wrote: > +static inline int is_compat_task(void) > +{ > + return IS_ENABLED(CONFIG_COMPAT) && test_thread_flag(TIF_32BIT); > +} This is fundamentally broken.