projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d15d9fa
)
Smack: add missing support for transmute bit in smack_str_from_perm()
author
Rafal Krypa
<r.krypa@samsung.com>
Tue, 27 Nov 2012 15:29:07 +0000
(16:29 +0100)
committer
Casey Schaufler
<casey@schaufler-ca.com>
Tue, 19 Mar 2013 21:15:41 +0000
(14:15 -0700)
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>
security/smack/smack_access.c
patch
|
blob
|
history
diff --git
a/security/smack/smack_access.c
b/security/smack/smack_access.c
index
db14689
..
2e397a8
100644
(file)
--- 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';
}
/**