X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..refs/heads/master:/osfmk/man/task_get_emulation_vector.html diff --git a/osfmk/man/task_get_emulation_vector.html b/osfmk/man/task_get_emulation_vector.html old mode 100755 new mode 100644 index 46281cdb3..e6beed728 --- a/osfmk/man/task_get_emulation_vector.html +++ b/osfmk/man/task_get_emulation_vector.html @@ -1 +1,54 @@ -

task_get_emulation_vector


Function - Return an array identifying the target task's user-level system call handlers.

SYNOPSIS

kern_return_t   task_get_emulation_vector
                (task_t                                    task,
                 int                               vector_start,
                 emulation_vector_t            emulation_vector,
                 mach_msg_type_number_t* emulation_vector_count);

PARAMETERS

task
[in task send right] The port for the task for which the system call handler addresses are desired.

vector_start
[out scalar] The syscall number corresponding to the first element of emulation_vector.

emulation_vector
[out pointer to dynamic array of vm_address_t] Pointer to the returned array of routine entrypoints for the system calls starting with syscall number vector_start.

emulation_vector_count
[out scalar] The number of entries filled by the kernel.

DESCRIPTION

The task_get_emulation_vector function returns the user-level syscall handler entrypoint addresses.

NOTES

This interface is machine word length specific because of the virtual addresses in the emulation_vector parameter.

RETURN VALUES

Only generic errors apply.

RELATED INFORMATION

Functions: task_set_emulation_vector. \ No newline at end of file +

task_get_emulation_vector

+
+

+Function - Return an array identifying the target task's user-level system call handlers. +

SYNOPSIS

+
+kern_return_t   task_get_emulation_vector
+                (task_t                                    task,
+                 int                               vector_start,
+                 emulation_vector_t            emulation_vector,
+                 mach_msg_type_number_t* emulation_vector_count);
+
+

PARAMETERS

+
+

+

task +
+[in task send right] +The port for the task for which the system call +handler addresses are desired. +

+

vector_start +
+[out scalar] +The syscall number corresponding to the first element of +emulation_vector. +

+

emulation_vector +
+[out pointer to dynamic array of vm_address_t] +Pointer to the returned +array of routine entrypoints for the system calls starting with syscall +number vector_start. +

+

emulation_vector_count +
+[out scalar] +The number of entries filled by the kernel. +
+

DESCRIPTION

+

+The task_get_emulation_vector function returns the +user-level syscall handler entrypoint addresses. +

NOTES

+

+This interface is machine word length specific because of the +virtual addresses in the emulation_vector parameter. +

RETURN VALUES

+

+Only generic errors apply. +

RELATED INFORMATION

+

+Functions: +task_set_emulation_vector.