Lines Matching refs:sysdb
33 sysdb_add_selinux_entity(struct sysdb_ctx *sysdb,
72 ret = ldb_add(sysdb->ldb, msg);
96 struct sysdb_ctx *sysdb = domain->sysdb;
116 dn = ldb_dn_new_fmt(tmp_ctx, sysdb->ldb, SYSDB_TMPL_SEUSERMAP,
121 dn = ldb_dn_new_fmt(tmp_ctx, sysdb->ldb, SYSDB_TMPL_SELINUX_BASE,
137 ret = sysdb_transaction_start(sysdb);
149 ret = sysdb_add_selinux_entity(sysdb, dn, objectclass, attrs, now);
154 ret = sysdb_set_entry_attr(sysdb, dn, attrs, SYSDB_MOD_REP);
159 ret = sysdb_transaction_commit(sysdb);
168 sret = sysdb_transaction_cancel(sysdb);
228 struct sysdb_ctx *sysdb = domain->sysdb;
230 dn = ldb_dn_new_fmt(sysdb, sysdb->ldb,
234 ret = sysdb_delete_recursive(sysdb, dn, true);
255 struct sysdb_ctx *sysdb = domain->sysdb;
257 basedn = ldb_dn_new_fmt(mem_ctx, sysdb_ctx_get_ldb(sysdb),
270 ret = sysdb_search_entry(mem_ctx, sysdb, basedn, LDB_SCOPE_SUBTREE, filter,
303 basedn = ldb_dn_new_fmt(tmp_ctx, domain->sysdb->ldb,
310 ret = sysdb_search_entry(tmp_ctx, domain->sysdb, basedn, LDB_SCOPE_BASE,