/external/selinux/libsepol/src/ |
handle.c | 6 sepol_handle_t *sepol_handle_create(void) 9 sepol_handle_t *sh = malloc(sizeof(sepol_handle_t)); 27 int sepol_get_preserve_tunables(sepol_handle_t *sh) 33 void sepol_set_preserve_tunables(sepol_handle_t * sh, int preserve_tunables) 39 int sepol_get_disable_dontaudit(sepol_handle_t *sh) 45 void sepol_set_disable_dontaudit(sepol_handle_t * sh, int disable_dontaudit) 51 void sepol_set_expand_consume_base(sepol_handle_t *sh, int consume_base) 57 void sepol_handle_destroy(sepol_handle_t * sh)
|
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,
|
debug.c | 21 int sepol_msg_get_level(sepol_handle_t * handle) 28 const char *sepol_msg_get_channel(sepol_handle_t * handle) 35 const char *sepol_msg_get_fname(sepol_handle_t * handle) 45 sepol_handle_t * handle, 76 extern void sepol_msg_set_callback(sepol_handle_t * handle, 81 sepol_handle_t *
|
handle.h | 15 sepol_handle_t * handle, const char *fmt, ...);
|
boolean_record.c | 21 int sepol_bool_key_create(sepol_handle_t * handle, 49 int sepol_bool_key_extract(sepol_handle_t * handle, 91 int sepol_bool_set_name(sepol_handle_t * handle, 125 int sepol_bool_create(sepol_handle_t * handle, sepol_bool_t ** bool_ptr) 146 int sepol_bool_clone(sepol_handle_t * handle,
|
booleans.c | 14 static int bool_update(sepol_handle_t * handle, 54 static int bool_to_record(sepol_handle_t * handle, 82 int sepol_bool_set(sepol_handle_t * handle, 106 int sepol_bool_count(sepol_handle_t * handle __attribute__ ((unused)), 117 int sepol_bool_exists(sepol_handle_t * handle, 140 int sepol_bool_query(sepol_handle_t * handle, 178 int sepol_bool_iterate(sepol_handle_t * handle,
|
iface_record.c | 27 int sepol_iface_key_create(sepol_handle_t * handle, 55 int sepol_iface_key_extract(sepol_handle_t * handle, 89 int sepol_iface_create(sepol_handle_t * handle, sepol_iface_t ** iface) 120 int sepol_iface_set_name(sepol_handle_t * handle, 145 int sepol_iface_set_ifcon(sepol_handle_t * handle, 172 int sepol_iface_set_msgcon(sepol_handle_t * handle, 190 int sepol_iface_clone(sepol_handle_t * handle,
|
/external/selinux/libsepol/include/sepol/ |
context_record.h | 18 extern int sepol_context_set_user(sepol_handle_t * handle, 24 extern int sepol_context_set_role(sepol_handle_t * handle, 30 extern int sepol_context_set_type(sepol_handle_t * handle, 36 extern int sepol_context_set_mls(sepol_handle_t * handle, 40 extern int sepol_context_create(sepol_handle_t * handle, 43 extern int sepol_context_clone(sepol_handle_t * handle, 50 extern int sepol_context_from_string(sepol_handle_t * handle, 53 extern int sepol_context_to_string(sepol_handle_t * handle,
|
debug.h | 17 extern int sepol_msg_get_level(sepol_handle_t * handle); 19 extern const char *sepol_msg_get_channel(sepol_handle_t * handle); 21 extern const char *sepol_msg_get_fname(sepol_handle_t * handle); 28 extern void sepol_msg_set_callback(sepol_handle_t * handle, 33 sepol_handle_t *
|
iface_record.h | 25 extern int sepol_iface_key_create(sepol_handle_t * handle, 29 extern int sepol_iface_key_extract(sepol_handle_t * handle, 38 extern int sepol_iface_set_name(sepol_handle_t * handle, 44 extern int sepol_iface_set_ifcon(sepol_handle_t * handle, 49 extern int sepol_iface_set_msgcon(sepol_handle_t * handle, 53 extern int sepol_iface_create(sepol_handle_t * handle, 56 extern int sepol_iface_clone(sepol_handle_t * handle,
|
user_record.h | 16 extern int sepol_user_key_create(sepol_handle_t * handle, 22 extern int sepol_user_key_extract(sepol_handle_t * handle, 37 extern int sepol_user_set_name(sepol_handle_t * handle, 43 extern int sepol_user_set_mlslevel(sepol_handle_t * handle, 48 extern int sepol_user_set_mlsrange(sepol_handle_t * handle, 54 extern int sepol_user_add_role(sepol_handle_t * handle, 61 extern int sepol_user_get_roles(sepol_handle_t * handle, 66 extern int sepol_user_set_roles(sepol_handle_t * handle, 71 extern int sepol_user_create(sepol_handle_t * handle, sepol_user_t ** user_ptr); 73 extern int sepol_user_clone(sepol_handle_t * handle [all...] |
node_record.h | 26 extern int sepol_node_key_create(sepol_handle_t * handle, 35 extern int sepol_node_key_extract(sepol_handle_t * handle, 42 extern int sepol_node_get_addr(sepol_handle_t * handle, 45 extern int sepol_node_get_addr_bytes(sepol_handle_t * handle, 49 extern int sepol_node_set_addr(sepol_handle_t * handle, 53 extern int sepol_node_set_addr_bytes(sepol_handle_t * handle, 58 extern int sepol_node_get_mask(sepol_handle_t * handle, 61 extern int sepol_node_get_mask_bytes(sepol_handle_t * handle, 65 extern int sepol_node_set_mask(sepol_handle_t * handle, 69 extern int sepol_node_set_mask_bytes(sepol_handle_t * handle [all...] |
context.h | 17 extern int sepol_context_check(sepol_handle_t * handle, 21 extern int sepol_mls_contains(sepol_handle_t * handle, 26 extern int sepol_mls_check(sepol_handle_t * handle,
|
handle.h | 9 typedef struct sepol_handle sepol_handle_t; typedef in typeref:struct:sepol_handle 12 sepol_handle_t *sepol_handle_create(void); 18 int sepol_get_disable_dontaudit(sepol_handle_t * sh); 22 void sepol_set_disable_dontaudit(sepol_handle_t * sh, int disable_dontaudit); 26 void sepol_set_expand_consume_base(sepol_handle_t * sh, int consume_base); 29 void sepol_handle_destroy(sepol_handle_t *); 32 int sepol_get_preserve_tunables(sepol_handle_t * sh); 36 void sepol_set_preserve_tunables(sepol_handle_t * sh, int preserve_tunables);
|
boolean_record.h | 16 extern int sepol_bool_key_create(sepol_handle_t * handle, 22 extern int sepol_bool_key_extract(sepol_handle_t * handle, 37 extern int sepol_bool_set_name(sepol_handle_t * handle, 46 extern int sepol_bool_create(sepol_handle_t * handle, sepol_bool_t ** bool_ptr); 48 extern int sepol_bool_clone(sepol_handle_t * handle,
|
interfaces.h | 12 extern int sepol_iface_count(sepol_handle_t * handle, 17 extern int sepol_iface_exists(sepol_handle_t * handle, 23 extern int sepol_iface_query(sepol_handle_t * handle, 30 extern int sepol_iface_modify(sepol_handle_t * handle, 41 extern int sepol_iface_iterate(sepol_handle_t * handle,
|
nodes.h | 12 extern int sepol_node_count(sepol_handle_t * handle, 16 extern int sepol_node_exists(sepol_handle_t * handle, 21 extern int sepol_node_query(sepol_handle_t * handle, 27 extern int sepol_node_modify(sepol_handle_t * handle, 38 extern int sepol_node_iterate(sepol_handle_t * handle,
|
ports.h | 12 extern int sepol_port_count(sepol_handle_t * handle, 16 extern int sepol_port_exists(sepol_handle_t * handle, 21 extern int sepol_port_query(sepol_handle_t * handle, 27 extern int sepol_port_modify(sepol_handle_t * handle, 38 extern int sepol_port_iterate(sepol_handle_t * handle,
|
port_record.h | 25 extern int sepol_port_key_create(sepol_handle_t * handle, 32 extern int sepol_port_key_extract(sepol_handle_t * handle, 57 extern int sepol_port_set_con(sepol_handle_t * handle, 61 extern int sepol_port_create(sepol_handle_t * handle, sepol_port_t ** port_ptr); 63 extern int sepol_port_clone(sepol_handle_t * handle,
|
booleans.h | 31 extern int sepol_bool_set(sepol_handle_t * handle, 37 extern int sepol_bool_count(sepol_handle_t * handle, 41 extern int sepol_bool_exists(sepol_handle_t * handle, 46 extern int sepol_bool_query(sepol_handle_t * handle, 57 extern int sepol_bool_iterate(sepol_handle_t * handle,
|
users.h | 30 extern int sepol_user_modify(sepol_handle_t * handle, 36 extern int sepol_user_count(sepol_handle_t * handle, 40 extern int sepol_user_exists(sepol_handle_t * handle, 45 extern int sepol_user_query(sepol_handle_t * handle, 55 extern int sepol_user_iterate(sepol_handle_t * handle,
|
module.h | 59 extern int sepol_link_packages(sepol_handle_t * handle, 76 extern int sepol_link_modules(sepol_handle_t * handle, 81 extern int sepol_expand_module(sepol_handle_t * handle,
|
/external/selinux/libsepol/include/sepol/policydb/ |
hierarchy.h | 34 extern int hierarchy_add_bounds(sepol_handle_t *handle, policydb_t *p); 37 extern int bounds_check_type(sepol_handle_t *handle, policydb_t *p, uint32_t child, 40 extern int bounds_check_users(sepol_handle_t *handle, policydb_t *p); 41 extern int bounds_check_roles(sepol_handle_t *handle, policydb_t *p); 42 extern int bounds_check_types(sepol_handle_t *handle, policydb_t *p); 44 extern int hierarchy_check_constraints(sepol_handle_t * handle, policydb_t * p);
|
link.h | 19 extern int link_modules(sepol_handle_t * handle,
|
/external/selinux/libsemanage/src/ |
database_policydb.h | 32 typedef int (*record_policydb_table_add_t) (sepol_handle_t * h, 37 typedef int (*record_policydb_table_modify_t) (sepol_handle_t * h, 42 typedef int (*record_policydb_table_set_t) (sepol_handle_t * h, 47 typedef int (*record_policydb_table_query_t) (sepol_handle_t * h, 52 typedef int (*record_policydb_table_count_t) (sepol_handle_t * h, 56 typedef int (*record_policydb_table_exists_t) (sepol_handle_t * h, 61 typedef int (*record_policydb_table_iterate_t) (sepol_handle_t * h,
|