/freebsd-11-stable/lib/libcasper/libcasper/ |
H A D | libcasper_impl.h | 41 struct service; 47 /* Private service functions. */ 48 struct service *service_alloc(const char *name, 51 void service_free(struct service *service); 52 void service_message(struct service *service, 54 void service_start(struct service *service, int sock, int procfd); 55 const char *service_name(struct service *servic [all...] |
H A D | service.c | 32 __FBSDID("$FreeBSD: stable/11/lib/libcasper/libcasper/service.c 370004 2021-06-16 20:30:46Z git2svn $"); 56 * Currently there is only one service_connection per service. 58 * per one service instance, but it has to be carefully designed. 59 * The problem is that we may restrict/sandbox service instance according 63 * clients and compromise of this service instance by one of its clients 68 * Client connections to the given service. 79 struct service { struct 88 struct service * 92 struct service *service; local 112 service_free(struct service *service) argument 126 service_connection_add(struct service *service, int sock, const nvlist_t *limits) argument 162 service_connection_remove(struct service *service, struct service_connection *sconn) argument 177 service_connection_clone(struct service *service, struct service_connection *sconn) argument 200 service_connection_first(struct service *service) argument 263 service_message(struct service *service, struct service_connection *sconn) argument 337 service_name(struct service *service) argument 400 service_start(struct service *service, int sock, int procfd) argument [all...] |
H A D | libcasper_service.c | 51 struct service *cs_service; 59 #define CSERVICE_IS_CORE(service) \ 60 (strcmp(service_name(service->cs_service), CORE_CASPER_NAME) == 0) 103 casper_allowed_service(const nvlist_t *limits, const char *service) argument 109 if (nvlist_exists_null(limits, service)) 136 struct service *service; local 143 service = (struct service *)(uintptr_t)nvlist_take_number(nvl, 144 "service"); [all...] |
/freebsd-11-stable/usr.sbin/service/ |
H A D | Makefile | 3 SCRIPTS=service.sh 4 MAN= service.8
|
/freebsd-11-stable/sys/contrib/vchiq/interface/vchiq_arm/ |
H A D | vchiq_shim.c | 102 SHIM_SERVICE_T *service = (SHIM_SERVICE_T *)handle; local 109 if (vchiu_queue_is_empty(&service->queue)) 112 header = vchiu_queue_peek(&service->queue); 134 SHIM_SERVICE_T *service = (SHIM_SERVICE_T *)handle; local 137 header = vchiu_queue_pop(&service->queue); 139 vchiq_release_message(service->handle, header); 165 SHIM_SERVICE_T *service = (SHIM_SERVICE_T *)handle; local 173 status = vchiq_queue_message(service->handle, &element, 1); 181 status = vchiq_queue_message(service->handle, &element, 1); 208 SHIM_SERVICE_T *service local 267 SHIM_SERVICE_T *service = (SHIM_SERVICE_T *)handle; local 327 SHIM_SERVICE_T *service = (SHIM_SERVICE_T *)handle; local 377 SHIM_SERVICE_T *service = (SHIM_SERVICE_T *)handle; local 431 SHIM_SERVICE_T *service = (SHIM_SERVICE_T *)handle; local 543 SHIM_SERVICE_T *service = local 604 SHIM_SERVICE_T *service = kzalloc(sizeof(SHIM_SERVICE_T), GFP_KERNEL); local 621 service_free(SHIM_SERVICE_T *service) argument 634 SHIM_SERVICE_T *service = service_alloc(instance, setup); local 667 SHIM_SERVICE_T *service = service_alloc(instance, setup); local 697 SHIM_SERVICE_T *service = (SHIM_SERVICE_T *)handle; local 714 SHIM_SERVICE_T *service = (SHIM_SERVICE_T *)handle; local 733 SHIM_SERVICE_T *service = (SHIM_SERVICE_T *)handle; local 761 SHIM_SERVICE_T *service = (SHIM_SERVICE_T *)handle; local 834 SHIM_SERVICE_T *service = (SHIM_SERVICE_T *)handle; local 854 SHIM_SERVICE_T *service = (SHIM_SERVICE_T *)handle; local [all...] |
H A D | vchiq_core.c | 168 vchiq_set_service_state(VCHIQ_SERVICE_T *service, int newstate) argument 171 service->state->id, service->localport, 172 srvstate_names[service->srvstate], 174 service->srvstate = newstate; 180 VCHIQ_SERVICE_T *service; local 183 service = handle_to_service(handle); 184 if (service && (service->srvstate != VCHIQ_SRVSTATE_FREE) && 185 (service 202 VCHIQ_SERVICE_T *service = NULL; local 224 VCHIQ_SERVICE_T *service; local 247 VCHIQ_SERVICE_T *service; local 273 VCHIQ_SERVICE_T *service = NULL; local 295 lock_service(VCHIQ_SERVICE_T *service) argument 305 unlock_service(VCHIQ_SERVICE_T *service) argument 333 VCHIQ_SERVICE_T *service = find_service_by_handle(handle); local 346 VCHIQ_SERVICE_T *service = handle_to_service(handle); local 354 VCHIQ_SERVICE_T *service = handle_to_service(handle); local 360 mark_service_closing_internal(VCHIQ_SERVICE_T *service, int sh_thread) argument 385 mark_service_closing(VCHIQ_SERVICE_T *service) argument 391 make_service_callback(VCHIQ_SERVICE_T *service, VCHIQ_REASON_T reason, VCHIQ_HEADER_T *header, void *bulk_userdata) argument 502 VCHIQ_SERVICE_T *service = state->services[i]; local 522 VCHIQ_SERVICE_T *service = state->services[i]; local 533 request_poll(VCHIQ_STATE_T *state, VCHIQ_SERVICE_T *service, int poll_type) argument 767 queue_message(VCHIQ_STATE_T *state, VCHIQ_SERVICE_T *service, int msgid, const VCHIQ_ELEMENT_T *elements, int count, int size, int flags) argument 1007 queue_message_sync(VCHIQ_STATE_T *state, VCHIQ_SERVICE_T *service, int msgid, const VCHIQ_ELEMENT_T *elements, int count, int size, int is_blocking) argument 1119 release_slot(VCHIQ_STATE_T *state, VCHIQ_SLOT_INFO_T *slot_info, VCHIQ_HEADER_T *header, VCHIQ_SERVICE_T *service) argument 1171 notify_bulks(VCHIQ_SERVICE_T *service, VCHIQ_BULK_QUEUE_T *queue, int retry_poll) argument 1284 VCHIQ_SERVICE_T *service = local 1339 resolve_bulks(VCHIQ_SERVICE_T *service, VCHIQ_BULK_QUEUE_T *queue) argument 1402 abort_outstanding_bulks(VCHIQ_SERVICE_T *service, VCHIQ_BULK_QUEUE_T *queue) argument 1488 VCHIQ_SERVICE_T *service = state->services[i]; local 1509 VCHIQ_SERVICE_T *service = NULL; local 1632 VCHIQ_SERVICE_T *service = NULL; local 2163 VCHIQ_SERVICE_T *service; local 2562 VCHIQ_SERVICE_T *service; local 2698 vchiq_open_service_internal(VCHIQ_SERVICE_T *service, int client_id) argument 2736 release_service_messages(VCHIQ_SERVICE_T *service) argument 2800 do_abort_bulks(VCHIQ_SERVICE_T *service) argument 2819 close_service_complete(VCHIQ_SERVICE_T *service, int failstate) argument 2881 vchiq_close_service_internal(VCHIQ_SERVICE_T *service, int close_recvd) argument 3018 vchiq_terminate_service_internal(VCHIQ_SERVICE_T *service) argument 3033 vchiq_free_service_internal(VCHIQ_SERVICE_T *service) argument 3066 VCHIQ_SERVICE_T *service; local 3102 VCHIQ_SERVICE_T *service; local 3159 VCHIQ_SERVICE_T *service = find_service_by_handle(handle); local 3218 VCHIQ_SERVICE_T *service = find_service_by_handle(handle); local 3286 VCHIQ_SERVICE_T *service = find_service_by_handle(handle); local 3442 VCHIQ_SERVICE_T *service = find_service_by_handle(handle); local 3497 VCHIQ_SERVICE_T *service = find_service_by_handle(handle); local 3537 VCHIQ_SERVICE_T *service = find_service_by_handle(handle); local 3580 VCHIQ_SERVICE_T *service = find_service_by_handle(handle); local 3754 VCHIQ_SERVICE_T *service = find_service_by_port(state, i); local 3764 vchiq_dump_service_state(void *dump_context, VCHIQ_SERVICE_T *service) argument [all...] |
H A D | vchiq_if.h | 47 #define VCHIQ_GET_SERVICE_USERDATA(service) vchiq_get_service_userdata(service) 48 #define VCHIQ_GET_SERVICE_FOURCC(service) vchiq_get_service_fourcc(service) 51 VCHIQ_SERVICE_OPENED, /* service, -, - */ 52 VCHIQ_SERVICE_CLOSED, /* service, -, - */ 53 VCHIQ_MESSAGE_AVAILABLE, /* service, header, - */ 54 VCHIQ_BULK_TRANSMIT_DONE, /* service, -, bulk_userdata */ 55 VCHIQ_BULK_RECEIVE_DONE, /* service, -, bulk_userdata */ 56 VCHIQ_BULK_TRANSMIT_ABORTED, /* service, [all...] |
H A D | vchiq_arm.c | 101 VCHIQ_SERVICE_T *service; member in struct:user_service_struct 241 completion->service_userdata = user_service->service; 247 lock_service(user_service->service); 282 VCHIQ_SERVICE_T *service; local 289 service = handle_to_service(handle); 290 BUG_ON(!service); 291 user_service = (USER_SERVICE_T *)service->base.userdata; 298 "service_callback - service %lx(%d,%p), reason %d, header %lx, " 301 service->localport, user_service->userdata, 406 user_service->service 431 VCHIQ_SERVICE_T *service = NULL; local 1234 VCHIQ_SERVICE_T *service; local 1421 VCHIQ_SERVICE_T *service = state->services[i]; local 1432 VCHIQ_SERVICE_T *service = state->services[i]; local 1463 vchiq_dump_platform_service_state(void *dump_context, VCHIQ_SERVICE_T *service) argument 2372 vchiq_use_internal(VCHIQ_STATE_T *state, VCHIQ_SERVICE_T *service, enum USE_TYPE_E use_type) argument 2505 vchiq_release_internal(VCHIQ_STATE_T *state, VCHIQ_SERVICE_T *service) argument 2584 vchiq_use_service_internal(VCHIQ_SERVICE_T *service) argument 2590 vchiq_release_service_internal(VCHIQ_SERVICE_T *service) argument 2612 VCHIQ_SERVICE_T *service = find_service_by_handle(handle); local 2625 VCHIQ_SERVICE_T *service = find_service_by_handle(handle); local 2638 VCHIQ_SERVICE_T *service = find_service_by_handle(handle); local 2729 vchiq_check_service(VCHIQ_SERVICE_T *service) argument 2847 VCHIQ_SERVICE_T *service; local [all...] |
H A D | vchiq_kern_lib.c | 230 VCHIQ_SERVICE_T *service = NULL; local 242 service = vchiq_add_service_internal( 249 if (service) { 250 *phandle = service->handle; 275 VCHIQ_SERVICE_T *service = NULL; local 285 service = vchiq_add_service_internal(state, 291 if (service) { 292 *phandle = service->handle; 293 status = vchiq_open_service_internal(service, 296 vchiq_remove_service(service 384 VCHIQ_SERVICE_T *service; local [all...] |
H A D | vchiq_core.h | 158 #define VCHIQ_SERVICE_STATS_INC(service, stat) (service->stats. stat++) 159 #define VCHIQ_SERVICE_STATS_ADD(service, stat, addend) \ 160 (service->stats. stat += addend) 163 #define VCHIQ_SERVICE_STATS_INC(service, stat) ((void)0) 164 #define VCHIQ_SERVICE_STATS_ADD(service, stat, addend) ((void)0) 334 statically allocated, since for accounting reasons a service's slot 483 /* The number of the first unused service */ 546 vchiq_open_service_internal(VCHIQ_SERVICE_T *service, int client_id); 549 vchiq_close_service_internal(VCHIQ_SERVICE_T *service, in [all...] |
/freebsd-11-stable/etc/pam.d/ |
H A D | convert.pl | 46 my $service; 61 foreach $service (keys(%SERVICES)) { 63 if (sysopen(FILE, $service, O_RDONLY)) { 71 sysopen(FILE, $service, O_RDWR|O_CREAT|O_TRUNC) 72 or die("$service: $!\n"); 76 print(FILE "# PAM configuration for the \"$service\" service\n"); 79 next unless exists($SERVICES{$service}->{$type}); 82 print(FILE join("\n", @{$SERVICES{$service}->{$type}}, "")); 85 warn("$service\ [all...] |
/freebsd-11-stable/crypto/heimdal/lib/krb5/ |
H A D | get_port.c | 38 const char *service, 44 if ((sp = roken_getservbyname (service, proto)) == NULL) { 46 krb5_warnx(context, "%s/%s unknown service, using default port %d", 47 service, proto, default_port); 37 krb5_getportbyname(krb5_context context, const char *service, const char *proto, int default_port) argument
|
H A D | verify_user.c | 42 const char *service, 50 ret = krb5_sname_to_principal (context, NULL, service, KRB5_NT_SRV_HST, 86 * If `secure', also verify against local service key for `service'. 96 opt->service = "host"; 137 krb5_verify_opt_set_service(krb5_verify_opt *opt, const char *service) argument 139 opt->service = service; 180 OPT(service, "host"), cred); 224 const char *service) 37 verify_common(krb5_context context, krb5_principal principal, krb5_ccache ccache, krb5_keytab keytab, krb5_boolean secure, const char *service, krb5_creds cred) argument 219 krb5_verify_user(krb5_context context, krb5_principal principal, krb5_ccache ccache, const char *password, krb5_boolean secure, const char *service) argument 243 krb5_verify_user_lrealm(krb5_context context, krb5_principal principal, krb5_ccache ccache, const char *password, krb5_boolean secure, const char *service) argument [all...] |
/freebsd-11-stable/etc/periodic/daily/ |
H A D | 480.leapfile-ntpd | 16 if service ntpd oneneedfetch; then 18 service ntpd onefetch
|
/freebsd-11-stable/contrib/ntp/include/ |
H A D | intreswork.h | 19 const char *service, 25 const char *service, void *context);
|
/freebsd-11-stable/contrib/libpcap/rpcapd/ |
H A D | rpcapd.xinetd.conf | 0 service rpcap {
|
/freebsd-11-stable/crypto/heimdal/appl/test/ |
H A D | test_locl.h | 81 extern char *service; 87 int client_doit (const char *hostname, int port, const char *service, 88 int (*func)(int, const char *hostname, const char *service));
|
H A D | tcp_server.c | 40 proto (int sock, const char *service) argument 69 service, 156 doit (int port, const char *service) argument 160 return proto (STDIN_FILENO, service); 167 return doit (port, service);
|
/freebsd-11-stable/kerberos5/libexec/ |
H A D | Makefile | 5 SUBDIR= digest-service ipropd-master ipropd-slave hprop hpropd kdc \
|
/freebsd-11-stable/contrib/openpam/lib/libpam/ |
H A D | pam_start.c | 65 pam_start(const char *service, argument 77 if ((r = pam_set_item(ph, PAM_SERVICE, service)) != PAM_SUCCESS) 87 if ((r = openpam_configure(ph, service)) != PAM_SUCCESS) 90 openpam_log(PAM_LOG_DEBUG, "pam_start(\"%s\") succeeded", service); 109 * The =service argument specifies the name of the policy to apply, and is
|
H A D | openpam_configure.c | 59 * Validate a service name. 150 * service and facility, or -1 if a system error occurred or a syntax 155 const char *service, 183 /* check service name if necessary */ 185 strcmp(wordv[i++], service) != 0) { 210 "%s(%d): missing or invalid service name", 342 const char *service, 372 ret = openpam_parse_chain(pamh, service, facility, 378 * Locates the policy file for a given service and reads the given chains 382 * service an 154 openpam_parse_chain(pam_handle_t *pamh, const char *service, pam_facility_t facility, FILE *f, const char *filename, openpam_style_t style) argument 341 openpam_load_file(pam_handle_t *pamh, const char *service, pam_facility_t facility, const char *filename, openpam_style_t style) argument 386 openpam_load_chain(pam_handle_t *pamh, const char *service, pam_facility_t facility) argument 452 openpam_configure(pam_handle_t *pamh, const char *service) argument [all...] |
/freebsd-11-stable/contrib/openpam/bin/openpam_dump_policy/ |
H A D | openpam_dump_policy.c | 48 openpam_chain_name(const char *service, pam_facility_t fclt) argument 53 if (asprintf(&name, "pam_%s_%s", service, facility) == -1) 121 openpam_dump_policy(const char *service) argument 129 if ((ret = openpam_configure(pamh, service)) != PAM_SUCCESS) 133 if ((name = openpam_chain_name(service, fclt)) == NULL) 141 printf("static pam_policy_t pam_%s_policy = {\n", service); 142 printf("\t.service = \"%s\",\n", service); 150 if ((name = openpam_chain_name(service, fclt)) == NULL)
|
/freebsd-11-stable/crypto/heimdal/kdc/ |
H A D | log.c | 40 const char *service, 45 s = krb5_config_get_strings(context, NULL, service, "logging", NULL); 47 s = krb5_config_get_strings(context, NULL, "logging", service, NULL); 39 kdc_openlog(krb5_context context, const char *service, krb5_kdc_configuration *config) argument
|
/freebsd-11-stable/usr.sbin/unbound/setup/ |
H A D | local-unbound-setup.sh | 48 service="" 74 : ${service:=local_unbound} 183 echo "unbound_service=\"${service}\"" 185 echo "unbound_restart=\"service ${service} reload\"" 303 echo " -s service name of unbound service" 351 service="$OPTARG" 436 elif ! service "${service}" enable [all...] |
/freebsd-11-stable/crypto/openssh/ |
H A D | auth2.c | 185 char *service = packet_get_cstring(&len); local 191 if (strcmp(service, "ssh-userauth") == 0) { 198 /* XXX all other service requests are denied */ 202 packet_put_cstring(service); 206 debug("bad service request %s", service); 207 packet_disconnect("bad service request %s", service); 209 free(service); 220 char *user, *service, *metho local [all...] |