apparmor: gcc 13 compatibility fix
authorOskari Rauta <oskari.rauta@gmail.com>
Sat, 27 May 2023 07:05:20 +0000 (10:05 +0300)
committerRosen Penev <rosenp@gmail.com>
Sun, 28 May 2023 06:30:11 +0000 (09:30 +0300)
commit0e34107963e3d503ed4dd7a9b9dc6b75596d5474
tree98bd2050ed0290e7f499a658c07b132ec2ab3404
parent19291ee1951a79776c1b67c10fd67af5d346abc5
apparmor: gcc 13 compatibility fix

when built with gcc 13, fixes following error:

capability.h:46:6: error: variable or field '__debug_capabilities' declared void
   46 | void __debug_capabilities(uint64_t capset, const char *name);
      |      ^~~~~~~~~~~~~~~~~~~~
capability.h:46:27: error: 'uint64_t' was not declared in this scope

patch is back ported from upstream patch at
https://gitlab.com/apparmor/apparmor/-/commit/64a64be7ffb5a84f27daa9f37ae8ad92800943d3.patch

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
utils/apparmor/Makefile
utils/apparmor/patches/100-add-missing-cstdint-include.patch [new file with mode: 0644]