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-next>] [day] [month] [year] [list]
Message-Id: <20100917.211946.38301858.davem@davemloft.net>
Date:	Fri, 17 Sep 2010 21:19:46 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	torvalds@...ux-foundation.org
CC:	akpm@...ux-foundation.org, linux-ide@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: [GIT] IDE


Thanks to the excellent detective work and patch written by
Wolfram Sang, we have a fix for along standing issue in IDE.

The procfs directory for devices underneath an IDE controller
instance is not created before we try to makes nodes in that
directory.

The problem doesn't happen if, for example, you build everything
IDE statically into your kernel.  This is because the individual
host controller drivers initialize first and probe the IDE
controllers.  But the CDROM, disk, et al. driver's haven't
setup yet.  They do so later, and at that point is when the
nodes in the procfs directory get created.  And this works in
this case because the procfs directory is setup by the time
those device type drivers initialize.

But if we register an IDE controller device after the CDROM,
disk, et al. IDE modules have setup, we hit the problem.

Please pull, thanks a lot!

The following changes since commit 03a7ab083e4d619136d6f07ce70fa9de0bc436fc:

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 (2010-09-16 12:59:11 -0700)

are available in the git repository at:

  master.kernel.org:/pub/scm/linux/kernel/git/davem/ide-2.6.git master

Wolfram Sang (1):
      ide: Fix ordering of procfs registry.

 drivers/ide/ide-probe.c |   12 +++---------
 1 files changed, 3 insertions(+), 9 deletions(-)
--
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