forked from epowers/xnu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BSDKernel.exports
815 lines (815 loc) · 12.9 KB
/
BSDKernel.exports
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
_VNOP_BWRITE
_VNOP_FSYNC
_VNOP_IOCTL
_VNOP_READ
_VNOP_STRATEGY
_VNOP_WRITE
__FREE
__FREE_ZONE
__MALLOC:__MALLOC_external
__MALLOC_ZONE:__MALLOC_ZONE_external
_advisory_read
_advisory_read_ext
_bcd2bin_data
_bdevsw_add
_bdevsw_isfree
_bdevsw_remove
_bpf_attach
_bpf_tap_in
_bpf_tap_out
_bpfattach
_bsd_timeout
_bsd_untimeout
_buf_alloc
_buf_bawrite
_buf_bdwrite
_buf_biodone
_buf_biowait
_buf_blkno
_buf_bread
_buf_breadn
_buf_brelse
_buf_bwrite
_buf_callback
_buf_clear
_buf_clearflags
_buf_clear_redundancy_flags
_buf_clone
_buf_count
_buf_dataptr
_buf_device
_buf_dirtyend
_buf_dirtyoff
_buf_drvdata
_buf_error
_buf_flags
_buf_flushdirtyblks
_buf_free
_buf_fromcache
_buf_fsprivate
_buf_fua
_buf_getblk
_buf_geteblk
_buf_invalblkno
_buf_invalidateblks
_buf_iterate
_buf_lblkno
_buf_map
_buf_markaged
_buf_markclean
_buf_markdelayed
_buf_markeintr
_buf_markfua
_buf_markinvalid
_buf_meta_bread
_buf_meta_breadn
_buf_proc
_buf_rcred
_buf_redundancy_flags
_buf_reset
_buf_resid
_buf_setblkno
_buf_setcallback
_buf_setcount
_buf_setdataptr
_buf_setdevice
_buf_setdirtyend
_buf_setdirtyoff
_buf_setdrvdata
_buf_seterror
_buf_setflags
_buf_setfsprivate
_buf_setlblkno
_buf_set_redundancy_flags
_buf_setresid
_buf_setsize
_buf_setupl
_buf_setvnode
_buf_size
_buf_strategy
_buf_unmap
_buf_upl
_buf_uploffset
_buf_valid
_buf_vnode
_buf_wcred
_cache_enter
_cache_lookup
_cache_purge
_cache_purge_negatives
_cdevsw_add
_cdevsw_add_with_bdev
_cdevsw_isfree
_cdevsw_remove
_cluster_bp
_cluster_bp_ext
_cluster_copy_ubc_data
_cluster_copy_upl_data
_cluster_pagein
_cluster_pagein_ext
_cluster_pageout
_cluster_pageout_ext
_cluster_push
_cluster_push_ext
_cluster_push_err
_cluster_read
_cluster_read_ext
_cluster_write
_cluster_write_ext
_cluster_zero
_copystr
_ctl_deregister
_ctl_enqueuedata
_ctl_enqueuembuf
_ctl_getenqueuespace
_ctl_register
_current_proc
_desiredvnodes
_devfs_make_node
_devfs_make_node_clone
_devfs_remove
_enodev
_enodev_strat
_enoioctl
_enosys
_enxio
_eopnotsupp
_err_access
_err_advlock
_err_allocate
_err_blktooff
_err_blockmap
_err_bwrite
_err_close
_err_copyfile
_err_create
_err_exchange
_err_fsync
_err_getattr
_err_inactive
_err_ioctl
_err_link
_err_mkdir
_err_mknod
_err_mmap
_err_offtoblk
_err_open
_err_pagein
_err_pageout
_err_pathconf
_err_read
_err_readdir
_err_readdirattr
_err_readlink
_err_reclaim
_err_remove
_err_rename
_err_revoke
_err_rmdir
_err_searchfs
_err_select
_err_setattr
_err_strategy
_err_symlink
_err_whiteout
_err_write
_ether_add_proto
_ether_check_multi
_ether_del_proto
_ether_demux
_ether_frameout
_ether_ioctl
_fifo_advlock
_fifo_close
_fifo_inactive
_fifo_ioctl
_fifo_lookup
_fifo_open
_fifo_pathconf
_fifo_read
_fifo_select
_fifo_write
_file_drop
_file_flags
_file_socket
_file_vnode_withvid
_fubyte
_fuibyte
_fuiword
_futimes
_fuword
_groupmember
_hashinit
_ifaddr_address
_ifaddr_address_family
_ifaddr_dstaddress
_ifaddr_findbestforaddr
_ifaddr_ifnet
_ifaddr_netmask
_ifaddr_reference
_ifaddr_release
_ifaddr_withaddr
_ifaddr_withdstaddr
_ifaddr_withnet
_ifaddr_withroute
_iflt_attach
_iflt_detach
_ifmaddr_address
_ifmaddr_ifnet
_ifmaddr_lladdress
_ifmaddr_reference
_ifmaddr_release
_ifnet_add_multicast
_ifnet_addrlen
_ifnet_allocate
_ifnet_attach
_ifnet_attach_protocol
_ifnet_baudrate
_ifnet_capabilities_enabled
_ifnet_capabilities_supported
_ifnet_detach
_ifnet_detach_protocol
_ifnet_eflags
_ifnet_event
_ifnet_family
_ifnet_find_by_name
_ifnet_flags
_ifnet_free_address_list
_ifnet_free_multicast_list
_ifnet_get_address_list
_ifnet_get_address_list_family
_ifnet_get_link_mib_data
_ifnet_get_link_mib_data_length
_ifnet_get_multicast_list
_ifnet_hdrlen
_ifnet_index
_ifnet_input
_ifnet_interface_family_find
_ifnet_ioctl
_ifnet_lastchange
_ifnet_list_free
_ifnet_list_get
_ifnet_lladdr
_ifnet_lladdr_copy_bytes
_ifnet_llbroadcast_copy_bytes
_ifnet_metric
_ifnet_mtu
_ifnet_name
_ifnet_offload
_ifnet_output
_ifnet_output_raw
_ifnet_reference
_ifnet_release
_ifnet_remove_multicast
_ifnet_resolve_multicast:_dlil_resolve_multi
_ifnet_set_addrlen
_ifnet_set_baudrate
_ifnet_set_capabilities_supported
_ifnet_set_capabilities_enabled
_ifnet_set_eflags
_ifnet_set_flags
_ifnet_set_hdrlen
_ifnet_set_link_mib_data
_ifnet_set_lladdr
_ifnet_set_metric
_ifnet_set_mtu
_ifnet_set_offload
_ifnet_set_tso_mtu
_ifnet_get_tso_mtu
_ifnet_get_wake_flags
_ifnet_set_wake_flags
_ifnet_set_promiscuous
_ifnet_set_stat
_ifnet_softc
_ifnet_stat
_ifnet_stat_increment
_ifnet_stat_increment_in
_ifnet_stat_increment_out
_ifnet_touch_lastchange
_ifnet_type
_ifnet_unit
_iftovt_tab
_in_cksum:_inet_cksum_simple
_inet_arp_handle_input:_arp_ip_handle_input
_inet_arp_init_ifaddr:_arp_ifinit
_inet_arp_lookup:_arp_lookup_ip
_inet_aton
_ipf_addv4
_ipf_addv6
_ipf_inject_input
_ipf_inject_output
_ipf_remove
_is_file_clean
_isdisk
_kauth_acl_alloc
_kauth_acl_free
_kauth_authorize_action
_kauth_authorize_process
_kauth_cred_create
_kauth_cred_find
_kauth_cred_get
_kauth_cred_get_with_ref
_kauth_cred_getgid
_kauth_cred_getguid
_kauth_cred_getntsid
_kauth_cred_getrgid
_kauth_cred_getruid
_kauth_cred_getsvgid
_kauth_cred_getsvuid
_kauth_cred_getuid
_kauth_cred_gid2guid
_kauth_cred_gid2ntsid
_kauth_cred_guid2gid
_kauth_cred_guid2ntsid
_kauth_cred_guid2uid
_kauth_cred_ismember_gid
_kauth_cred_ismember_guid
_kauth_cred_ntsid2gid
_kauth_cred_ntsid2guid
_kauth_cred_ntsid2uid
_kauth_cred_proc_ref
_kauth_cred_ref
_kauth_cred_uid2guid
_kauth_cred_uid2ntsid
_kauth_cred_unref
_kauth_deregister_scope
_kauth_filesec_alloc
_kauth_filesec_free
_kauth_getgid
_kauth_getruid
_kauth_getuid
_kauth_listen_scope
_kauth_null_guid
_kauth_register_scope
_kauth_unlisten_scope
_kdebug_enable
_kernel_debug
_kernel_debug1
_kernel_debug_filtered
_kernel_debug_enter
_kernel_debug_register_callback
_kernproc
_kev_msg_post
_kev_vendor_code_find
_knote
_knote_attach
_knote_detach
_mbuf_adj
_mbuf_adjustlen
_mbuf_align_32
_mbuf_alloccluster
_mbuf_allocpacket
_mbuf_allocpacket_list
_mbuf_attachcluster
_mbuf_clear_csum_performed
_mbuf_clear_csum_requested
_mbuf_get_mlen
_mbuf_get_mhlen
_mbuf_get_minclsize
_mbuf_clear_vlan_tag
_mbuf_concatenate
_mbuf_copy_pkthdr
_mbuf_copyback
_mbuf_copydata
_mbuf_copym
_mbuf_data_to_physical
_mbuf_datastart
_mbuf_dup
_mbuf_flags
_mbuf_free
_mbuf_freecluster
_mbuf_freem
_mbuf_freem_list
_mbuf_get
_mbuf_get_csum_performed
_mbuf_get_csum_requested
_mbuf_get_traffic_class
_mbuf_get_tso_requested
_mbuf_get_vlan_tag
_mbuf_getcluster
_mbuf_gethdr
_mbuf_getpacket
_mbuf_inbound_modified
_mbuf_inet_cksum
_mbuf_is_traffic_class_privileged
_mbuf_leadingspace
_mbuf_maxlen
_mbuf_mclget
_mbuf_mclhasreference
_mbuf_outbound_finalize
_mbuf_pkthdr_adjustlen
_mbuf_pkthdr_setlen
_mbuf_pkthdr_setrcvif
_mbuf_prepend
_mbuf_pulldown
_mbuf_pullup
_mbuf_set_csum_performed
_mbuf_set_csum_requested
_mbuf_set_traffic_class
_mbuf_set_vlan_tag
_mbuf_setdata
_mbuf_setflags
_mbuf_setflags_mask
_mbuf_setnext
_mbuf_settype
_mbuf_split
_mbuf_stats
_mbuf_tag_allocate
_mbuf_tag_find
_mbuf_tag_free
_mbuf_tag_id_find
_mbuf_trailingspace
_microtime
_microuptime
_minphys
_msleep
_nanotime
_nanouptime
_nd6_lookup_ipv6
_net_init_add
_nop_access
_nop_advlock
_nop_allocate
_nop_blktooff
_nop_blockmap
_nop_bwrite
_nop_close
_nop_copyfile
_nop_create
_nop_exchange
_nop_fsync
_nop_getattr
_nop_inactive
_nop_ioctl
_nop_link
_nop_mkdir
_nop_mknod
_nop_mmap
_nop_offtoblk
_nop_open
_nop_pagein
_nop_pageout
_nop_pathconf
_nop_read
_nop_readdir
_nop_readdirattr
_nop_readlink
_nop_reclaim
_nop_remove
_nop_rename
_nop_revoke
_nop_rmdir
_nop_searchfs
_nop_select
_nop_setattr
_nop_strategy
_nop_symlink
_nop_whiteout
_nop_write
_nulldev
_nullop
_physio
_proc_chrooted
_proc_exiting
_proc_find
_proc_forcequota
_proc_is64bit
_proc_is_classic
_proc_isinferior
_proc_issignal
_proc_name
_proc_noremotehang
_proc_pgrpid
_proc_pid
_proc_ppid
_proc_rele
_proc_self
_proc_selfname
_proc_selfpid
_proc_selfppid
_proc_selfpgrpid
_proc_signal
_proc_suser
_proto_inject
_proto_input
_proto_register_plumber
_proto_unregister_plumber
_random
_selrecord
_selthreadclear
_seltrue
_selwait
_selwakeup
_set_fsblocksize
_sflt_attach
_sflt_detach
_sflt_register
_sflt_unregister
_sock_accept
_sock_bind
_sock_close
_sock_connect
_sock_connectwait
_sock_getpeername
_sock_getsockname
_sock_getsockopt
_sock_gettype
_sock_inject_data_in
_sock_inject_data_out
_sock_ioctl
_sock_isconnected
_sock_isnonblocking
_sock_listen
_sock_nointerrupt
_sock_receive
_sock_receivembuf
_sock_send
_sock_sendmbuf
_sock_setpriv
_sock_setsockopt
_sock_shutdown
_sock_socket
_sockopt_copyin
_sockopt_copyout
_sockopt_direction
_sockopt_level
_sockopt_name
_sockopt_valsize
_spec_close
_spec_ebadf
_spec_fsync
_spec_ioctl
_spec_lookup
_spec_open
_spec_pathconf
_spec_read
_spec_select
_spec_strategy
_spec_write
_subyte
_suibyte
_suiword
_suword
_sysctl__children
_sysctl__debug_children
_sysctl__kern_children
_sysctl__machdep_children
_sysctl__net_children
_sysctl__sysctl_children
_sysctl__vfs_children
_sysctl__vfs_generic
_sysctl__vfs_generic_children
_sysctl__vm_children
_sysctl_handle_int
_sysctl_handle_int2quad
_sysctl_handle_long
_sysctl_handle_opaque
_sysctl_handle_quad
_sysctl_handle_string
_sysctl_register_oid
_sysctl_unregister_oid
_thread_issignal
_timevaladd
_timevalfix
_timevalsub
_tvtoabstime
_ubc_blktooff
_ubc_create_upl
_ubc_getcred
_ubc_getsize
_ubc_msync
_ubc_offtoblk
_ubc_page_op
_ubc_pages_resident
_ubc_range_op
_ubc_setsize
_ubc_setthreadcred
_ubc_upl_abort
_ubc_upl_abort_range
_ubc_upl_commit
_ubc_upl_commit_range
_ubc_upl_map
_ubc_upl_maxbufsize
_ubc_upl_pageinfo
_ubc_upl_unmap
_uio_addiov
_uio_create
_uio_curriovbase
_uio_curriovlen
_uio_duplicate
_uio_free
_uio_getiov
_uio_iovcnt
_uio_isuserspace
_uio_offset
_uio_reset
_uio_resid
_uio_rw
_uio_setoffset
_uio_setresid
_uio_setrw
_uio_update
_uiomove
_uiomove64
_unicode_combinable
_unicode_decomposeable
_upl_dirty_page
_upl_page_present
_upl_valid_page
_useracc
_utf8_decodestr
_utf8_encodelen
_utf8_encodestr
_utf8_normalizestr
_utf8_validatestr
_vcount
_vflush
_vfs_64bitready
_vfs_addname
_vfs_attr_pack
_vfs_authcache_ttl
_vfs_authopaque
_vfs_authopaqueaccess
_vfs_busy
_vfs_clearauthcache_ttl
_vfs_clearauthopaque
_vfs_clearauthopaqueaccess
_vfs_clearextendedsecurity
_vfs_clearnoswap
_vfs_clearflags
_vfs_context_create
_vfs_context_is64bit
_vfs_context_issignal
_vfs_context_pid
_vfs_context_proc
_vfs_context_rele
_vfs_context_suser
_vfs_context_ucred
_vfs_devblocksize
_vfs_event_init
_vfs_event_signal
_vfs_flags
_vfs_fsadd
_vfs_fsprivate
_vfs_fsremove
_vfs_get_notify_attributes
_vfs_getnewfsid
_vfs_getvfs
_vfs_init_io_attributes
_vfs_ioattr
_vfs_isforce
_vfs_isrdonly
_vfs_isrdwr
_vfs_isreload
_vfs_issynchronous
_vfs_isunmount
_vfs_isupdate
_vfs_iswriteupgrade
_vfs_iterate
_vfs_maxsymlen
_vfs_mountedon
_vfs_name
_vfs_removename
_vfs_rootvnode
_vfs_setauthcache_ttl
_vfs_setauthopaque
_vfs_setauthopaqueaccess
_vfs_setextendedsecurity
_vfs_setnoswap
_vfs_setflags
_vfs_setfsprivate
_vfs_setioattr
_vfs_setlocklocal
_vfs_setup_vattr_from_attrlist
_vfs_setmaxsymlen
_vfs_statfs
_vfs_sysctl
_vfs_typenum
_vfs_unbusy
_vfs_unmountbyfsid
_vn_bwrite
_vn_default_error
_vn_getpath
_vn_path_package_check
_vn_rdwr
_vn_revoke
_vnode_addfsref
_vnode_authattr
_vnode_authattr_new
_vnode_authorize
_vnode_clearfsnode
_vnode_clearmountedon
_vnode_clearnocache
_vnode_clearnoreadahead
_vnode_close
_vnode_create
_vnode_fsnode
_vnode_get
_vnode_getattr
_vnode_getname
_vnode_getparent
_vnode_getwithref
_vnode_getwithvid
_vnode_hascleanblks
_vnode_hasdirtyblks
_vnode_isblk
_vnode_ischr
_vnode_isdir
_vnode_isfifo
_vnode_isinuse
_vnode_islnk
_vnode_ismount
_vnode_ismountedon
_vnode_isnocache
_vnode_isnoreadahead
_vnode_israge
_vnode_isrecycled
_vnode_isreg
_vnode_isswap
_vnode_issystem
_vnode_isvroot
_vnode_iterate
_vnode_lookup
_vnode_mount
_vnode_mountedhere
_vnode_notify
_vnode_open
_vnode_put
_vnode_putname
_vnode_recycle
_vnode_ref
_vnode_rele
_vnode_removefsref
_vnode_setattr
_vnode_setmountedon
_vnode_setmultipath
_vnode_setnocache
_vnode_setnoreadahead
_vnode_settag
_vnode_specrdev
_vnode_startwrite
_vnode_uncache_credentials
_vnode_update_identity
_vnode_vfs64bitready
_vnode_vfsisrdonly
_vnode_vfsmaxsymlen
_vnode_vfsname
_vnode_vfstypenum
_vnode_vid
_vnode_vtype
_vnode_waitforwrites
_vnode_writedone
_vnop_access_desc
_vnop_advlock_desc
_vnop_allocate_desc
_vnop_blktooff_desc
_vnop_blockmap_desc
_vnop_bwrite_desc
_vnop_close_desc
_vnop_copyfile_desc
_vnop_clonefile_desc
_vnop_create_desc
_vnop_default_desc
_vnop_exchange_desc
_vnop_fsync_desc
_vnop_getattr_desc
_vnop_getxattr_desc
_vnop_inactive_desc
_vnop_ioctl_desc
_vnop_link_desc
_vnop_listxattr_desc
_vnop_lookup_desc
_vnop_mkdir_desc
_vnop_mknod_desc
_vnop_mmap_desc
_vnop_mnomap_desc
_vnop_offtoblk_desc
_vnop_open_desc
_vnop_pagein_desc
_vnop_pageout_desc
_vnop_pathconf_desc
_vnop_read_desc
_vnop_readdir_desc
_vnop_readdirattr_desc
_vnop_getattrlistbulk_desc
_vnop_readlink_desc
_vnop_reclaim_desc
_vnop_remove_desc
_vnop_removexattr_desc
_vnop_rename_desc
_vnop_renamex_desc
_vnop_revoke_desc
_vnop_rmdir_desc
_vnop_searchfs_desc
_vnop_select_desc
_vnop_setattr_desc
_vnop_setxattr_desc
_vnop_strategy_desc
_vnop_symlink_desc
_vnop_whiteout_desc
_vnop_write_desc
_vttoif_tab
_wakeup
_wakeup_one
_xattr_protected
_xattr_validatename