-
Steve Beattie authored
The recently added overlay cache directory support added to libapparmor makes use of reallocarray(3) to resize memory allocations; however, reallocarray() was only included in glibc 2.26. This commit adds a configure check for reallocarray() and if it's not available, provides it as a wrapper around realloc(3). PR: apparmor/apparmor!100Signed-off-by:
Steve Beattie <steve.beattie@canonical.com> Acked-by:
John Johansen <john.johansen@canonical.com>
06d9a8ef