Home
last modified time | relevance | path

Searched refs:tmp_dbase (Results 1 – 4 of 4) sorted by relevance

/external/selinux/libsemanage/src/
Ddatabase_file.c167 dbase_file_t *tmp_dbase = (dbase_file_t *) malloc(sizeof(dbase_file_t)); in dbase_file_init() local
169 if (!tmp_dbase) in dbase_file_init()
172 tmp_dbase->path[0] = path_ro; in dbase_file_init()
173 tmp_dbase->path[1] = path_rw; in dbase_file_init()
174 tmp_dbase->rftable = rftable; in dbase_file_init()
175 dbase_llist_init(&tmp_dbase->llist, rtable, &SEMANAGE_FILE_DTABLE); in dbase_file_init()
177 *dbase = tmp_dbase; in dbase_file_init()
183 free(tmp_dbase); in dbase_file_init()
Ddatabase_policydb.c186 dbase_policydb_t *tmp_dbase = in dbase_policydb_init() local
189 if (!tmp_dbase) in dbase_policydb_init()
192 tmp_dbase->path[0] = path_ro; in dbase_policydb_init()
193 tmp_dbase->path[1] = path_rw; in dbase_policydb_init()
194 tmp_dbase->rtable = rtable; in dbase_policydb_init()
195 tmp_dbase->rptable = rptable; in dbase_policydb_init()
196 tmp_dbase->policydb = NULL; in dbase_policydb_init()
197 tmp_dbase->cache_serial = -1; in dbase_policydb_init()
198 tmp_dbase->modified = 0; in dbase_policydb_init()
199 tmp_dbase->attached = 0; in dbase_policydb_init()
[all …]
Ddatabase_activedb.c119 dbase_activedb_t *tmp_dbase = in dbase_activedb_init() local
122 if (!tmp_dbase) in dbase_activedb_init()
125 tmp_dbase->ratable = ratable; in dbase_activedb_init()
126 dbase_llist_init(&tmp_dbase->llist, rtable, &SEMANAGE_ACTIVEDB_DTABLE); in dbase_activedb_init()
128 *dbase = tmp_dbase; in dbase_activedb_init()
134 free(tmp_dbase); in dbase_activedb_init()
Ddatabase_join.c245 dbase_join_t *tmp_dbase = malloc(sizeof(dbase_join_t)); in dbase_join_init() local
247 if (!tmp_dbase) in dbase_join_init()
250 dbase_llist_init(&tmp_dbase->llist, rtable, &SEMANAGE_JOIN_DTABLE); in dbase_join_init()
252 tmp_dbase->rjtable = rjtable; in dbase_join_init()
253 tmp_dbase->join1 = join1; in dbase_join_init()
254 tmp_dbase->join2 = join2; in dbase_join_init()
256 *dbase = tmp_dbase; in dbase_join_init()
262 free(tmp_dbase); in dbase_join_init()