Lines Matching defs:pgtype
1460 perm_auth_for_pgtype(const char *pgtype)
1462 if (strcmp(pgtype, SCF_GROUP_METHOD) == 0)
1464 else if (strcmp(pgtype, SCF_GROUP_DEPENDENCY) == 0)
1466 else if (strcmp(pgtype, SCF_GROUP_APPLICATION) == 0)
1468 else if (strcmp(pgtype, SCF_GROUP_FRAMEWORK) == 0)
2606 * group has type pgtype, and it has a propname property with string type, add
2607 * its values as authorizations to pcp. If pgtype is NULL, it is not checked.
2616 const char *pgtype, const char *propname)
2643 if (pgtype == NULL || strcmp(pg->rn_type, pgtype) == 0) {
3996 const char *pgtype, uint32_t flags, rc_node_ptr_t *cpp)
4010 audit_data.ed_type = (char *)pgtype;
4031 (rc = rc_check_pgtype_name(pgtype)) != REP_PROTOCOL_SUCCESS) {
4060 perm_auth_for_pgtype(pgtype);
4074 strcmp(pgtype, AUTH_PG_ACTIONS_TYPE) == 0) ||
4076 strcmp(pgtype, AUTH_PG_GENERAL_OVR_TYPE) == 0))) {
4123 rc = object_create_pg(np, type, name, pgtype, flags, &cp);
5567 * If the pgname property group under ent has type pgtype, and it has a
5568 * propname property with type ptype, return _SUCCESS. If pgtype is NULL,
5580 rc_svc_prop_exists(rc_node_t *ent, const char *pgname, const char *pgtype,
5639 pgtype != NULL && strcmp(pg->rn_type, pgtype) != 0) {
5645 pgtype != NULL && strcmp(spg->rn_type, pgtype) != 0) {
7065 /* Add pgtype-specific authorization. */