• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/launchd-842.92.1/src/

Lines Matching defs:request

805 static launch_data_t job_do_legacy_ipc_request(job_t j, launch_data_t request, mach_port_t asport);
868 static int xpc_event_get_event_name(job_t j, xpc_object_t request, xpc_object_t *reply);
869 static int xpc_event_set_event(job_t j, xpc_object_t request, xpc_object_t *reply);
870 static int xpc_event_copy_event(job_t j, xpc_object_t request, xpc_object_t *reply);
871 static int xpc_event_channel_check_in(job_t j, xpc_object_t request, xpc_object_t *reply);
872 static int xpc_event_channel_look_up(job_t j, xpc_object_t request, xpc_object_t *reply);
873 static int xpc_event_provider_check_in(job_t j, xpc_object_t request, xpc_object_t *reply);
874 static int xpc_event_provider_set_state(job_t j, xpc_object_t request, xpc_object_t *reply);
877 static int xpc_process_set_jetsam_band(job_t j, xpc_object_t request, xpc_object_t *reply);
878 static int xpc_process_set_jetsam_memory_limit(job_t j, xpc_object_t request, xpc_object_t *reply);
1736 launchd_syslog(LOG_WARNING, "Did PID_MAX change? Got request from PID: %d", anonpid);
6839 jobmgr_log(jm, LOG_ERR, "Mach sub-bootstrap create request requires a requester port");
9106 * and the request is not coming from within that singleton
9647 * processing an IPC request, we'll do this action before the new job manager can get any IPC
10036 job_log(j, LOG_ERR, "Mach sub-bootstrap create request failed. Depth greater than: %d", bsdepth);
10545 xpc_event_get_event_name(job_t j, xpc_object_t request, xpc_object_t *reply)
10547 const char *stream = xpc_dictionary_get_string(request, XPC_EVENT_ROUTINE_KEY_STREAM);
10552 uint64_t token = xpc_dictionary_get_uint64(request, XPC_EVENT_ROUTINE_KEY_TOKEN);
10562 xpc_object_t reply2 = xpc_dictionary_create_reply(request);
10574 xpc_event_copy_entitlements(job_t j, xpc_object_t request, xpc_object_t *reply)
10576 const char *stream = xpc_dictionary_get_string(request, XPC_EVENT_ROUTINE_KEY_STREAM);
10581 uint64_t token = xpc_dictionary_get_uint64(request, XPC_EVENT_ROUTINE_KEY_TOKEN);
10591 xpc_object_t reply2 = xpc_dictionary_create_reply(request);
10608 xpc_event_set_event(job_t j, xpc_object_t request, xpc_object_t *reply)
10610 const char *stream = xpc_dictionary_get_string(request, XPC_EVENT_ROUTINE_KEY_STREAM);
10615 const char *key = xpc_dictionary_get_string(request, XPC_EVENT_ROUTINE_KEY_NAME);
10620 xpc_object_t event = xpc_dictionary_get_value(request, XPC_EVENT_ROUTINE_KEY_EVENT);
10625 uint64_t flags = xpc_dictionary_get_uint64(request, XPC_EVENT_ROUTINE_KEY_FLAGS);
10674 xpc_object_t reply2 = xpc_dictionary_create_reply(request);
10682 xpc_event_copy_event(job_t j, xpc_object_t request, xpc_object_t *reply)
10684 const char *stream = xpc_dictionary_get_string(request, XPC_EVENT_ROUTINE_KEY_STREAM);
10685 const char *key = xpc_dictionary_get_string(request, XPC_EVENT_ROUTINE_KEY_NAME);
10725 xpc_object_t reply2 = xpc_dictionary_create_reply(request);
10737 xpc_event_channel_check_in(job_t j, xpc_object_t request, xpc_object_t *reply)
10739 const char *stream = xpc_dictionary_get_string(request, XPC_EVENT_ROUTINE_KEY_STREAM);
10756 xpc_object_t reply2 = xpc_dictionary_create_reply(request);
10766 xpc_event_channel_look_up(job_t j, xpc_object_t request, xpc_object_t *reply)
10772 const char *stream = xpc_dictionary_get_string(request, XPC_EVENT_ROUTINE_KEY_STREAM);
10777 uint64_t token = xpc_dictionary_get_uint64(request, XPC_EVENT_ROUTINE_KEY_TOKEN);
10793 xpc_object_t reply2 = xpc_dictionary_create_reply(request);
10805 xpc_event_provider_check_in(job_t j, xpc_object_t request, xpc_object_t *reply)
10817 const char *stream = xpc_dictionary_get_string(request, XPC_EVENT_ROUTINE_KEY_STREAM);
10850 xpc_object_t reply2 = xpc_dictionary_create_reply(request);
10859 xpc_event_provider_set_state(job_t j, xpc_object_t request, xpc_object_t *reply)
10867 const char *stream = xpc_dictionary_get_string(request, XPC_EVENT_ROUTINE_KEY_STREAM);
10872 uint64_t token = xpc_dictionary_get_uint64(request, XPC_EVENT_ROUTINE_KEY_TOKEN);
10878 xpc_object_t xstate = xpc_dictionary_get_value(request, XPC_EVENT_ROUTINE_KEY_STATE);
10904 xpc_object_t reply2 = xpc_dictionary_create_reply(request);
10911 xpc_event_demux(mach_port_t p, xpc_object_t request, xpc_object_t *reply)
10913 uint64_t op = xpc_dictionary_get_uint64(request, XPC_EVENT_ROUTINE_KEY_OP);
10919 xpc_dictionary_get_audit_token(request, &token);
10931 job_log(j, LOG_DEBUG, "Incoming XPC event request: %llu", op);
10936 error = xpc_event_get_event_name(j, request, reply);
10939 error = xpc_event_set_event(j, request, reply);
10942 error = xpc_event_copy_event(j, request, reply);
10945 error = xpc_event_channel_check_in(j, request, reply);
10948 error = xpc_event_channel_look_up(j, request, reply);
10951 error = xpc_event_provider_check_in(j, request, reply);
10954 error = xpc_event_provider_set_state(j, request, reply);
10957 error = xpc_event_copy_entitlements(j, request, reply);
10968 xpc_object_t reply2 = xpc_dictionary_create_reply(request);
10995 xpc_process_set_jetsam_band(job_t j, xpc_object_t request, xpc_object_t *reply)
11001 const char *label = xpc_dictionary_get_string(request, XPC_PROCESS_ROUTINE_KEY_LABEL);
11007 xpc_jetsam_band_t requested_band = (xpc_jetsam_band_t)xpc_dictionary_get_uint64(request, XPC_PROCESS_ROUTINE_KEY_PRIORITY_BAND);
11016 uint64_t rcdata = xpc_dictionary_get_uint64(request, XPC_PROCESS_ROUTINE_KEY_RCDATA);
11045 xpc_object_t reply2 = xpc_dictionary_create_reply(request);
11052 xpc_process_set_jetsam_memory_limit(job_t j, xpc_object_t request, xpc_object_t *reply)
11058 const char *label = xpc_dictionary_get_string(request, XPC_PROCESS_ROUTINE_KEY_LABEL);
11064 int32_t requested_limit = (int32_t)xpc_dictionary_get_uint64(request, XPC_PROCESS_ROUTINE_KEY_MEMORY_LIMIT);
11093 xpc_object_t reply2 = xpc_dictionary_create_reply(request);
11122 xpc_process_attach(job_t j, xpc_object_t request, xpc_object_t *reply)
11144 const char *name = xpc_dictionary_get_string(request, XPC_PROCESS_ROUTINE_KEY_NAME);
11149 xpc_service_type_t type = xpc_dictionary_get_int64(request, XPC_PROCESS_ROUTINE_KEY_TYPE);
11154 mach_port_t port = xpc_dictionary_copy_mach_send(request, XPC_PROCESS_ROUTINE_KEY_NEW_INSTANCE_PORT);
11159 pid_t pid = xpc_dictionary_get_int64(request, XPC_PROCESS_ROUTINE_KEY_HANDLE);
11163 xpc_object_t reply2 = xpc_dictionary_create_reply(request);
11202 xpc_process_detach(job_t j, xpc_object_t request, xpc_object_t *reply __unused)
11208 const char *name = xpc_dictionary_get_string(request, XPC_PROCESS_ROUTINE_KEY_NAME);
11213 xpc_service_type_t type = xpc_dictionary_get_int64(request, XPC_PROCESS_ROUTINE_KEY_TYPE);
11220 pid_t pid = xpc_dictionary_get_int64(request, XPC_PROCESS_ROUTINE_KEY_PID);
11240 xpc_process_get_properties(job_t j, xpc_object_t request, xpc_object_t *reply)
11266 xpc_object_t reply2 = xpc_dictionary_create_reply(request);
11294 xpc_process_service_kill(job_t j, xpc_object_t request, xpc_object_t *reply)
11306 const char *name = xpc_dictionary_get_string(request, XPC_PROCESS_ROUTINE_KEY_NAME);
11311 int64_t whichsig = xpc_dictionary_get_int64(request, XPC_PROCESS_ROUTINE_KEY_SIGNAL);
11346 xpc_object_t reply2 = xpc_dictionary_create_reply(request);
11366 xpc_process_demux(mach_port_t p, xpc_object_t request, xpc_object_t *reply)
11368 uint64_t op = xpc_dictionary_get_uint64(request, XPC_PROCESS_ROUTINE_KEY_OP);
11374 xpc_dictionary_get_audit_token(request, &token);
11378 job_log(j, LOG_DEBUG, "Incoming XPC process request: %llu", op);
11383 error = xpc_process_set_jetsam_band(j, request, reply);
11386 error = xpc_process_set_jetsam_memory_limit(j, request, reply);
11389 error = xpc_process_attach(j, request, reply);
11392 error = xpc_process_detach(j, request, reply);
11395 error = xpc_process_get_properties(j, request, reply);
11398 error = xpc_process_service_kill(j, request, reply);
11406 xpc_object_t reply2 = xpc_dictionary_create_reply(request);
11615 job_do_legacy_ipc_request(job_t j, launch_data_t request, mach_port_t asport __attribute__((unused)))
11620 if (launch_data_get_type(request) == LAUNCH_DATA_STRING) {
11621 if (strcmp(launch_data_get_string(request), LAUNCH_KEY_CHECKIN) == 0) {
11634 job_mig_legacy_ipc_request(job_t j, vm_offset_t request,
11659 job_log(j, LOG_ERR, "Bad descriptor passed in legacy IPC request at index: %lu", i);
11670 launch_data_t ldrequest = launch_data_unpack((void *)request, requestCnt, in_fds, nfds, &dataoff, &fdoff);
11672 job_log(j, LOG_ERR, "Invalid legacy IPC request passed.");
11728 mig_deallocate(request, requestCnt);
11931 /* Ignore. We only recognize this key so we don't complain when we get SpringBoard's request.
11937 /* Ignore. This key is present in SpringBoard's request dictionary, so we don't want to