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:	Mon, 12 Jul 2010 14:21:26 -0700
From:	Greg KH <gregkh@...e.de>
To:	Randy Dunlap <randy.dunlap@...cle.com>
Cc:	Stephen Rothwell <sfr@...b.auug.org.au>,
	linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: Re: linux-next: Tree for July 12 (debugfs/sysfs/rcu)

On Mon, Jul 12, 2010 at 12:47:50PM -0700, Randy Dunlap wrote:
> On Mon, 12 Jul 2010 15:51:09 +1000 Stephen Rothwell wrote:
> 
> > Hi all,
> > 
> > Changes since 20100709:
> 
> Greg,
> What is there about debugfs that requires sysfs?

Look at commit 3348e05a4f25489908d9f7ed4e80ac291ead18f4 almost 5 years
ago:
    [PATCH] DEBUG_FS must depend on SYSFS
    
    CONFIG_DEBUG_FS=y and CONFIG_SYSFS=n results in the following compile
    error:
    
    <--  snip  -->
    
    ...
      LD      vmlinux
    fs/built-in.o: In function `debugfs_init':
    inode.c:(.init.text+0x31be): undefined reference to `kernel_subsys'
    make: *** [vmlinux] Error 1
    
    <--  snip  -->

But, there is no "kernel_subsys" anymore, it is called kernel_kobj, and
is in kernel/ksysfs.c and always is built now, even if CONFIG_SYSFS is
disabled.

So it should be safe to remove that dependancy if you want to.

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