OpenBSD cvs log

created 2024-01-23T18:41:11Z
begin 2024-01-14T00:00:00Z
end 2024-01-15T00:00:00Z
path src/sys
commits 2

date 2024-01-14T17:11:55Z
author cheloha
files src/sys/sys/sched.h log diff annotate
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@

date 2024-01-14T17:23:56Z
author cheloha
files src/sys/sys/sched.h log diff annotate
message sys/sched.h: conceal <sys/queue.h> inclusion from userspace

Nothing outside of the _KERNEL guard in <sys/sched.h> needs
<sys/queue.h>, so move its inclusion under _KERNEL.

Requested by claudio@.

Link: https://marc.info/?l=openbsd-tech&m=169937494818685&w=2

ok claudio@