File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -1997,6 +1997,10 @@ sysdir_get_next_search_path_enumeration
1997
1997
sysdir_search_path_directory_t
1998
1998
sysdir_search_path_domain_mask_t
1999
1999
sysdir_start_search_path_enumeration
2000
+ task_create
2001
+ task_for_pid
2002
+ task_info
2003
+ task_terminate
2000
2004
telldir
2001
2005
thread_basic_info_t
2002
2006
thread_extended_info_t
Original file line number Diff line number Diff line change @@ -64,6 +64,9 @@ pub type memory_object_offset_t = ::c_ulonglong;
64
64
pub type vm_inherit_t = :: c_uint ;
65
65
pub type vm_prot_t = :: c_int ;
66
66
67
+ pub type ledger_t = :: mach_port_t ;
68
+ pub type ledger_array_t = * mut :: ledger_t ;
69
+
67
70
pub type iconv_t = * mut :: c_void ;
68
71
69
72
pub type processor_cpu_load_info_t = * mut processor_cpu_load_info ;
@@ -5498,6 +5501,14 @@ extern "C" {
5498
5501
task_info_out : task_info_t ,
5499
5502
task_info_count : * mut mach_msg_type_number_t ,
5500
5503
) -> :: kern_return_t ;
5504
+ pub fn task_create (
5505
+ target_task : :: task_t ,
5506
+ ledgers : :: ledger_array_t ,
5507
+ ledgersCnt : :: mach_msg_type_number_t ,
5508
+ inherit_memory : :: boolean_t ,
5509
+ child_task : * mut :: task_t ,
5510
+ ) -> :: kern_return_t ;
5511
+ pub fn task_terminate ( target_task : :: task_t ) -> :: kern_return_t ;
5501
5512
pub fn host_statistics (
5502
5513
host_priv : host_t ,
5503
5514
flavor : host_flavor_t ,
You can’t perform that action at this time.
0 commit comments