Re: [RFCv2 03/10] x86: Introduce userspace API to handle per-thread features

From: Alexander Potapenko
Date: Fri May 13 2022 - 10:09:47 EST


> +
> + /* Handle ARCH_THREAD_FEATURE_ENABLE */
> +
> + task->thread.features |= features;
> +out:
> + return task->thread.features;
Isn't arch_prctl() supposed to return 0 on success?