lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200711131540.07211.rusty@rustcorp.com.au>
Date:	Tue, 13 Nov 2007 15:40:06 +1100
From:	Rusty Russell <rusty@...tcorp.com.au>
To:	"Peter Teoh" <htmldeveloper@...il.com>
Cc:	"Jan Glauber" <jang@...ux.vnet.ibm.com>,
	LKML <linux-kernel@...r.kernel.org>,
	"Pavel Emelyanov" <xemul@...nvz.org>,
	"Andi Kleen" <andi@...stfloor.org>,
	"Jon Masters" <jonathan@...masters.org>
Subject: Re: [PATCH] module loader should not complain about unknown symbol

On Tuesday 13 November 2007 15:08:35 Peter Teoh wrote:
> On Nov 13, 2007 10:52 AM, Rusty Russell <rusty@...tcorp.com.au> wrote:
> > On Tuesday 13 November 2007 09:23:12 Rusty Russell wrote:
> > > Better might be to put in a waitqueue and wake it up whenever a module
> > > is deleted or changes status.  Then use_module() can wait if
> > > strong_try_module_get() returns -EBUSY (up to 30 seconds, then print a
> > > warning and fail).
>
> Will it ever go into a deadlock (or likewise DOS scenario) if modA dep
> on modB, but modB also dep on modA?

No, only if modB requests modA in its init function.  And then only for 30 
seconds.

modprobe will sort out the A needs B needs A case IIRC.

Cheers,
Rusty.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ