[2.6 patch] SECURITY must depend on SYSFS

From: Adrian Bunk (bunk_at_stusta.de)
Date: 08/22/05

  • Next message: David S. Miller: "Re: CONFIG_PRINTK_TIME woes"
    Date:	Mon, 22 Aug 2005 18:20:50 +0200
    To: Andrew Morton <akpm@osdl.org>
    
    

    CONFIG_SECURITY=y and CONFIG_SYSFS=n results in the following compile
    error:

    <-- snip -->

    ...
      LD vmlinux
    security/built-in.o: In function `securityfs_init':
    inode.c:(.init.text+0x1c2): undefined reference to `kernel_subsys'
    make: *** [vmlinux] Error 1

    <-- snip -->

    Signed-off-by: Adrian Bunk <bunk@stusta.de>

    ---
    This patch was already sent on:
    - 24 Jul 2005
    --- linux-2.6.13-rc3-mm1-full/security/Kconfig.old	2005-07-23 20:21:09.000000000 +0200
    +++ linux-2.6.13-rc3-mm1-full/security/Kconfig	2005-07-23 20:22:22.000000000 +0200
    @@ -35,6 +35,7 @@
     
     config SECURITY
     	bool "Enable different security models"
    +	depends on SYSFS
     	help
     	  This allows you to choose different security modules to be
     	  configured into your kernel.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: David S. Miller: "Re: CONFIG_PRINTK_TIME woes"

    Relevant Pages

    • Re: [PATCH] OpenBSD Networking-related randomization port
      ... >> existing randomization code in network is compromise between ... and the security threat reduction. ... When I did the port randomization patch the benchmark that was most impacted ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [RFC][PATCH] delay rq_lock acquisition in setscheduler
      ... > policy has changed. ... This patch will let the security checks happen w/out lock held, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: starting with 2.7
      ... > applying the patch to 11 different kernel versions, ... Personally I'd be happier if security issues would trigger a new release. ... However a new kernel release would have the desired effect - the user updates ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: starting with 2.7
      ... > If a security vulnerability was found today, this meant backporting and ... > applying the patch to 11 different kernel versions, ... patches which are fixes (existing feature doesn't work, oops, security ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [2.6 patch] selinux: possible cleanups
      ... Thanks for working on these cleanups. ... I've separately submitted a patch ... security policy API and is needed for further work on security ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)