libsepol: fix reallocarray imports
Inf0a5f6e
, calls to reallocarray were introduced. Ensure that the correct header (private.h) is included when necessary. Fixes:f0a5f6e
("libsepol: use reallocarray wrapper to avoid overflows") Signed-off-by: Thiébaud Weksteen <tweek@google.com> Acked-by: James Carter <jwcart2@gmail.com> Test: Built using Android CI (glibc 2.17)
This commit is contained in:
parent
8871fd603a
commit
cc1bd5e834
2 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
||||||
#include <sepol/policydb/hashtab.h>
|
#include <sepol/policydb/hashtab.h>
|
||||||
#include <sepol/policydb/symtab.h>
|
#include <sepol/policydb/symtab.h>
|
||||||
|
|
||||||
|
#include "private.h"
|
||||||
#include "kernel_to_common.h"
|
#include "kernel_to_common.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,8 @@
|
||||||
#include <sepol/policydb/policydb.h>
|
#include <sepol/policydb/policydb.h>
|
||||||
#include <sepol/policydb/util.h>
|
#include <sepol/policydb/util.h>
|
||||||
|
|
||||||
|
#include "private.h"
|
||||||
|
|
||||||
struct val_to_name {
|
struct val_to_name {
|
||||||
unsigned int val;
|
unsigned int val;
|
||||||
char *name;
|
char *name;
|
||||||
|
|
Loading…
Reference in a new issue