You need to sign in or sign up before continuing.
提交 a87d79ad 编写于 作者: R Rafal Krypa 提交者: Casey Schaufler

Smack: add missing support for transmute bit in smack_str_from_perm()

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.gitSigned-off-by: NRafal Krypa <r.krypa@samsung.com>
上级 d15d9fad
...@@ -252,6 +252,8 @@ static inline void smack_str_from_perm(char *string, int access) ...@@ -252,6 +252,8 @@ static inline void smack_str_from_perm(char *string, int access)
string[i++] = 'x'; string[i++] = 'x';
if (access & MAY_APPEND) if (access & MAY_APPEND)
string[i++] = 'a'; string[i++] = 'a';
if (access & MAY_TRANSMUTE)
string[i++] = 't';
string[i] = '\0'; string[i] = '\0';
} }
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册