Lines Matching refs:service
27 * inetconv - convert inetd.conf entries into smf(5) service manifests,
79 char *service;
116 " Service manifest for the %s service.\n"
125 "<service\n"
127 " type='service'\n"
135 " type='service'>\n"
150 " timeout this service, since the forked process is the one that\n"
151 " does the service's work. This is the case for most/all legacy\n"
235 "</service>\n"
316 len = strlen(iconf->service) + strlen(iconf->protocol) +
321 * Combine the service and protocol fields to produce a unique
322 * manifest service name. The syntax of a service name is:
325 (void) strlcpy(buf, propertyname(iconf->service,
334 * SMF service names may not contain '.', but IANA services do
336 * by propertyname(). So if the resultant SMF service name
361 buf[sizeof (" service-name endpoint-type protocol wait-status")];
368 (void) strlcat(buf, " service-name", sizeof (buf));
388 char *svc_name = iconf->service;
446 iconf->rpc_prog = safe_strdup(iconf->service);
474 "version in service: %s\n"),
476 finfo->lineno, iconf->service);
527 if ((strcmp(iconf->service, "echo") == 0) ||
528 (strcmp(iconf->service, "discard") == 0) ||
529 (strcmp(iconf->service, "time") == 0) ||
530 (strcmp(iconf->service, "daytime") == 0) ||
531 (strcmp(iconf->service, "chargen") == 0)) {
538 "unknown internal service: %s\n"), progname,
539 finfo->filename, finfo->lineno, iconf->service);
559 free(iconf->service);
585 iconf->service = safe_strdup(cp);
721 iconf->isrpc ? iconf->rpc_prog : iconf->service) < 0)
724 if (fprintf(f, xml_service_bundle, iconf->service) < 0)
764 PR_SOURCE_LINE_NAME, iconf->service,
774 PR_SVC_NAME_NAME, iconf->isrpc ? iconf->rpc_prog : iconf->service,
793 iconf->isrpc ? iconf->rpc_prog : iconf->service) < 0)
798 (void) printf("%s -> %s\n", iconf->service, filename);
872 len = strlen(destdir) + strlen(iconf->service) +
881 (void) strlcat(dstfile, iconf->service, len);
891 /* convert any '/' chars in service or protocol to '_' chars */
902 progname, iconf->service, dstfile);
1096 * and an astring value, and modifies the instance (or service's) specified
1119 /* Not a property of the instance, try the service instead */
1210 * service that we're looking at from the inetd.conf file, and enable it if
1242 gettext("Error: Unable to obtain FMRI for service %1$s."),
1299 cp = strchr(iconf->service, '/');
1305 * If name of this service and endpoint are equal to values from
1312 if (strcmp(name, iconf->service) == 0 &&