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

/illumos-gate/usr/src/lib/libbrand/common/
H A Dlibbrand.c770 priv_iter_t priv_iter; local
795 priv_iter.pi_name = (char *)name;
796 priv_iter.pi_set = (char *)set;
797 priv_iter.pi_iptype = (char *)iptype;
799 ret = func(data, &priv_iter);
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c5204 priv_lists_cb(void *data, priv_iter_t *priv_iter) argument
5210 if ((strcmp(priv_iter->pi_iptype, "all") != 0) &&
5211 (strcmp(priv_iter->pi_iptype, plp->pl_iptype) != 0))
5217 if ((pnp->pn_priv = strdup(priv_iter->pi_name)) == NULL) {
5223 if (strcmp(priv_iter->pi_set, "default") == 0) {
5226 } else if (strcmp(priv_iter->pi_set, "prohibited") == 0) {
5229 } else if (strcmp(priv_iter->pi_set, "required") == 0) {

Completed in 77 milliseconds