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: <20060904023440.E7848195C95@adsl-69-226-248-13.dsl.pltn13.pacbell.net>
Date:	Sun, 03 Sep 2006 19:34:40 -0700
From:	David Brownell <david-b@...bell.net>
To:	dtor@...ightbb.com
Cc:	rmk@....linux.org.uk, linux-kernel@...r.kernel.org, greg@...ah.com
Subject: Re: [patch/RFC 2.6.18-rc] platform_device_probe(), to conserve memory

> From: Dmitry Torokhov <dtor@...ightbb.com>
> Date: Sun, 3 Sep 2006 21:34:29 -0400
>
> On Sunday 03 September 2006 21:23, David Brownell wrote:
> > This defines a new platform_driver_probe() method allowing the driver's
> > probe() method, and its support code+data, to safely live in __init
> > sections for common system configurations.
> > 
>
> If you do this you also need to kill drivers bind/unbind attributes
> to show that dynamic [un]binding is not supported.

Unbinding hasn't changed; so if that attribute breaks because of this,
it was already broken.

It might be important that drv->probe() be replaced with something
that always fails though, since it seems there's an odd assumption
that not having a probe() means the driver works for any device...

- Dave


-- 
VGER BF report: H 1.38493e-10
-
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