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]
Date:	Sat, 1 Aug 2009 02:14:47 -0700 (PDT)
From:	Christian Kujau <lists@...dbynature.de>
To:	Greg KH <gregkh@...e.de>
cc:	Randy Dunlap <randy.dunlap@...cle.com>,
	lkml <linux-kernel@...r.kernel.org>,
	Lucian Adrian Grijincu <lgrijincu@...acom.com>
Subject: Re: [PATCH] documentation: make it clear that sysfs is optional

On Mon, 27 Jul 2009 at 09:26, Greg KH wrote:
> Probably the same reason /proc is configurable.  No one ever turns it
> off, but hey, it's possible :)

Hm, it seems as we cannot turn off PROC_FS or SYSFS any more. At least on 
my system a "make allnoconfig" still selects both. While PROC_FS still 
shows up under Filesystems->Pseudo-Filesystem (but cannot be turned off), 
I don't see a menuconfig knob to turn off SYSFS.
However, "make allnoconfig" still selects quite a few options anyway:

# uname -m
x86_64
# make allnoconfig
# grep -c =y .config
175

(manually editing .config gets reverted on another "make config").

So, it loks like SYSFS is just one of the things needed to build a kernel, 
along with the ~170 other things, at least on x86_64. Is this "make it 
clear that sysfs is optional" patch still valid? :-)

Christian.

sid$ find . -name Kconfig | xargs grep SYSFS  | egrep -v 'drivers/|fs/|net/'
./arch/arm/mach-pxa/Kconfig:    select GPIO_SYSFS
./arch/powerpc/kvm/Kconfig:     depends on KVM && MARKERS && SYSFS
./arch/x86/kvm/Kconfig: depends on KVM && SYSFS
./init/Kconfig:config SYSFS_DEPRECATED
./init/Kconfig:config SYSFS_DEPRECATED_V2
./init/Kconfig: depends on SYSFS
./init/Kconfig: select SYSFS_DEPRECATED
./init/Kconfig: depends on SLUB && SYSFS
./kernel/trace/Kconfig: depends on SYSFS
./security/Kconfig:     depends on SYSFS


-- 
BOFH excuse #228:

That function is not currently supported, but Bill Gates assures us it will be featured in the next upgrade.
--
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