Searched defs:dconfig (Results 1 - 25 of 31) sorted by relevance

12

/external/selinux/libsemanage/src/
H A Dbooleans_policydb.c54 dbase_config_t * dconfig)
64 &dconfig->dbase) < 0)
67 dconfig->dtable = &SEMANAGE_POLICYDB_DTABLE;
71 void bool_policydb_dbase_release(dbase_config_t * dconfig) argument
74 dbase_policydb_release(dconfig->dbase);
53 bool_policydb_dbase_init(semanage_handle_t * handle, dbase_config_t * dconfig) argument
H A Dinterfaces_policydb.c50 dbase_config_t * dconfig)
60 &dconfig->dbase) < 0)
63 dconfig->dtable = &SEMANAGE_POLICYDB_DTABLE;
67 void iface_policydb_dbase_release(dbase_config_t * dconfig) argument
70 dbase_policydb_release(dconfig->dbase);
49 iface_policydb_dbase_init(semanage_handle_t * handle, dbase_config_t * dconfig) argument
H A Dnodes_policydb.c49 dbase_config_t * dconfig)
59 &dconfig->dbase) < 0)
62 dconfig->dtable = &SEMANAGE_POLICYDB_DTABLE;
67 void node_policydb_dbase_release(dbase_config_t * dconfig) argument
70 dbase_policydb_release(dconfig->dbase);
48 node_policydb_dbase_init(semanage_handle_t * handle, dbase_config_t * dconfig) argument
H A Dports_policydb.c49 dbase_config_t * dconfig)
59 &dconfig->dbase) < 0)
62 dconfig->dtable = &SEMANAGE_POLICYDB_DTABLE;
67 void port_policydb_dbase_release(dbase_config_t * dconfig) argument
70 dbase_policydb_release(dconfig->dbase);
48 port_policydb_dbase_init(semanage_handle_t * handle, dbase_config_t * dconfig) argument
H A Dusers_base_policydb.c49 dbase_config_t * dconfig)
59 &dconfig->dbase) < 0)
62 dconfig->dtable = &SEMANAGE_POLICYDB_DTABLE;
66 void user_base_policydb_dbase_release(dbase_config_t * dconfig) argument
69 dbase_policydb_release(dconfig->dbase);
48 user_base_policydb_dbase_init(semanage_handle_t * handle, dbase_config_t * dconfig) argument
H A Dseusers_policy.c22 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, record
[all...]
H A Dusers_join.c32 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) argument
48 dbase_join_release(dconfig->dbase);
30 user_join_dbase_init(semanage_handle_t * handle, dbase_config_t * join1, dbase_config_t * join2, dbase_config_t * dconfig) argument
H A Dusers_policy.c18 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, record
[all...]
H A Dbooleans_active.c18 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, handle
60 dbase_config_t *dconfig = semanage_bool_dbase_active(handle); local
[all...]
H A Dbooleans_file.c112 dbase_config_t * dconfig)
119 &SEMANAGE_BOOL_FILE_RTABLE, &dconfig->dbase) < 0)
122 dconfig->dtable = &SEMANAGE_FILE_DTABLE;
126 void bool_file_dbase_release(dbase_config_t * dconfig) argument
129 dbase_file_release(dconfig->dbase);
109 bool_file_dbase_init(semanage_handle_t * handle, const char *path_ro, const char *path_rw, dbase_config_t * dconfig) argument
H A Dbooleans_local.c18 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, respons
60 dbase_config_t *dconfig = semanage_bool_dbase_local(handle); local
68 dbase_config_t *dconfig = semanage_bool_dbase_local(handle); local
[all...]
H A Dbooleans_policy.c18 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, record
[all...]
H A Dfcontexts_policy.c18 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, record
[all...]
H A Dinterfaces_local.c18 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, respons
61 dbase_config_t *dconfig = semanage_iface_dbase_local(handle); local
69 dbase_config_t *dconfig = semanage_iface_dbase_local(handle); local
[all...]
H A Dinterfaces_policy.c18 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, record
[all...]
H A Dnodes_local.c18 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, respons
60 dbase_config_t *dconfig = semanage_node_dbase_local(handle); local
68 dbase_config_t *dconfig = semanage_node_dbase_local(handle); local
[all...]
H A Dnodes_policy.c18 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, record
[all...]
H A Dports_policy.c18 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, record
[all...]
H A Dseusers_file.c120 dbase_config_t * dconfig)
127 &SEMANAGE_SEUSER_FILE_RTABLE, &dconfig->dbase) < 0)
130 dconfig->dtable = &SEMANAGE_FILE_DTABLE;
134 void seuser_file_dbase_release(dbase_config_t * dconfig) argument
137 dbase_file_release(dconfig->dbase);
117 seuser_file_dbase_init(semanage_handle_t * handle, const char *path_ro, const char *path_rw, dbase_config_t * dconfig) argument
H A Dusers_extra_file.c111 dbase_config_t * dconfig)
119 &dconfig->dbase) < 0)
122 dconfig->dtable = &SEMANAGE_FILE_DTABLE;
126 void user_extra_file_dbase_release(dbase_config_t * dconfig) argument
129 dbase_file_release(dconfig->dbase);
108 user_extra_file_dbase_init(semanage_handle_t * handle, const char *path_ro, const char *path_rw, dbase_config_t * dconfig) argument
H A Dbooleans_activedb.c150 dbase_config_t * dconfig)
156 &dconfig->dbase) < 0)
159 dconfig->dtable = &SEMANAGE_ACTIVEDB_DTABLE;
163 void bool_activedb_dbase_release(dbase_config_t * dconfig) argument
166 dbase_activedb_release(dconfig->dbase);
149 bool_activedb_dbase_init(semanage_handle_t * handle, dbase_config_t * dconfig) argument
H A Ddatabase.c9 static int assert_init(semanage_handle_t * handle, dbase_config_t * dconfig) argument
12 if (dconfig->dtable == NULL) {
24 static int enter_ro(semanage_handle_t * handle, dbase_config_t * dconfig) argument
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) argument
64 if (assert_init(handle, dconfig) < 0)
72 if (dconfig->dtable->cache(handle, dconfig
82 dbase_modify(semanage_handle_t * handle, dbase_config_t * dconfig, const record_key_t * key, const record_t * data) argument
96 dbase_set(semanage_handle_t * handle, dbase_config_t * dconfig, const record_key_t * key, const record_t * data) argument
110 dbase_del(semanage_handle_t * handle, dbase_config_t * dconfig, const record_key_t * key) argument
123 dbase_query(semanage_handle_t * handle, dbase_config_t * dconfig, const record_key_t * key, record_t ** response) argument
139 dbase_exists(semanage_handle_t * handle, dbase_config_t * dconfig, const record_key_t * key, int *response) argument
155 dbase_count(semanage_handle_t * handle, dbase_config_t * dconfig, unsigned int *response) argument
170 dbase_iterate(semanage_handle_t * handle, dbase_config_t * dconfig, int (*fn) (const record_t * record, void *fn_arg), void *fn_arg) argument
187 dbase_list(semanage_handle_t * handle, dbase_config_t * dconfig, record_t *** records, unsigned int *count) argument
[all...]
H A Dfcontexts_file.c170 dbase_config_t * dconfig)
178 &dconfig->dbase) < 0)
181 dconfig->dtable = &SEMANAGE_FILE_DTABLE;
185 void fcontext_file_dbase_release(dbase_config_t * dconfig) argument
188 dbase_file_release(dconfig->dbase);
167 fcontext_file_dbase_init(semanage_handle_t * handle, const char *path_ro, const char *path_rw, dbase_config_t * dconfig) argument
H A Dinterfaces_file.c157 dbase_config_t * dconfig)
164 &SEMANAGE_IFACE_FILE_RTABLE, &dconfig->dbase) < 0)
167 dconfig->dtable = &SEMANAGE_FILE_DTABLE;
171 void iface_file_dbase_release(dbase_config_t * dconfig) argument
174 dbase_file_release(dconfig->dbase);
154 iface_file_dbase_init(semanage_handle_t * handle, const char *path_ro, const char *path_rw, dbase_config_t * dconfig) argument
H A Dnodes_file.c166 dbase_config_t * dconfig)
173 &SEMANAGE_NODE_FILE_RTABLE, &dconfig->dbase) < 0)
176 dconfig->dtable = &SEMANAGE_FILE_DTABLE;
180 void node_file_dbase_release(dbase_config_t * dconfig) argument
183 dbase_file_release(dconfig->dbase);
163 node_file_dbase_init(semanage_handle_t * handle, const char *path_ro, const char *path_rw, dbase_config_t * dconfig) argument

Completed in 201 milliseconds

12