X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/55e303ae13a4cf49d70f2294092726f2fffb9ef2..HEAD:/osfmk/man/task_get_special_port.html diff --git a/osfmk/man/task_get_special_port.html b/osfmk/man/task_get_special_port.html old mode 100755 new mode 100644 index 589e644e8..f6ccb2bea --- a/osfmk/man/task_get_special_port.html +++ b/osfmk/man/task_get_special_port.html @@ -1 +1,104 @@ -
Function - Return a send write to the indicated special port.
kern_return_t task_get_special_port (task_t task, int which_port, task special_port); Macro Forms: kern_return_t task_get_bootstrap_port (task_t task, task special_port); kern_return_t task_get_kernel_port (task_t task, task special_port); kern_return_t task_get_host_name_port (task_t task, task special_port);
The task_get_special_port function returns a send right for a special port belonging to task.
If one task has a send right for the kernel port of another task, it can use the port to perform kernel operations for the other task. Send rights for a kernel port normally are held only by the task to which the port belongs, or by the task's parent task. Using the mach_msg function, however, any task can pass a send right for its kernel port to another task.
The current implementation does not support the TASK_HOST_NAME_PORT features associated with this interface.
Only generic errors apply.
Functions: mach_task_self, task_create, task_set_special_port, thread_get_special_port, thread_set_special_port, mach_host_self. \ No newline at end of file +
+Function - Return a send write to the indicated special port. +
+kern_return_t task_get_special_port + (task_t task, + int which_port, + task special_port); + + +Macro Forms: + + +kern_return_t task_get_bootstrap_port + (task_t task, + task special_port); + + +kern_return_t task_get_kernel_port + (task_t task, + task special_port); + + +kern_return_t task_get_host_name_port + (task_t task, + task special_port); ++
+
+
+
+
+
+
+
+
+The task_get_special_port function returns a send right +for a special port belonging to task. +
+If one task has a send right for the kernel port of another task, it can use +the port to perform kernel operations for the other task. Send rights for a +kernel port normally are held only by the task to which the port belongs, +or by the task's parent task. Using the mach_msg function, however, +any task can pass a send right for its kernel port to another task. +
+The current implementation does not support the TASK_HOST_NAME_PORT +features associated with this interface. +
+Only generic errors apply. +
+Functions: +mach_task_self, +task_create, +task_set_special_port, +thread_get_special_port, +thread_set_special_port, +mach_host_self.