Re: [kernel-hardening] Re: initcall dependency problem (ns vs. threads)

Vasiliy Kulikov
2011-08-01T19:03:54Z

> Are we talking about init_ipc_ns.ids[] here? If so, did you try
> initializing the three rwsems at compile-time?
>
> That's rather a nasty hack though. It'd be better to run the mystery
> init function before starting the threads.

Looks like it solves the race. However, I think it should be solved on
another level. Other bugs might be hidden with this race.

Thanks,

--
Vasiliy Kulikov
http://www.openwall.com - bringing security into open computing environments