From: Casey Schaufler <casey@schaufler-ca.com>
To: Jarkko Sakkinen <jarkko.j.sakkinen@gmail.com>,
James Morris <jmorris@namei.org>
Cc: linux-kernel@vger.kernel.org,
linux-security-module@vger.kernel.org,
Casey Schaufler <casey@schaufler-ca.com>
Subject: Re: [PATCH] Smack: compilation fix
Date: Fri, 14 Oct 2011 09:04:56 -0700 [thread overview]
Message-ID: <4E985DA8.80608@schaufler-ca.com> (raw)
In-Reply-To: <1318587384-2737-1-git-send-email-jarkko.j.sakkinen@gmail.com>
On 10/14/2011 3:16 AM, Jarkko Sakkinen wrote:
> On some build configurations PER_CLEAR_ON_SETID symbol was not
> found when compiling smack_lsm.c. This patch fixes the issue by
> explicitly doing #include <linux/personality.h>.
>
> Signed-off-by: Jarkko Sakkinen <jarkko.j.sakkinen@gmail.com>
Applied to git://gitorious.org/smack-next/kernel.git#master
James, can you pull for security testing please?
commit 16014d87509e26d6ed6935adbbf437a571fb5870
> ---
> security/smack/smack_lsm.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c
> index d55b991..7db62b4 100644
> --- a/security/smack/smack_lsm.c
> +++ b/security/smack/smack_lsm.c
> @@ -35,6 +35,7 @@
> #include <linux/audit.h>
> #include <linux/magic.h>
> #include <linux/dcache.h>
> +#include <linux/personality.h>
> #include "smack.h"
>
> #define task_security(task) (task_cred_xxx((task), security))
next prev parent reply other threads:[~2011-10-14 16:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-14 10:16 [PATCH] Smack: compilation fix Jarkko Sakkinen
2011-10-14 16:04 ` Casey Schaufler [this message]
2011-10-15 0:40 ` James Morris
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=4E985DA8.80608@schaufler-ca.com \
--to=casey@schaufler-ca.com \
--cc=jarkko.j.sakkinen@gmail.com \
--cc=jmorris@namei.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.