Searched refs:new_rule (Results 1 - 2 of 2) sorted by relevance

/sssd-io/src/providers/ipa/
H A Dipa_hbac_common.c132 struct hbac_rule *new_rule; local
136 new_rule = talloc_zero(mem_ctx, struct hbac_rule);
137 if (new_rule == NULL) return ENOMEM;
143 new_rule->name = talloc_strdup(new_rule, "(none)");
145 new_rule->name = talloc_strndup(new_rule,
150 DEBUG(SSSDBG_TRACE_LIBS, "Processing rule [%s]\n", new_rule->name);
153 &new_rule->enabled);
156 if (!new_rule
[all...]
/sssd-io/src/tests/cmocka/
H A Dtest_sysdb_sudo.c651 struct sysdb_attrs *new_rule; local
669 new_rule = sysdb_new_attrs(test_ctx);
670 assert_non_null(new_rule);
671 ret = sysdb_attrs_add_string(new_rule, SYSDB_SUDO_CACHE_AT_COMMAND,
676 new_rule, SYSDB_MOD_ADD);
697 talloc_zfree(new_rule);
706 struct sysdb_attrs *new_rule; local
723 new_rule = sysdb_new_attrs(test_ctx);
724 assert_non_null(new_rule);
725 ret = sysdb_attrs_add_time_t(new_rule, SYSDB_CACHE_EXPIR
758 struct sysdb_attrs *new_rule; local
[all...]

Completed in 216 milliseconds