/external/selinux/libsemanage/src/ |
database.c | 9 static int assert_init(semanage_handle_t * handle, dbase_config_t * dconfig) 12 if (dconfig->dtable == NULL) { 24 static int enter_ro(semanage_handle_t * handle, dbase_config_t * dconfig) 27 if (assert_init(handle, dconfig) < 0) 39 if (dconfig->dtable->cache(handle, dconfig->dbase) < 0) 61 static int enter_rw(semanage_handle_t * handle, dbase_config_t * dconfig) 64 if (assert_init(handle, dconfig) < 0) 72 if (dconfig->dtable->cache(handle, dconfig->dbase) < 0 [all...] |
booleans_local.c | 18 dbase_config_t *dconfig = semanage_bool_dbase_local(handle); local 19 return dbase_modify(handle, dconfig, key, data); 26 dbase_config_t *dconfig = semanage_bool_dbase_local(handle); local 27 return dbase_del(handle, dconfig, key); 35 dbase_config_t *dconfig = semanage_bool_dbase_local(handle); local 36 return dbase_query(handle, dconfig, key, response); 43 dbase_config_t *dconfig = semanage_bool_dbase_local(handle); local 44 return dbase_exists(handle, dconfig, key, response); 51 dbase_config_t *dconfig = semanage_bool_dbase_local(handle); local 52 return dbase_count(handle, dconfig, response) 60 dbase_config_t *dconfig = semanage_bool_dbase_local(handle); local 68 dbase_config_t *dconfig = semanage_bool_dbase_local(handle); local [all...] |
interfaces_local.c | 18 dbase_config_t *dconfig = semanage_iface_dbase_local(handle); local 19 return dbase_modify(handle, dconfig, key, data); 26 dbase_config_t *dconfig = semanage_iface_dbase_local(handle); local 27 return dbase_del(handle, dconfig, key); 35 dbase_config_t *dconfig = semanage_iface_dbase_local(handle); local 36 return dbase_query(handle, dconfig, key, response); 43 dbase_config_t *dconfig = semanage_iface_dbase_local(handle); local 44 return dbase_exists(handle, dconfig, key, response); 51 dbase_config_t *dconfig = semanage_iface_dbase_local(handle); local 52 return dbase_count(handle, dconfig, response) 61 dbase_config_t *dconfig = semanage_iface_dbase_local(handle); local 69 dbase_config_t *dconfig = semanage_iface_dbase_local(handle); local [all...] |
nodes_local.c | 18 dbase_config_t *dconfig = semanage_node_dbase_local(handle); local 19 return dbase_modify(handle, dconfig, key, data); 26 dbase_config_t *dconfig = semanage_node_dbase_local(handle); local 27 return dbase_del(handle, dconfig, key); 35 dbase_config_t *dconfig = semanage_node_dbase_local(handle); local 36 return dbase_query(handle, dconfig, key, response); 43 dbase_config_t *dconfig = semanage_node_dbase_local(handle); local 44 return dbase_exists(handle, dconfig, key, response); 51 dbase_config_t *dconfig = semanage_node_dbase_local(handle); local 52 return dbase_count(handle, dconfig, response) 60 dbase_config_t *dconfig = semanage_node_dbase_local(handle); local 68 dbase_config_t *dconfig = semanage_node_dbase_local(handle); local [all...] |
booleans_active.c | 18 dbase_config_t *dconfig = semanage_bool_dbase_active(handle); local 19 return dbase_set(handle, dconfig, key, data); 27 dbase_config_t *dconfig = semanage_bool_dbase_active(handle); local 28 return dbase_query(handle, dconfig, key, response); 35 dbase_config_t *dconfig = semanage_bool_dbase_active(handle); local 36 return dbase_exists(handle, dconfig, key, response); 43 dbase_config_t *dconfig = semanage_bool_dbase_active(handle); local 44 return dbase_count(handle, dconfig, response); 52 dbase_config_t *dconfig = semanage_bool_dbase_active(handle); local 53 return dbase_iterate(handle, dconfig, handler, handler_arg) 60 dbase_config_t *dconfig = semanage_bool_dbase_active(handle); local [all...] |
users_join.c | 32 dbase_config_t * join2, dbase_config_t * dconfig) 38 join1, join2, &dconfig->dbase) < 0) 41 dconfig->dtable = &SEMANAGE_JOIN_DTABLE; 45 void user_join_dbase_release(dbase_config_t * dconfig) 48 dbase_join_release(dconfig->dbase);
|
booleans_policy.c | 18 dbase_config_t *dconfig = semanage_bool_dbase_policy(handle); local 19 return dbase_query(handle, dconfig, key, response); 26 dbase_config_t *dconfig = semanage_bool_dbase_policy(handle); local 27 return dbase_exists(handle, dconfig, key, response); 33 dbase_config_t *dconfig = semanage_bool_dbase_policy(handle); local 34 return dbase_count(handle, dconfig, response); 42 dbase_config_t *dconfig = semanage_bool_dbase_policy(handle); local 43 return dbase_iterate(handle, dconfig, handler, handler_arg); 50 dbase_config_t *dconfig = semanage_bool_dbase_policy(handle); local 51 return dbase_list(handle, dconfig, records, count) [all...] |
fcontexts_policy.c | 18 dbase_config_t *dconfig = semanage_fcontext_dbase_policy(handle); local 19 return dbase_query(handle, dconfig, key, response); 26 dbase_config_t *dconfig = semanage_fcontext_dbase_policy(handle); local 27 return dbase_exists(handle, dconfig, key, response); 33 dbase_config_t *dconfig = semanage_fcontext_dbase_policy(handle); local 34 return dbase_count(handle, dconfig, response); 43 dbase_config_t *dconfig = semanage_fcontext_dbase_policy(handle); local 44 return dbase_iterate(handle, dconfig, handler, handler_arg); 51 dbase_config_t *dconfig = semanage_fcontext_dbase_policy(handle); local 52 return dbase_list(handle, dconfig, records, count) [all...] |
interfaces_policy.c | 18 dbase_config_t *dconfig = semanage_iface_dbase_policy(handle); local 19 return dbase_query(handle, dconfig, key, response); 26 dbase_config_t *dconfig = semanage_iface_dbase_policy(handle); local 27 return dbase_exists(handle, dconfig, key, response); 33 dbase_config_t *dconfig = semanage_iface_dbase_policy(handle); local 34 return dbase_count(handle, dconfig, response); 42 dbase_config_t *dconfig = semanage_iface_dbase_policy(handle); local 43 return dbase_iterate(handle, dconfig, handler, handler_arg); 50 dbase_config_t *dconfig = semanage_iface_dbase_policy(handle); local 51 return dbase_list(handle, dconfig, records, count) [all...] |
nodes_policy.c | 18 dbase_config_t *dconfig = semanage_node_dbase_policy(handle); local 19 return dbase_query(handle, dconfig, key, response); 26 dbase_config_t *dconfig = semanage_node_dbase_policy(handle); local 27 return dbase_exists(handle, dconfig, key, response); 33 dbase_config_t *dconfig = semanage_node_dbase_policy(handle); local 34 return dbase_count(handle, dconfig, response); 42 dbase_config_t *dconfig = semanage_node_dbase_policy(handle); local 43 return dbase_iterate(handle, dconfig, handler, handler_arg); 50 dbase_config_t *dconfig = semanage_node_dbase_policy(handle); local 51 return dbase_list(handle, dconfig, records, count) [all...] |
ports_policy.c | 18 dbase_config_t *dconfig = semanage_port_dbase_policy(handle); local 19 return dbase_query(handle, dconfig, key, response); 26 dbase_config_t *dconfig = semanage_port_dbase_policy(handle); local 27 return dbase_exists(handle, dconfig, key, response); 33 dbase_config_t *dconfig = semanage_port_dbase_policy(handle); local 34 return dbase_count(handle, dconfig, response); 42 dbase_config_t *dconfig = semanage_port_dbase_policy(handle); local 43 return dbase_iterate(handle, dconfig, handler, handler_arg); 50 dbase_config_t *dconfig = semanage_port_dbase_policy(handle); local 51 return dbase_list(handle, dconfig, records, count) [all...] |
seusers_policy.c | 22 dbase_config_t *dconfig = semanage_seuser_dbase_policy(handle); local 23 return dbase_query(handle, dconfig, key, response); 30 dbase_config_t *dconfig = semanage_seuser_dbase_policy(handle); local 31 return dbase_exists(handle, dconfig, key, response); 37 dbase_config_t *dconfig = semanage_seuser_dbase_policy(handle); local 38 return dbase_count(handle, dconfig, response); 46 dbase_config_t *dconfig = semanage_seuser_dbase_policy(handle); local 47 return dbase_iterate(handle, dconfig, handler, handler_arg); 56 dbase_config_t *dconfig = semanage_seuser_dbase_policy(handle); local 57 return dbase_list(handle, dconfig, records, count) [all...] |
users_policy.c | 18 dbase_config_t *dconfig = semanage_user_dbase_policy(handle); local 19 return dbase_query(handle, dconfig, key, response); 28 dbase_config_t *dconfig = semanage_user_dbase_policy(handle); local 29 return dbase_exists(handle, dconfig, key, response); 37 dbase_config_t *dconfig = semanage_user_dbase_policy(handle); local 38 return dbase_count(handle, dconfig, response); 46 dbase_config_t *dconfig = semanage_user_dbase_policy(handle); local 47 return dbase_iterate(handle, dconfig, handler, handler_arg); 54 dbase_config_t *dconfig = semanage_user_dbase_policy(handle); local 55 return dbase_list(handle, dconfig, records, count) [all...] |
boolean_internal.h | 30 dbase_config_t * dconfig); 32 extern void bool_file_dbase_release(dbase_config_t * dconfig); 35 dbase_config_t * dconfig); 37 extern void bool_policydb_dbase_release(dbase_config_t * dconfig); 40 dbase_config_t * dconfig); 42 extern void bool_activedb_dbase_release(dbase_config_t * dconfig);
|
fcontexts_local.c | 23 dbase_config_t *dconfig = semanage_fcontext_dbase_local(handle); local 24 return dbase_modify(handle, dconfig, key, data); 31 dbase_config_t *dconfig = semanage_fcontext_dbase_local(handle); local 32 return dbase_del(handle, dconfig, key); 40 dbase_config_t *dconfig = semanage_fcontext_dbase_local(handle); local 41 return dbase_query(handle, dconfig, key, response); 49 dbase_config_t *dconfig = semanage_fcontext_dbase_local(handle); local 50 return dbase_exists(handle, dconfig, key, response); 57 dbase_config_t *dconfig = semanage_fcontext_dbase_local(handle); local 58 return dbase_count(handle, dconfig, response) 67 dbase_config_t *dconfig = semanage_fcontext_dbase_local(handle); local 78 dbase_config_t *dconfig = semanage_fcontext_dbase_local(handle); local [all...] |
ports_local.c | 20 dbase_config_t *dconfig = semanage_port_dbase_local(handle); local 21 return dbase_modify(handle, dconfig, key, data); 28 dbase_config_t *dconfig = semanage_port_dbase_local(handle); local 29 return dbase_del(handle, dconfig, key); 37 dbase_config_t *dconfig = semanage_port_dbase_local(handle); local 38 return dbase_query(handle, dconfig, key, response); 45 dbase_config_t *dconfig = semanage_port_dbase_local(handle); local 46 return dbase_exists(handle, dconfig, key, response); 53 dbase_config_t *dconfig = semanage_port_dbase_local(handle); local 54 return dbase_count(handle, dconfig, response) 62 dbase_config_t *dconfig = semanage_port_dbase_local(handle); local 70 dbase_config_t *dconfig = semanage_port_dbase_local(handle); local [all...] |
users_local.c | 23 dbase_config_t *dconfig = semanage_user_dbase_local(handle); local 24 return dbase_modify(handle, dconfig, key, data); 65 dbase_config_t *dconfig = semanage_user_dbase_local(handle); 66 return dbase_del(handle, dconfig, key); 74 dbase_config_t *dconfig = semanage_user_dbase_local(handle); local 75 return dbase_query(handle, dconfig, key, response); 82 dbase_config_t *dconfig = semanage_user_dbase_local(handle); local 83 return dbase_exists(handle, dconfig, key, response); 90 dbase_config_t *dconfig = semanage_user_dbase_local(handle); local 91 return dbase_count(handle, dconfig, response) 99 dbase_config_t *dconfig = semanage_user_dbase_local(handle); local 107 dbase_config_t *dconfig = semanage_user_dbase_local(handle); local [all...] |
booleans_policydb.c | 54 dbase_config_t * dconfig) 62 &dconfig->dbase) < 0) 65 dconfig->dtable = &SEMANAGE_POLICYDB_DTABLE; 69 void bool_policydb_dbase_release(dbase_config_t * dconfig) 72 dbase_policydb_release(dconfig->dbase);
|
interfaces_policydb.c | 50 dbase_config_t * dconfig) 58 &dconfig->dbase) < 0) 61 dconfig->dtable = &SEMANAGE_POLICYDB_DTABLE; 65 void iface_policydb_dbase_release(dbase_config_t * dconfig) 68 dbase_policydb_release(dconfig->dbase);
|
nodes_policydb.c | 49 dbase_config_t * dconfig) 57 &dconfig->dbase) < 0) 60 dconfig->dtable = &SEMANAGE_POLICYDB_DTABLE; 65 void node_policydb_dbase_release(dbase_config_t * dconfig) 68 dbase_policydb_release(dconfig->dbase);
|
ports_policydb.c | 49 dbase_config_t * dconfig) 57 &dconfig->dbase) < 0) 60 dconfig->dtable = &SEMANAGE_POLICYDB_DTABLE; 65 void port_policydb_dbase_release(dbase_config_t * dconfig) 68 dbase_policydb_release(dconfig->dbase);
|
users_base_policydb.c | 49 dbase_config_t * dconfig) 57 &dconfig->dbase) < 0) 60 dconfig->dtable = &SEMANAGE_POLICYDB_DTABLE; 64 void user_base_policydb_dbase_release(dbase_config_t * dconfig) 67 dbase_policydb_release(dconfig->dbase);
|
iface_internal.h | 29 dbase_config_t * dconfig); 31 extern void iface_policydb_dbase_release(dbase_config_t * dconfig); 36 dbase_config_t * dconfig); 38 extern void iface_file_dbase_release(dbase_config_t * dconfig);
|
port_internal.h | 35 dbase_config_t * dconfig); 37 extern void port_file_dbase_release(dbase_config_t * dconfig); 40 dbase_config_t * dconfig); 42 extern void port_policydb_dbase_release(dbase_config_t * dconfig);
|
node_internal.h | 39 dbase_config_t * dconfig); 41 extern void node_file_dbase_release(dbase_config_t * dconfig); 44 dbase_config_t * dconfig); 46 extern void node_policydb_dbase_release(dbase_config_t * dconfig);
|