Searched refs:policy_file (Results 1 – 5 of 5) sorted by relevance
| /linux/security/selinux/ss/ |
| H A D | policydb.h | 317 struct policy_file { struct 328 extern int policydb_read(struct policydb *p, struct policy_file *fp); argument 329 extern int policydb_write(struct policydb *p, struct policy_file *fp); 354 struct policy_file *fp; 357 static inline int next_entry(void *buf, struct policy_file *fp, size_t bytes) in next_entry() 369 struct policy_file *fp) in put_entry() 391 extern int str_read(char **strp, gfp_t flags, struct policy_file *fp, u32 len);
|
| H A D | policydb.c | 1004 static int mls_read_range_helper(struct mls_range *r, struct policy_file *fp) in mls_read_range_helper() 1064 struct policy_file *fp) in context_read_and_validate() 1102 int str_read(char **strp, gfp_t flags, struct policy_file *fp, u32 len) in str_read() 1125 static int perm_read(struct policydb *p, struct symtab *s, struct policy_file *fp) in perm_read() 1158 static int common_read(struct policydb *p, struct symtab *s, struct policy_file *fp) in common_read() 1210 static int type_set_read(struct type_set *t, struct policy_file *fp) in type_set_read() 1229 u32 ncons, int allowxtarget, struct policy_file *fp) in read_cons_helper() 1321 static int class_read(struct policydb *p, struct symtab *s, struct policy_file *fp) in class_read() 1418 static int role_read(struct policydb *p, struct symtab *s, struct policy_file *fp) in role_read() 1475 static int type_read(struct policydb *p, struct symtab *s, struct policy_file *fp) in type_read() [all …]
|
| H A D | conditional.c | 209 int cond_read_bool(struct policydb *p, struct symtab *s, struct policy_file *fp) in cond_read_bool() 320 static int cond_read_av_list(struct policydb *p, struct policy_file *fp, in cond_read_av_list() 372 static int cond_read_node(struct policydb *p, struct cond_node *node, struct policy_file *fp) in cond_read_node() 412 int cond_read_list(struct policydb *p, struct policy_file *fp) in cond_read_list() 450 struct policy_file *fp = pd->fp; in cond_write_bool() 478 struct policy_file *fp) in cond_write_av_list() 499 struct policy_file *fp) in cond_write_node() 533 int cond_write_list(struct policydb *p, struct policy_file *fp) in cond_write_list()
|
| H A D | avtab.c | 306 int avtab_read_item(struct avtab *a, struct policy_file *fp, struct policydb *pol, in avtab_read_item() 477 int avtab_read(struct avtab *a, struct policy_file *fp, struct policydb *pol) in avtab_read() 520 int avtab_write_item(struct policydb *p, const struct avtab_node *cur, struct policy_file *fp) in avtab_write_item() 556 int avtab_write(struct policydb *p, struct avtab *a, struct policy_file *fp) in avtab_write()
|
| H A D | services.c | 2313 struct policy_file file = { data, len }, *fp = &file; in security_load_policy() 3999 struct policy_file fp; in __security_read_policy()
|