diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-09 03:02:35 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-09 03:02:35 -0400 |
commit | 1236d6bb6e19fc72ffc6bbcdeb1bfefe450e54ee (patch) | |
tree | 47da3feee8e263e8c9352c85cf518e624be3c211 /security/apparmor/lib.c | |
parent | 750b1a6894ecc9b178c6e3d0a1170122971b2036 (diff) | |
parent | 8a5776a5f49812d29fe4b2d0a2d71675c3facf3f (diff) |
Merge 4.14-rc4 into staging-next
We want the staging/iio fixes in here as well to handle merge issues.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security/apparmor/lib.c')
-rw-r--r-- | security/apparmor/lib.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/security/apparmor/lib.c b/security/apparmor/lib.c index 08ca26bcca77..8818621b5d95 100644 --- a/security/apparmor/lib.c +++ b/security/apparmor/lib.c | |||
@@ -211,7 +211,8 @@ void aa_perm_mask_to_str(char *str, const char *chrs, u32 mask) | |||
211 | *str = '\0'; | 211 | *str = '\0'; |
212 | } | 212 | } |
213 | 213 | ||
214 | void aa_audit_perm_names(struct audit_buffer *ab, const char **names, u32 mask) | 214 | void aa_audit_perm_names(struct audit_buffer *ab, const char * const *names, |
215 | u32 mask) | ||
215 | { | 216 | { |
216 | const char *fmt = "%s"; | 217 | const char *fmt = "%s"; |
217 | unsigned int i, perm = 1; | 218 | unsigned int i, perm = 1; |
@@ -229,7 +230,7 @@ void aa_audit_perm_names(struct audit_buffer *ab, const char **names, u32 mask) | |||
229 | } | 230 | } |
230 | 231 | ||
231 | void aa_audit_perm_mask(struct audit_buffer *ab, u32 mask, const char *chrs, | 232 | void aa_audit_perm_mask(struct audit_buffer *ab, u32 mask, const char *chrs, |
232 | u32 chrsmask, const char **names, u32 namesmask) | 233 | u32 chrsmask, const char * const *names, u32 namesmask) |
233 | { | 234 | { |
234 | char str[33]; | 235 | char str[33]; |
235 | 236 | ||