Home
last modified time | relevance | path

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

/third_party/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,
113 extern int sepol_policydb_read(sepol_policydb_t * p, sepol_policy_file_t * pf);
120 extern int sepol_policydb_write(sepol_policydb_t * p, sepol_policy_file_t * pf);
/third_party/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()
176 int sepol_policydb_read(sepol_policydb_t * p, sepol_policy_file_t * pf) in sepol_policydb_read()
181 int sepol_policydb_write(sepol_policydb_t * p, sepol_policy_file_t * pf) in sepol_policydb_write()
/third_party/selinux/libselinux/src/
Dload_policy.c63 sepol_policy_file_t *pf; in selinux_mkload_policy()
67 int (*policy_file_create)(sepol_policy_file_t **) = NULL; in selinux_mkload_policy()
68 void (*policy_file_free)(sepol_policy_file_t *) = NULL; in selinux_mkload_policy()
69 void (*policy_file_set_mem)(sepol_policy_file_t *, char*, size_t) = NULL; in selinux_mkload_policy()
72 int (*policydb_read)(sepol_policydb_t *, sepol_policy_file_t *) = NULL; in selinux_mkload_policy()
/third_party/selinux/checkpolicy/test/
Ddismod.c759 (sepol_policy_file_t *) & f, 1); in read_policy()