Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a87d79ad authored by Rafal Krypa's avatar Rafal Krypa Committed by Casey Schaufler
Browse files

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.git



Signed-off-by: default avatarRafal Krypa <r.krypa@samsung.com>
parent d15d9fad
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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';
}
/**