Lines Matching refs:vbuf
2377 char *buf = ci->vbuf; in get_profile()
2510 char *vbuf = ci->vbuf; in get_ids() local
2524 vbuf, vbuf_sz, prop, val) == 0 || get_astring_val(instpg, in get_ids()
2525 SCF_PROPERTY_USER, vbuf, vbuf_sz, prop, in get_ids()
2530 if ((r = get_uid(vbuf, ci, &ci->uid)) != 0) { in get_ids()
2534 "error %d.", SCF_PROPERTY_USER, vbuf, r)); in get_ids()
2537 if (!(get_astring_val(methpg, SCF_PROPERTY_GROUP, vbuf, vbuf_sz, prop, in get_ids()
2538 val) == 0 || get_astring_val(instpg, SCF_PROPERTY_GROUP, vbuf, in get_ids()
2541 (void) strcpy(vbuf, ":default"); in get_ids()
2549 if (strcmp(vbuf, ":default") != 0) { in get_ids()
2550 ci->gid = get_gid(vbuf); in get_ids()
2554 SCF_PROPERTY_GROUP, vbuf)); in get_ids()
2582 if (!(get_astring_val(methpg, SCF_PROPERTY_SUPP_GROUPS, vbuf, vbuf_sz, in get_ids()
2584 SCF_PROPERTY_SUPP_GROUPS, vbuf, vbuf_sz, prop, val) == 0)) { in get_ids()
2586 (void) strcpy(vbuf, ":default"); in get_ids()
2594 if (strcmp(vbuf, ":default") != 0) { in get_ids()
2595 switch (r = get_groups(vbuf, ci)) { in get_ids()
2603 vbuf)); in get_ids()
2608 vbuf)); in get_ids()
2617 if (!(get_astring_val(methpg, SCF_PROPERTY_PRIVILEGES, vbuf, vbuf_sz, in get_ids()
2619 vbuf, vbuf_sz, prop, val) == 0)) { in get_ids()
2621 (void) strcpy(vbuf, ":default"); in get_ids()
2633 if (strcmp(vbuf, ":default") != 0) { in get_ids()
2634 ci->priv_set = priv_str_to_set(vbuf, ",", NULL); in get_ids()
2643 SCF_PROPERTY_PRIVILEGES, vbuf)); in get_ids()
2648 if (!(get_astring_val(methpg, SCF_PROPERTY_LIMIT_PRIVILEGES, vbuf, in get_ids()
2650 SCF_PROPERTY_LIMIT_PRIVILEGES, vbuf, vbuf_sz, prop, val) == 0)) { in get_ids()
2652 (void) strcpy(vbuf, ":default"); in get_ids()
2660 if (strcmp(vbuf, ":default") == 0) in get_ids()
2666 (void) strcpy(vbuf, "zone"); in get_ids()
2668 ci->lpriv_set = priv_str_to_set(vbuf, ",", NULL); in get_ids()
2675 SCF_PROPERTY_LIMIT_PRIVILEGES, vbuf)); in get_ids()
2717 ret = scf_value_get_as_string(val, mcp->vbuf, mcp->vbuf_sz); in get_environment()
2723 if ((mcp->env[i] = strdup(mcp->vbuf)) == NULL) { in get_environment()
2835 cip->vbuf = malloc(cip->vbuf_sz); in restarter_get_method_context()
2836 if (cip->vbuf == NULL) { in restarter_get_method_context()
3044 ret = scf_value_get_astring(val, cip->vbuf, cip->vbuf_sz); in restarter_get_method_context()
3051 (void) strcpy(cip->vbuf, ":default"); in restarter_get_method_context()
3071 if (strcmp(cip->vbuf, ":default") == 0 || in restarter_get_method_context()
3072 strcmp(cip->vbuf, ":home") == 0) { in restarter_get_method_context()
3099 cip->working_dir = strdup(cip->vbuf); in restarter_get_method_context()
3136 ret = scf_value_get_astring(val, cip->vbuf, in restarter_get_method_context()
3140 cip->corefile_pattern = strdup(cip->vbuf); in restarter_get_method_context()
3202 (void) strcpy(cip->vbuf, ":default"); in restarter_get_method_context()
3204 ret = scf_value_get_astring(val, cip->vbuf, in restarter_get_method_context()
3211 (void) strcpy(cip->vbuf, ":default"); in restarter_get_method_context()
3214 switch (ret = get_projid(cip->vbuf, cip)) { in restarter_get_method_context()
3225 cip->vbuf); in restarter_get_method_context()
3246 "Project ID \"%s\" too big.", cip->vbuf); in restarter_get_method_context()
3251 "Project ID \"%s\" is invalid.", cip->vbuf); in restarter_get_method_context()
3289 (void) strcpy(cip->vbuf, ":default"); in restarter_get_method_context()
3291 ret = scf_value_get_astring(val, cip->vbuf, in restarter_get_method_context()
3302 (void) strcpy(cip->vbuf, ":default"); in restarter_get_method_context()
3322 if (strcmp(cip->vbuf, ":default") != 0) { in restarter_get_method_context()
3323 cip->resource_pool = strdup(cip->vbuf); in restarter_get_method_context()
3338 free(cip->vbuf); in restarter_get_method_context()
3361 free(cip->vbuf); in restarter_get_method_context()