Lines Matching defs:security

701  * chk_opt(optlistp, security, proto)
709 chk_opt(struct options *optlistp, int security, char *proto)
723 if (!security)
726 if (security)
1235 "to be set with set-security: %s\n"),
1572 sa_security_t security;
1574 /* only delete specified security */
1575 security = sa_get_security(group, sectype, protocol);
1576 if (security != NULL && !dryrun)
1577 ret = sa_destroy_security(security);
1589 * Now find all security sets
1594 for (security =
1596 ret == SA_OK && security != NULL;
1597 security = sa_get_next_security(security)) {
1599 secprot = sa_get_security_attr(security,
1604 security);
1873 * protocols otherwise only the specified protocol. All security
1886 sa_security_t security;
1897 security = sa_get_security(group, protocol, NULL);
1898 if (security != NULL) {
1901 out_properties(security, protocol, NULL);
1915 for (security = sa_get_security(group, NULL, protocol);
1916 security != NULL;
1917 security = sa_get_next_security(security)) {
1919 value = sa_get_security_attr(security, "type");
1920 secvalue = sa_get_security_attr(security, "sectype");
1923 out_properties(security, value, secvalue);
3528 * Helper function to add a security option (named optionset) to the
3536 sa_security_t security;
3542 security = sa_get_security(group, sectype, proto);
3543 if (security == NULL)
3544 security = sa_create_security(group, sectype, proto);
3549 if (security == NULL)
3559 prop = sa_get_property(security, optlist->optname);
3570 security, proto, prop);
3580 ret = sa_add_property(security,
3604 * we need to keep the security type itself until
3608 ret = sa_commit_properties(security, 0);
4118 sa_security_t security;
4124 security = sa_get_security(group, sec, proto);
4125 if (security != NULL) {
4127 prop = sa_get_property(security, cur->optname);
4155 sa_security_t security;
4160 security = sa_get_security(group, sectype, proto);
4164 if (security != NULL) {
4167 prop = sa_get_property(security, optlist->optname);
4178 * we need to keep the security type itself until
4182 ret = sa_commit_properties(security, 0);
4355 /* If a share security is empty, remove it */
4370 sa_security_t security;
4373 security = sa_get_security(group, sec, protocol);
4376 if (security != NULL) {
4377 ret = sa_destroy_security(security);
5179 sa_security_t security;
5185 for (security = sa_get_security(share, NULL, NULL);
5186 security != NULL;
5187 security = sa_get_next_security(security)) {
5191 * previous security so we can delete it without
5195 /* remove the previously seen security */
5200 type = sa_get_security_attr(security, "type");
5203 * if the security matches the specified protocol, we
5208 prevsec = security;
5943 ret = gettext("set-security [-nvh] -P proto -S security-type "
5968 ret = gettext("unset-security [-nvh] -P proto "
5969 "-S security-type [-p property]* group");