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

On Sat, 1 Aug 2009 02:14:47 -0700 (PDT) Christian Kujau wrote:

> 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? :-)


It's no problem to disable PROC_FS and SYSFS if you first enable
CONFIG_EMBEDDED>


> 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


---
~Randy
LPC 2009, Sept. 23-25, Portland, Oregon
http://linuxplumbersconf.org/2009/
--
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