/external/libsepol/include/sepol/ |
D | node_record.h | 23 extern int sepol_node_key_create(sepol_handle_t * handle, 32 extern int sepol_node_key_extract(sepol_handle_t * handle, 39 extern int sepol_node_get_addr(sepol_handle_t * handle, 42 extern int sepol_node_get_addr_bytes(sepol_handle_t * handle, 46 extern int sepol_node_set_addr(sepol_handle_t * handle, 50 extern int sepol_node_set_addr_bytes(sepol_handle_t * handle, 55 extern int sepol_node_get_mask(sepol_handle_t * handle, 58 extern int sepol_node_get_mask_bytes(sepol_handle_t * handle, 62 extern int sepol_node_set_mask(sepol_handle_t * handle, 66 extern int sepol_node_set_mask_bytes(sepol_handle_t * handle, [all …]
|
D | handle.h | 5 typedef struct sepol_handle sepol_handle_t; typedef 8 sepol_handle_t *sepol_handle_create(void); 14 int sepol_get_disable_dontaudit(sepol_handle_t * sh); 18 void sepol_set_disable_dontaudit(sepol_handle_t * sh, int disable_dontaudit); 22 void sepol_set_expand_consume_base(sepol_handle_t * sh, int consume_base); 25 void sepol_handle_destroy(sepol_handle_t *); 28 int sepol_get_preserve_tunables(sepol_handle_t * sh); 32 void sepol_set_preserve_tunables(sepol_handle_t * sh, int preserve_tunables);
|
D | user_record.h | 13 extern int sepol_user_key_create(sepol_handle_t * handle, 19 extern int sepol_user_key_extract(sepol_handle_t * handle, 34 extern int sepol_user_set_name(sepol_handle_t * handle, 40 extern int sepol_user_set_mlslevel(sepol_handle_t * handle, 45 extern int sepol_user_set_mlsrange(sepol_handle_t * handle, 51 extern int sepol_user_add_role(sepol_handle_t * handle, 58 extern int sepol_user_get_roles(sepol_handle_t * handle, 63 extern int sepol_user_set_roles(sepol_handle_t * handle, 68 extern int sepol_user_create(sepol_handle_t * handle, sepol_user_t ** user_ptr); 70 extern int sepol_user_clone(sepol_handle_t * handle,
|
D | context_record.h | 15 extern int sepol_context_set_user(sepol_handle_t * handle, 21 extern int sepol_context_set_role(sepol_handle_t * handle, 27 extern int sepol_context_set_type(sepol_handle_t * handle, 33 extern int sepol_context_set_mls(sepol_handle_t * handle, 37 extern int sepol_context_create(sepol_handle_t * handle, 40 extern int sepol_context_clone(sepol_handle_t * handle, 47 extern int sepol_context_from_string(sepol_handle_t * handle, 50 extern int sepol_context_to_string(sepol_handle_t * handle,
|
D | iface_record.h | 22 extern int sepol_iface_key_create(sepol_handle_t * handle, 26 extern int sepol_iface_key_extract(sepol_handle_t * handle, 35 extern int sepol_iface_set_name(sepol_handle_t * handle, 41 extern int sepol_iface_set_ifcon(sepol_handle_t * handle, 46 extern int sepol_iface_set_msgcon(sepol_handle_t * handle, 50 extern int sepol_iface_create(sepol_handle_t * handle, 53 extern int sepol_iface_clone(sepol_handle_t * handle,
|
D | debug.h | 14 extern int sepol_msg_get_level(sepol_handle_t * handle); 16 extern const char *sepol_msg_get_channel(sepol_handle_t * handle); 18 extern const char *sepol_msg_get_fname(sepol_handle_t * handle); 25 extern void sepol_msg_set_callback(sepol_handle_t * handle, 30 sepol_handle_t *
|
D | ports.h | 9 extern int sepol_port_count(sepol_handle_t * handle, 13 extern int sepol_port_exists(sepol_handle_t * handle, 18 extern int sepol_port_query(sepol_handle_t * handle, 24 extern int sepol_port_modify(sepol_handle_t * handle, 35 extern int sepol_port_iterate(sepol_handle_t * handle,
|
D | interfaces.h | 9 extern int sepol_iface_count(sepol_handle_t * handle, 14 extern int sepol_iface_exists(sepol_handle_t * handle, 20 extern int sepol_iface_query(sepol_handle_t * handle, 27 extern int sepol_iface_modify(sepol_handle_t * handle, 38 extern int sepol_iface_iterate(sepol_handle_t * handle,
|
D | nodes.h | 9 extern int sepol_node_count(sepol_handle_t * handle, 13 extern int sepol_node_exists(sepol_handle_t * handle, 18 extern int sepol_node_query(sepol_handle_t * handle, 24 extern int sepol_node_modify(sepol_handle_t * handle, 35 extern int sepol_node_iterate(sepol_handle_t * handle,
|
D | users.h | 27 extern int sepol_user_modify(sepol_handle_t * handle, 33 extern int sepol_user_count(sepol_handle_t * handle, 37 extern int sepol_user_exists(sepol_handle_t * handle, 42 extern int sepol_user_query(sepol_handle_t * handle, 52 extern int sepol_user_iterate(sepol_handle_t * handle,
|
D | booleans.h | 28 extern int sepol_bool_set(sepol_handle_t * handle, 34 extern int sepol_bool_count(sepol_handle_t * handle, 38 extern int sepol_bool_exists(sepol_handle_t * handle, 43 extern int sepol_bool_query(sepol_handle_t * handle, 54 extern int sepol_bool_iterate(sepol_handle_t * handle,
|
D | boolean_record.h | 13 extern int sepol_bool_key_create(sepol_handle_t * handle, 19 extern int sepol_bool_key_extract(sepol_handle_t * handle, 34 extern int sepol_bool_set_name(sepol_handle_t * handle, 43 extern int sepol_bool_create(sepol_handle_t * handle, sepol_bool_t ** bool_ptr); 45 extern int sepol_bool_clone(sepol_handle_t * handle,
|
D | port_record.h | 22 extern int sepol_port_key_create(sepol_handle_t * handle, 29 extern int sepol_port_key_extract(sepol_handle_t * handle, 54 extern int sepol_port_set_con(sepol_handle_t * handle, 58 extern int sepol_port_create(sepol_handle_t * handle, sepol_port_t ** port_ptr); 60 extern int sepol_port_clone(sepol_handle_t * handle,
|
D | context.h | 14 extern int sepol_context_check(sepol_handle_t * handle, 18 extern int sepol_mls_contains(sepol_handle_t * handle, 23 extern int sepol_mls_check(sepol_handle_t * handle,
|
/external/libsepol/src/ |
D | handle.c | 6 sepol_handle_t *sepol_handle_create(void) in sepol_handle_create() 9 sepol_handle_t *sh = malloc(sizeof(sepol_handle_t)); in sepol_handle_create() 27 int sepol_get_preserve_tunables(sepol_handle_t *sh) in sepol_get_preserve_tunables() 33 void sepol_set_preserve_tunables(sepol_handle_t * sh, int preserve_tunables) in sepol_set_preserve_tunables() 39 int sepol_get_disable_dontaudit(sepol_handle_t *sh) in sepol_get_disable_dontaudit() 45 void sepol_set_disable_dontaudit(sepol_handle_t * sh, int disable_dontaudit) in sepol_set_disable_dontaudit() 51 void sepol_set_expand_consume_base(sepol_handle_t *sh, int consume_base) in sepol_set_expand_consume_base() 57 void sepol_handle_destroy(sepol_handle_t * sh) in sepol_handle_destroy()
|
D | debug.c | 21 int sepol_msg_get_level(sepol_handle_t * handle) in sepol_msg_get_level() 28 const char *sepol_msg_get_channel(sepol_handle_t * handle) in hidden_def() 35 const char *sepol_msg_get_fname(sepol_handle_t * handle) in hidden_def() 45 sepol_handle_t * handle, in hidden_def() 76 extern void sepol_msg_set_callback(sepol_handle_t * handle, in sepol_msg_set_callback() 81 sepol_handle_t * in sepol_msg_set_callback()
|
D | node_record.c | 44 static int node_parse_addr(sepol_handle_t * handle, in node_parse_addr() 92 static int node_alloc_addr(sepol_handle_t * handle, in node_alloc_addr() 138 static int node_expand_addr(sepol_handle_t * handle, in node_expand_addr() 193 static int node_alloc_addr_string(sepol_handle_t * handle, in node_alloc_addr_string() 232 int sepol_node_key_create(sepol_handle_t * handle, in sepol_node_key_create() 283 int sepol_node_key_extract(sepol_handle_t * handle, in hidden_def() 365 int sepol_node_get_addr(sepol_handle_t * handle, in sepol_node_get_addr() 388 int sepol_node_get_addr_bytes(sepol_handle_t * handle, in hidden_def() 407 int sepol_node_set_addr(sepol_handle_t * handle, in hidden_def() 433 int sepol_node_set_addr_bytes(sepol_handle_t * handle, in hidden_def() [all …]
|
D | context.h | 11 extern int context_from_record(sepol_handle_t * handle, 16 extern int context_to_record(sepol_handle_t * handle, 22 extern int context_from_string(sepol_handle_t * handle, 32 extern int context_to_string(sepol_handle_t * handle,
|
D | iface_record.c | 27 int sepol_iface_key_create(sepol_handle_t * handle, in sepol_iface_key_create() 55 int sepol_iface_key_extract(sepol_handle_t * handle, in hidden_def() 89 int sepol_iface_create(sepol_handle_t * handle, sepol_iface_t ** iface) in sepol_iface_create() 120 int sepol_iface_set_name(sepol_handle_t * handle, in hidden_def() 145 int sepol_iface_set_ifcon(sepol_handle_t * handle, in hidden_def() 172 int sepol_iface_set_msgcon(sepol_handle_t * handle, in hidden_def() 190 int sepol_iface_clone(sepol_handle_t * handle, in hidden_def()
|
D | user_record.c | 30 int sepol_user_key_create(sepol_handle_t * handle, in sepol_user_key_create() 59 int sepol_user_key_extract(sepol_handle_t * handle, in hidden_def() 96 int sepol_user_set_name(sepol_handle_t * handle, in sepol_user_set_name() 121 int sepol_user_set_mlslevel(sepol_handle_t * handle, in hidden_def() 146 int sepol_user_set_mlsrange(sepol_handle_t * handle, in hidden_def() 170 int sepol_user_add_role(sepol_handle_t * handle, in sepol_user_add_role() 215 int sepol_user_set_roles(sepol_handle_t * handle, in hidden_def() 260 int sepol_user_get_roles(sepol_handle_t * handle, in sepol_user_get_roles() 302 int sepol_user_create(sepol_handle_t * handle, sepol_user_t ** user_ptr) in sepol_user_create() 326 int sepol_user_clone(sepol_handle_t * handle, in hidden_def()
|
D | booleans.c | 14 static int bool_update(sepol_handle_t * handle, in bool_update() 54 static int bool_to_record(sepol_handle_t * handle, in bool_to_record() 82 int sepol_bool_set(sepol_handle_t * handle, in sepol_bool_set() 106 int sepol_bool_count(sepol_handle_t * handle __attribute__ ((unused)), in sepol_bool_count() 117 int sepol_bool_exists(sepol_handle_t * handle, in sepol_bool_exists() 140 int sepol_bool_query(sepol_handle_t * handle, in sepol_bool_query() 178 int sepol_bool_iterate(sepol_handle_t * handle, in sepol_bool_iterate()
|
D | context_record.c | 33 int sepol_context_set_user(sepol_handle_t * handle, in hidden_def() 60 int sepol_context_set_role(sepol_handle_t * handle, in hidden_def() 86 int sepol_context_set_type(sepol_handle_t * handle, in hidden_def() 112 int sepol_context_set_mls(sepol_handle_t * handle, in hidden_def() 130 int sepol_context_create(sepol_handle_t * handle, sepol_context_t ** con_ptr) in hidden_def() 152 int sepol_context_clone(sepol_handle_t * handle, in hidden_def() 208 int sepol_context_from_string(sepol_handle_t * handle, in hidden_def() 282 int sepol_context_to_string(sepol_handle_t * handle, in hidden_def()
|
D | ports.c | 11 static inline int sepol2ipproto(sepol_handle_t * handle, int proto) in sepol2ipproto() 25 static inline int ipproto2sepol(sepol_handle_t * handle, int proto) in ipproto2sepol() 41 static int port_from_record(sepol_handle_t * handle, in port_from_record() 100 static int port_to_record(sepol_handle_t * handle, in port_to_record() 143 extern int sepol_port_count(sepol_handle_t * handle __attribute__ ((unused)), in sepol_port_count() 162 int sepol_port_exists(sepol_handle_t * handle, in sepol_port_exists() 200 int sepol_port_query(sepol_handle_t * handle, in sepol_port_query() 240 int sepol_port_modify(sepol_handle_t * handle, in sepol_port_modify() 276 int sepol_port_iterate(sepol_handle_t * handle, in sepol_port_iterate()
|
D | boolean_record.c | 21 int sepol_bool_key_create(sepol_handle_t * handle, in sepol_bool_key_create() 49 int sepol_bool_key_extract(sepol_handle_t * handle, in hidden_def() 91 int sepol_bool_set_name(sepol_handle_t * handle, in hidden_def() 125 int sepol_bool_create(sepol_handle_t * handle, sepol_bool_t ** bool_ptr) in hidden_def() 146 int sepol_bool_clone(sepol_handle_t * handle, in hidden_def()
|
/external/libsepol/include/sepol/policydb/ |
D | expand.h | 44 extern int expand_module_avrules(sepol_handle_t * handle, policydb_t * base, 53 extern int expand_module(sepol_handle_t * handle, 65 policydb_t *p, sepol_handle_t *h); 67 policydb_t *p, sepol_handle_t *h); 68 extern int expand_rule(sepol_handle_t * handle,
|