Lines Matching refs:prop

1376 	scf_property_t *prop = NULL;
1397 prop = scf_property_create(h);
1401 if (pg == NULL || prop == NULL || iter == NULL || t == NULL) {
1448 if (scf_pg_get_property(pg, pname, prop) == 0) {
1475 if (scf_property_is_type(prop, SCF_TYPE_COUNT) == 0) {
1476 if (scf_iter_property_values(iter, prop) != 0) {
1650 scf_property_destroy(prop);
1676 scf_property_t *prop = NULL;
1691 prop = scf_property_create(h);
1695 if (pg == NULL || prop == NULL || iter == NULL || t == NULL) {
1746 if (scf_pg_get_property(pg, pname, prop) == 0) {
1773 if (scf_property_is_type(prop, SCF_TYPE_COUNT) == 0) {
1774 if (scf_iter_property_values(iter, prop) != 0) {
1952 scf_property_destroy(prop);
1983 size_t bufsz, scf_property_t *prop, scf_value_t *val)
1990 if (scf_pg_get_property(pg, name, prop) != SCF_SUCCESS) {
1996 if (scf_property_get_value(prop, val) != SCF_SUCCESS) {
2009 scf_property_t *prop, scf_value_t *val)
2011 if (scf_pg_get_property(pg, name, prop) != SCF_SUCCESS) {
2017 if (scf_property_get_value(prop, val) != SCF_SUCCESS) {
2375 scf_property_t *prop, scf_value_t *val, const char *cmdline,
2387 if (!(get_astring_val(methpg, SCF_PROPERTY_PROFILE, buf, buf_sz, prop,
2389 buf_sz, prop, val) == 0))
2508 scf_property_t *prop, scf_value_t *val, struct method_context *ci,
2525 vbuf, vbuf_sz, prop, val) == 0 || get_astring_val(instpg,
2526 SCF_PROPERTY_USER, vbuf, vbuf_sz, prop,
2538 if (!(get_astring_val(methpg, SCF_PROPERTY_GROUP, vbuf, vbuf_sz, prop,
2540 vbuf_sz, prop, val) == 0)) {
2584 prop, val) == 0 || get_astring_val(instpg,
2585 SCF_PROPERTY_SUPP_GROUPS, vbuf, vbuf_sz, prop, val) == 0)) {
2619 prop, val) == 0 || get_astring_val(instpg, SCF_PROPERTY_PRIVILEGES,
2620 vbuf, vbuf_sz, prop, val) == 0)) {
2650 vbuf_sz, prop, val) == 0 || get_astring_val(instpg,
2651 SCF_PROPERTY_LIMIT_PRIVILEGES, vbuf, vbuf_sz, prop, val) == 0)) {
2685 struct method_context *mcp, scf_property_t *prop, scf_value_t *val)
2692 if (scf_pg_get_property(pg, SCF_PROPERTY_ENVIRONMENT, prop) != 0) {
2697 if (scf_property_type(prop, &type) != 0)
2704 if (scf_iter_property_values(iter, prop) != 0) {
2798 scf_property_t *prop = NULL;
2844 (prop = scf_property_create(h)) == NULL ||
2880 ret = get_environment(h, methpg, cip, prop, val);
2882 ret = get_environment(h, instpg, cip, prop, val);
2905 ret = scf_pg_get_property(pg, SCF_PROPERTY_USE_PROFILE, prop);
2909 prop);
2938 if (scf_property_type(prop, &ty) != SCF_SUCCESS) {
2970 if (scf_property_get_value(prop, val) != SCF_SUCCESS) {
3004 err = get_profile(pg, instpg, prop, val, cmdline,
3007 err = get_ids(pg, instpg, prop, val, cip, err);
3015 SCF_PROPERTY_WORKING_DIRECTORY, prop) == SCF_SUCCESS) ||
3017 SCF_PROPERTY_WORKING_DIRECTORY, prop) == SCF_SUCCESS)) {
3018 if (scf_property_get_value(prop, val) != SCF_SUCCESS) {
3109 SCF_PROPERTY_SECFLAGS, prop) == SCF_SUCCESS) ||
3111 SCF_PROPERTY_SECFLAGS, prop) == SCF_SUCCESS)) {
3112 if (scf_property_get_value(prop, val) != SCF_SUCCESS) {
3185 SCF_PROPERTY_COREFILE_PATTERN, prop) == SCF_SUCCESS) ||
3187 SCF_PROPERTY_COREFILE_PATTERN, prop) == SCF_SUCCESS)) {
3188 if (scf_property_get_value(prop, val) != SCF_SUCCESS) {
3252 SCF_PROPERTY_PROJECT, prop) == SCF_SUCCESS) ||
3254 SCF_PROPERTY_PROJECT, prop) == SCF_SUCCESS)) {
3255 if (scf_property_get_value(prop, val) != SCF_SUCCESS) {
3337 SCF_PROPERTY_RESOURCE_POOL, prop) == SCF_SUCCESS) ||
3339 SCF_PROPERTY_RESOURCE_POOL, prop) == SCF_SUCCESS)) {
3340 if (scf_property_get_value(prop, val) != SCF_SUCCESS) {
3435 scf_property_destroy(prop);
3893 scf_property_t *prop;
3905 prop = scf_property_create(h);
3907 if (pg == NULL || prop == NULL || val == NULL)
3916 prop, val) != SCF_SUCCESS)
3928 scf_property_destroy(prop);
3942 scf_property_t *prop;
3949 prop = scf_property_create(h);
3951 if (pg == NULL || prop == NULL || val == NULL)
3959 if (get_boolean_val(pg, SCF_PROPERTY_AUX_TTY, &has_tty, prop,
3967 scf_property_destroy(prop);
3981 scf_property_t *prop;
3987 prop = scf_property_create(h);
3989 if (pg == NULL || prop == NULL || val == NULL)
3999 if (scf_pg_get_property(pg, SCF_PROPERTY_DODUMP, prop) != SCF_SUCCESS) {
4016 scf_property_destroy(prop);
4080 scf_property_t *prop;
4092 prop = scf_property_create(h);
4094 if (pg == NULL || prop == NULL || val == NULL)
4106 prop, val) != SCF_SUCCESS)
4119 scf_property_destroy(prop);