Re: [PATCH 1/2] kernel/entry: add CONFIG_SYSCALL_USER_DISPATCH to compile SUD out

From: Thomas Gleixner

Date: Fri Jul 03 2026 - 15:05:33 EST


On Fri, Jul 03 2026 at 13:22, Gregory Price wrote:
> On Fri, Jul 03, 2026 at 05:39:59PM +0200, Thomas Gleixner wrote:
>> > #include <linux/thread_info.h>
>> > #include <linux/syscall_user_dispatch_types.h>
>> > +#include <linux/sched.h>
>>
>> Why does this require to pull in the heaviest header?
>>
> we dereference current (struct task_struct)

Who is we? :)