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] [day] [month] [year] [list]
Date:	Thu, 8 Feb 2007 10:51:38 -0800
From:	Greg KH <greg@...ah.com>
To:	Dmitry Torokhov <dmitry.torokhov@...il.com>,
	Kay Sievers <kay.sievers@...y.org>
Cc:	linux-kernel@...r.kernel.org, Greg Kroah-Hartman <gregkh@...e.de>
Subject: Re: [PATCH 10/28] SERIO: add the sysfs driver name to all modules

On Thu, Feb 08, 2007 at 12:20:05PM -0500, Dmitry Torokhov wrote:
> Hi Greg,
> 
> On 2/7/07, Greg KH <greg@...ah.com> wrote:
> >From: Greg Kroah-Hartman <gregkh@...e.de>
> >
> >This adds the module name to all SERIO drivers, if they are built into
> >the kernel or not.  It will show up in /sys/modules/MODULE_NAME/drivers/
> >
> 
> What is this needed for?

All modules show up today in /sys/module/ no matter if they are built
into the kernel or not.

But, if they are built as a module, the /sys/module/drivers/ link was
present.  This is not consistant, as we always want to see that link, no
matter if the driver is built in or not.  So with this change, we now
always see the links.

I also fixed the PCI and USB drivers to do this as well.

Hope this helps explain it.

thanks,

greg k-h
-
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