|
Message-ID: <20110801190341.GA6898@albatros> Date: Mon, 1 Aug 2011 23:03:41 +0400 From: Vasiliy Kulikov <segoon@...nwall.com> To: Andrew Morton <akpm@...ux-foundation.org> Cc: Ingo Molnar <mingo@...e.hu>, kernel-hardening@...ts.openwall.com, "Paul E. McKenney" <paul.mckenney@...aro.org>, Manuel Lauss <manuel.lauss@...glemail.com>, linux-kernel@...r.kernel.org, Richard Weinberger <richard@....at>, torvalds@...ux-foundation.org, Marc Zyngier <maz@...terjones.org> Subject: Re: Re: initcall dependency problem (ns vs. threads) > 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
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.