Home
last modified time | relevance | path

Searched refs:sectype (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/lib/libshare/common/
H A Dscfutil.c243 char *nodetype, char *proto, char *sectype) in sa_extract_pgroup() argument
262 if (sectype != NULL) in sa_extract_pgroup()
264 (xmlChar *)sectype); in sa_extract_pgroup()
712 char *sectype = NULL; in sa_share_props_from_pgroup() local
749 sectype = strchr(proto, '_'); in sa_share_props_from_pgroup()
750 if (sectype != NULL) in sa_share_props_from_pgroup()
751 *sectype++ = '\0'; in sa_share_props_from_pgroup()
771 if (sectype == NULL) in sa_share_props_from_pgroup()
774 if (isdigit((int)*sectype)) { in sa_share_props_from_pgroup()
783 resource = find_resource_by_index(share, sectype); in sa_share_props_from_pgroup()
[all …]
H A Dlibsharecore.c1825 char *sectype; in sa_get_all_security_types() local
1833 sectype = sa_get_security_attr(security, "sectype"); in sa_get_all_security_types()
1834 if (sectype != NULL) { in sa_get_all_security_types()
1840 if (sa_get_property(options, sectype) == NULL) { in sa_get_all_security_types()
1841 prop = sa_create_property(sectype, in sa_get_all_security_types()
1849 sa_free_attr_string(sectype); in sa_get_all_security_types()
1868 sa_get_derived_security(void *object, char *sectype, char *proto, int hier) in sa_get_derived_security() argument
1878 sectype, proto, hier); in sa_get_derived_security()
1884 sa_set_security_attr(newsecurity, "sectype", sectype); in sa_get_derived_security()
1892 security = sa_get_security((sa_security_t)object, sectype, proto); in sa_get_derived_security()
H A Dlibshare.c777 char *sectype; in sa_security_name() local
783 sectype = sa_get_security_attr(security, "sectype"); in sa_security_name()
785 sectype ? sectype : "default"); in sa_security_name()
788 if (sectype != NULL) in sa_security_name()
789 sa_free_attr_string(sectype); in sa_security_name()
2368 sa_get_security(sa_group_t group, char *sectype, char *proto) in sa_get_security() argument
2392 if (sectype != NULL) { in sa_get_security()
2395 xmlStrcmp(value, (xmlChar *)sectype) == 0) { in sa_get_security()
2886 sa_create_security(sa_group_t group, char *sectype, char *proto) in sa_create_security() argument
2902 security = sa_get_security(group, sectype, proto); in sa_create_security()
[all …]
/titanic_41/usr/src/lib/libshare/nfs/
H A Dlibshare_nfs.c1444 char *sectype = NULL; in nfs_format_options() local
1502 sectype = sa_get_property_attr(secprop, "type"); in nfs_format_options()
1505 group, sectype, "nfs", hier); in nfs_format_options()
1507 if (sectype != NULL) { in nfs_format_options()
1509 "sec", sectype); in nfs_format_options()
1530 if (sectype != NULL) in nfs_format_options()
1531 sa_free_attr_string(sectype); in nfs_format_options()
1549 if (sectype != NULL) in nfs_format_options()
1550 sa_free_attr_string(sectype); in nfs_format_options()
1870 char *sectype; in nfs_enable_share() local
[all …]
/titanic_41/usr/src/cmd/dfs.cmds/sharemgr/
H A Dcommands.c1439 char *sectype = NULL; in sa_delete() local
1466 if (sectype != NULL) { in sa_delete()
1469 "spaces not supported: %s\n"), sectype); in sa_delete()
1472 sectype = optarg; in sa_delete()
1516 if (sectype != NULL && protocol == NULL) { in sa_delete()
1573 if (sectype != NULL) { in sa_delete()
1575 security = sa_get_security(group, sectype, protocol); in sa_delete()
3533 add_security(sa_group_t group, char *sectype, in add_security() argument
3541 sectype = sa_proto_space_alias(proto, sectype); in add_security()
3542 security = sa_get_security(group, sectype, proto); in add_security()
[all …]