diff options
author | Vinícius Tinti <viniciustinti@gmail.com> | 2014-04-04 18:18:00 -0300 |
---|---|---|
committer | Sumit Semwal <sumit.semwal@linaro.org> | 2016-12-20 22:17:06 +0530 |
commit | f73496e5494fc5aa55fc4a403c23b1e7b3370e49 (patch) | |
tree | d5cf72078d0f70ecd873c047cc9677a7e699e0e5 /fs | |
parent | 9dc14e61b27ad2c1e3fd2db2b75b24df44a9ade2 (diff) |
apparmor: LLVMLinux: Remove VLAIS
Replaced the use of a Variable Length Array In Struct (VLAIS) with a C99
compliant equivalent. This patch instead allocates the appropriate amount of
memory using a char array using the SHASH_DESC_ON_STACK macro.
The new code can be compiled with both gcc and clang.
Signed-off-by: Vinícius Tinti <viniciustinti@gmail.com>
Reviewed-by: Jan-Simon Möller <dl9pf@gmx.de>
Reviewed-by: Mark Charlebois <charlebm@gmail.com>
Signed-off-by: Behan Webster <behanw@converseincode.com>
Acked-by: John Johansen <john.johansen@canonical.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions