[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5176DAC8.8040401@infradead.org>
Date: Tue, 23 Apr 2013 12:02:32 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: Casey Schaufler <casey@...aufler-ca.com>
CC: LSM <linux-security-module@...r.kernel.org>,
LKLM <linux-kernel@...r.kernel.org>,
SE Linux <selinux@...ho.nsa.gov>,
James Morris <jmorris@...ei.org>,
John Johansen <john.johansen@...onical.com>,
Eric Paris <eparis@...hat.com>,
Tetsuo Handa <penguin-kernel@...ove.sakura.ne.jp>,
Kees Cook <keescook@...omium.org>
Subject: Re: [PATCH v13 9/9] LSM: Documentation and cleanup
On 04/23/13 09:05, Casey Schaufler wrote:
> Subject: [PATCH v13 9/9] LSM: Documentation and cleanup
>
> Add a description of the ways secuirty modules work now.
security
> Remove security/capability.c as it is no longer used.
>
> Signed-off-by: Casey Schaufler <casey@...aufler-ca.com>
>
> ---
> Documentation/security/LSM.txt | 39 +-
> security/Makefile | 3 +-
> security/capability.c | 1104 ----------------------------------------
> 3 files changed, 31 insertions(+), 1115 deletions(-)
>
> diff --git a/Documentation/security/LSM.txt b/Documentation/security/LSM.txt
> index c335a76..f979e00 100644
> --- a/Documentation/security/LSM.txt
> +++ b/Documentation/security/LSM.txt
> @@ -9,18 +9,39 @@ CONFIG_DEFAULT_SECURITY and can be overridden at boot-time via the
> "security=..." kernel command line argument, in the case where multiple
> LSMs were built into a given kernel.
>
> +Both CONFIG_DEFAULT_SECURITY and the "security=" option take a comma
> +separated list of LSM names. The LSM hooks are invoked in the order
> +specified. All hooks provided are invoked regardless of the outcome
> +of preceeding hooks. Hooks the return success or failure results
preceding . ^^^confusing sentence structure^^^
> +return success if all of the LSM provided hooks succeed and the error
> +code of the last failing hook on error.
> +
> +The /proc filesystem attribute interface supports files from a time
> +when only one LSM could be used at a time. CONFIG_PRESENT_SECURITY
> +defines which LSM uses these interfaces. There are also LSM identified
> +interfaces which should be used in preference to the undifferentiated
> +interfaces.
--
~Randy
--
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