ef4fd30672
Also, divide each sepolicy-analyze function into its own component for simplified command-line parsing and potentially eventual modularization. Bug: 18005561 Change-Id: I45fa07d776cf1bec7d60dba0c03ee05142b86c19
16 lines
361 B
C
16 lines
361 B
C
#ifndef UTILS_H
|
|
#define UTILS_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
#include <sepol/policydb/avtab.h>
|
|
#include <sepol/policydb/policydb.h>
|
|
|
|
|
|
extern bool USAGE_ERROR;
|
|
|
|
void display_allow(policydb_t *policydb, avtab_key_t *key, int idx, uint32_t perms);
|
|
|
|
int load_policy(char *filename, policydb_t * policydb, struct policy_file *pf);
|
|
|
|
#endif /* UTILS_H */
|