lkml.org 
[lkml]   [2010]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Correcting Kconfig for default security module
    On Fri, 28 May 2010, Shaz wrote:

    > Dear James,
    >
    > The following patch removes the confusion that if someone want to have
    > LSM as secondary and chooses DAC as the default. This will disable LSM
    > as discussed on SELinux mailing list.

    The correct list for posting security patches is the LSM list (cc'd).

    >
    > ------------------------------------------------------------------------------------------------------------------------------------------------------------
    >
    > diff -uNr linux-2.6.34/security/Kconfig linux-2.6.34-my/security/Kconfig
    > --- linux-2.6.34-orig/security/Kconfig 2010-05-17 02:17:36.000000000 +0500
    > +++ linux-2.6.34/security/Kconfig 2010-05-28 02:43:07.000000000 +0500
    > @@ -148,11 +148,10 @@
    > default DEFAULT_SECURITY_SELINUX if SECURITY_SELINUX
    > default DEFAULT_SECURITY_SMACK if SECURITY_SMACK
    > default DEFAULT_SECURITY_TOMOYO if SECURITY_TOMOYO
    > - default DEFAULT_SECURITY_DAC
    >
    > help
    > Select the security module that will be used by default if the
    > - kernel parameter security= is not specified.
    > + kernel parameter security= is not specified. DAC stays as the default.
    >
    > config DEFAULT_SECURITY_SELINUX
    > bool "SELinux" if SECURITY_SELINUX=y
    > @@ -163,9 +162,7 @@
    > config DEFAULT_SECURITY_TOMOYO
    > bool "TOMOYO" if SECURITY_TOMOYO=y
    >
    > - config DEFAULT_SECURITY_DAC
    > - bool "Unix Discretionary Access Controls"
    > -
    > +
    > endchoice
    >
    > config DEFAULT_SECURITY
    >
    > --
    > Shaz
    >

    --
    James Morris
    <jmorris@namei.org>


    \
     
     \ /
      Last update: 2010-05-28 01:37    [W:0.023 / U:31.548 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site