Home
last modified time | relevance | path

Searched refs:sepol_policy_file_t (Results 1 – 5 of 5) sorted by relevance

/external/selinux/libsepol/include/sepol/
Dpolicydb.h14 typedef struct sepol_policy_file sepol_policy_file_t; typedef
22 extern int sepol_policy_file_create(sepol_policy_file_t ** pf);
23 extern void sepol_policy_file_free(sepol_policy_file_t * pf);
33 extern void sepol_policy_file_set_mem(sepol_policy_file_t * pf,
40 extern int sepol_policy_file_get_len(sepol_policy_file_t * pf, size_t * len);
47 extern void sepol_policy_file_set_fp(sepol_policy_file_t * pf, FILE * fp);
54 extern void sepol_policy_file_set_handle(sepol_policy_file_t * pf,
108 extern int sepol_policydb_read(sepol_policydb_t * p, sepol_policy_file_t * pf);
115 extern int sepol_policydb_write(sepol_policydb_t * p, sepol_policy_file_t * pf);
/external/selinux/libsepol/src/
Dpolicydb_public.c9 int sepol_policy_file_create(sepol_policy_file_t ** pf) in sepol_policy_file_create()
11 *pf = calloc(1, sizeof(sepol_policy_file_t)); in sepol_policy_file_create()
17 void sepol_policy_file_set_mem(sepol_policy_file_t * spf, in sepol_policy_file_set_mem()
32 void sepol_policy_file_set_fp(sepol_policy_file_t * spf, FILE * fp) in sepol_policy_file_set_fp()
40 int sepol_policy_file_get_len(sepol_policy_file_t * spf, size_t * len) in sepol_policy_file_get_len()
49 void sepol_policy_file_set_handle(sepol_policy_file_t * pf, in sepol_policy_file_set_handle()
55 void sepol_policy_file_free(sepol_policy_file_t * pf) in sepol_policy_file_free()
172 int sepol_policydb_read(sepol_policydb_t * p, sepol_policy_file_t * pf) in sepol_policydb_read()
177 int sepol_policydb_write(sepol_policydb_t * p, sepol_policy_file_t * pf) in sepol_policydb_write()
/external/selinux/libselinux/src/
Dload_policy.c68 sepol_policy_file_t *pf; in selinux_mkload_policy()
72 int (*policy_file_create)(sepol_policy_file_t **) = NULL; in selinux_mkload_policy()
73 void (*policy_file_free)(sepol_policy_file_t *) = NULL; in selinux_mkload_policy()
74 void (*policy_file_set_mem)(sepol_policy_file_t *, char*, size_t) = NULL; in selinux_mkload_policy()
77 int (*policydb_read)(sepol_policydb_t *, sepol_policy_file_t *) = NULL; in selinux_mkload_policy()
/external/selinux/libsemanage/src/
Ddatabase_policydb.c95 sepol_policy_file_t *pf = NULL; in dbase_policydb_cache()
/external/selinux/checkpolicy/test/
Ddismod.c759 (sepol_policy_file_t *) & f, 1); in read_policy()