lkml.org 
[lkml]   [2013]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Smack: add missing support for transmute bit in smack_str_from_perm()
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';
> }
> /**



\
 
 \ /
  Last update: 2013-01-09 21:01    [W:0.508 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site