From: James Morris <jmorris@namei.org>
To: Salvatore Mesoraca <s.mesoraca16@gmail.com>
Cc: linux-kernel@vger.kernel.org,
linux-security-module@vger.kernel.org,
James Morris <james.l.morris@oracle.com>,
Kees Cook <keescook@chromium.org>,
Casey Schaufler <casey@schaufler-ca.com>,
trivial@kernel.org
Subject: Re: [PATCH] Adding YAMA hooks also when YAMA is not stacked.
Date: Mon, 3 Aug 2015 15:10:46 +1000 (AEST) [thread overview]
Message-ID: <alpine.LRH.2.20.1508031510180.17339@namei.org> (raw)
In-Reply-To: <CAJHCu1L+jDGcbbc=z8TALQTR9NkLVxsCvScxJPjMHdagCAjkmg@mail.gmail.com>
On Fri, 31 Jul 2015, Salvatore Mesoraca wrote:
> Without this patch YAMA will not work at all if it is chosen
> as the primary LSM instead of being "stacked".
>
> Signed-off-by: Salvatore Mesoraca <s.mesoraca16@gmail.com>
> ---
> security/yama/yama_lsm.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/security/yama/yama_lsm.c b/security/yama/yama_lsm.c
> index 9ed3250..5ebb896 100644
> --- a/security/yama/yama_lsm.c
> +++ b/security/yama/yama_lsm.c
> @@ -406,6 +406,7 @@ static __init int yama_init(void)
> */
> if (!security_module_enable("yama"))
> return 0;
> + yama_add_hooks();
> #endif
> pr_info("Yama: becoming mindful.\n");
It looks like your mailer is converting tabs to spaces, please fix and
resend.
--
James Morris
<jmorris@namei.org>
next prev parent reply other threads:[~2015-08-03 5:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-31 7:55 Salvatore Mesoraca
2015-07-31 19:09 ` Kees Cook
2015-08-02 8:12 ` Salvatore Mesoraca
2015-08-03 5:10 ` James Morris [this message]
2015-08-03 10:17 ` Salvatore Mesoraca
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LRH.2.20.1508031510180.17339@namei.org \
--to=jmorris@namei.org \
--cc=casey@schaufler-ca.com \
--cc=james.l.morris@oracle.com \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=s.mesoraca16@gmail.com \
--cc=trivial@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®