Lines Matching defs:security

175 		ret = dgettext(TEXT_DOMAIN, "invalid security type");
178 ret = dgettext(TEXT_DOMAIN, "security type not found");
704 else if (xmlStrcmp(node->name, (xmlChar *)"security") == 0)
763 * return the SMF name for the security. If id is not NULL, it will
769 * name is returned in oname. The security type is also encoded into
774 sa_security_name(sa_security_t security, char *oname, size_t len, char *id)
782 proto = sa_get_security_attr(security, "type");
783 sectype = sa_get_security_attr(security, "sectype");
2361 * Return the security optionset. The internal name is a hold over
2364 * as a group of properties (like NFS security options).
2375 if (xmlStrcmp(node->name, (xmlChar *)"security") == 0) {
2413 * sa_get_next_security(security)
2415 * Get the next security optionset if one exists.
2419 sa_get_next_security(sa_security_t security)
2423 for (node = ((xmlNodePtr)security)->next; node != NULL;
2425 if (xmlStrcmp(node->name, (xmlChar *)"security") == 0) {
2881 * Create a security optionset (one that has a type name and a
2888 sa_security_t security;
2902 security = sa_get_security(group, sectype, proto);
2903 if (security != NULL) {
2904 /* can't have a duplicate security option */
2905 security = NULL;
2907 security = (sa_security_t)xmlNewChild((xmlNodePtr)group,
2908 NULL, (xmlChar *)"security", NULL);
2909 if (security != NULL) {
2911 sa_set_security_attr(security, "type", proto);
2913 sa_set_security_attr(security, "sectype", sectype);
2914 (void) sa_security_name(security, oname,
2934 return (security);
2938 * sa_destroy_security(security)
2945 sa_destroy_security(sa_security_t security)
2955 group = sa_get_optionset_parent(security);
2966 len = sa_security_name(security, name, sizeof (name), id);
2979 xmlUnlinkNode((xmlNodePtr)security);
2980 xmlFreeNode((xmlNodePtr)security);
3076 int opttype; /* 1 == optionset, 0 == security */
3348 * to allow editing property/security