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: <20100908135530.GA2978@kroah.com>
Date:	Wed, 8 Sep 2010 06:55:30 -0700
From:	Greg KH <greg@...ah.com>
To:	Andi Kleen <andi@...stfloor.org>,
	Kay Sievers <kay.sievers@...y.org>
Cc:	linux-kernel@...r.kernel.org, Andi Kleen <ak@...ux.intel.com>,
	axboe@...nel.dk, tiwai@...e.de,
	James.Bottomley@...senPartnership.com
Subject: Re: [PATCH] SYSFS: Allow boot time switching between deprecated
	and modern sysfs layout

On Wed, Sep 08, 2010 at 03:19:51PM +0200, Andi Kleen wrote:
> From: Andi Kleen <ak@...ux.intel.com>
> 
> I have some systems which need legacy sysfs due to old udev versions,
> and it's a big hazzle to compile separate kernels for them.
> 
> This patch turns CONFIG_SYSFS_DEPRECATED into a run time option
> that can be switched on/off the kernel command line. This way
> the same binary can be used in both cases with just a option
> on the command line.

Nice idea.  It will make testing easier for lots of people.

But, Kay and I just changed the logic in the kernel in this area,
getting rid of the CONFIG_SYSFS_DEPRECATED_V2 option entirely, to try to
make the code path smaller, only offering the "old" mode for block
devices, to keep kernels booting on userspace instances like what you
have.

So, could you respin this patch against the linux-next tree which has
Kay's patch in it?  Or, if it's easier, I've attached the patch below.

thanks,

greg k-h

View attachment "driver-core-remove-config_sysfs_deprecated_v2-but-keep-it-for-block-devices.patch" of type "text/x-patch" (17293 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ