On Fri, Feb 05, 2016 at 07:34:02PM +0100, Oliver Pinter wrote: > Not yet tested, but possible fix: > > diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c > index cb952da..25bae84 100644 > --- a/sys/kern/init_main.c > +++ b/sys/kern/init_main.c > _at__at_ -482,7 +482,7 _at__at_ proc0_init(void *dummy __unused) > session0.s_leader = p; > > p->p_sysent = &null_sysvec; > - p->p_flag = P_SYSTEM | P_INMEM; > + p->p_flag = P_SYSTEM | P_INMEM | P_KTHREAD; > p->p_flag2 = 0; > p->p_state = PRS_NORMAL; So did you tested this ? Did you do an audit to see whether P_KTHREAD other usages possibly conflict with the proc0 specifics ? > #ifdef PAXReceived on Sat Feb 06 2016 - 14:23:50 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:02 UTC