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: Tue, 27 Nov 2012 09:23:35 -0800 [thread overview]
Message-ID: <50B4F717.4010605@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
I will queue this for 3.9 as I've just submitted the 3.8 Smack
changes.
>
> Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
> ---
> 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';
> }
> /**
next prev parent reply other threads:[~2012-11-27 17:30 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 [this message]
2013-01-09 19:17 ` Casey Schaufler
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=50B4F717.4010605@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox