Lines Matching refs:limitpriv
146 #define DTD_ATTR_LIMITPRIV (const xmlChar *) "limitpriv"
255 { "limitpriv", DTD_ATTR_LIMITPRIV },
1523 zonecfg_get_limitpriv(zone_dochandle_t handle, char **limitpriv)
1525 return (get_alloc_rootattr(handle, DTD_ATTR_LIMITPRIV, limitpriv));
1529 zonecfg_set_limitpriv(zone_dochandle_t handle, char *limitpriv)
1531 return (setrootattr(handle, DTD_ATTR_LIMITPRIV, limitpriv));
6493 * "limitpriv" property.
6516 * set along with those of the "limitpriv" property.
6592 * "limitpriv" property in the zone's configuration.
6604 char *cp, *limitpriv = NULL;
6610 * Attempt to lookup the "limitpriv" property. If it does not
6614 if ((err = zonecfg_get_limitpriv(handle, &limitpriv)) != Z_OK)
6632 limitlen = strlen(limitpriv);
6633 if (limitlen == 0 || strcmp(limitpriv, DEFAULT_TOKEN) == 0) {
6634 free(limitpriv);
6644 cp = strchr(limitpriv, TOKEN_PRIV_CHAR);
6646 strncmp(limitpriv, DEFAULT_TOKEN, cp - limitpriv) == 0)
6649 err = verify_privset(limitpriv, privs, privname, B_FALSE, plp);
6651 free(limitpriv);