Author :
cheloha
Date :
2024-01-14 17:11:55
Hash :065d92b5 Message :sys/sched.h: conceal struct schedstate_percpu definition from userspace
struct schedstate_perpcu contains struct clockintr pointers. struct
clockintr is not defined in userspace, so move schedstate_percpu into
the _KERNEL guard to hide it from userspace. Nothing in base userspace
uses schedstate_percpu.
Thread: https://marc.info/?l=openbsd-tech&m=169861224916185&w=2
ok claudio@ millert@