From: Casey Schaufler <casey@schaufler-ca.com>
To: Rafal Krypa <r.krypa@samsung.com>
Cc: linux-security-module@vger.kernel.org,
linux-kernel@vger.kernel.org,
Casey Schaufler <casey@schaufler-ca.com>
Subject: Re: [PATCH] Smack: add missing support for transmute bit in smack_str_from_perm()
Date: Wed, 09 Jan 2013 11:17:22 -0800 [thread overview]
Message-ID: <50EDC242.5070508@schaufler-ca.com> (raw)
In-Reply-To: <1354030147-32577-1-git-send-email-r.krypa@samsung.com>
On 11/27/2012 7:29 AM, Rafal Krypa wrote:
> This fixes audit logs for granting or denial of permissions to show
> information about transmute bit.
>
> Targeted for git://git.gitorious.org/smack-next/kernel.git
>
> Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
Applied to git://git.gitorious.org/smack-next/kernel.git#stage-for-3.9
> ---
> security/smack/smack_access.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/security/smack/smack_access.c b/security/smack/smack_access.c
> index db14689..2e397a8 100644
> --- a/security/smack/smack_access.c
> +++ b/security/smack/smack_access.c
> @@ -252,6 +252,8 @@ static inline void smack_str_from_perm(char *string, int access)
> string[i++] = 'x';
> if (access & MAY_APPEND)
> string[i++] = 'a';
> + if (access & MAY_TRANSMUTE)
> + string[i++] = 't';
> string[i] = '\0';
> }
> /**
prev parent reply other threads:[~2013-01-09 19:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-27 15:29 [PATCH] Smack: add missing support for transmute bit in smack_str_from_perm() Rafal Krypa
2012-11-27 17:23 ` Casey Schaufler
2013-01-09 19:17 ` Casey Schaufler [this message]
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=50EDC242.5070508@schaufler-ca.com \
--to=casey@schaufler-ca.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=r.krypa@samsung.com \
/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.