| lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | libc { | 
|  | 2 | GLIBC_2.0 { | 
|  | 3 | # necessary for the Hurd brk implementation | 
|  | 4 | _end; | 
|  | 5 |  | 
|  | 6 | # variables used in macros & inline functions | 
|  | 7 | __hurd_sigthread_stack_base; __hurd_sigthread_stack_end; | 
|  | 8 | __hurd_sigthread_variables; | 
|  | 9 | __hurd_threadvar_max; | 
|  | 10 | __hurd_threadvar_stack_mask; __hurd_threadvar_stack_offset; | 
|  | 11 |  | 
|  | 12 | # functions used in macros & inline functions | 
|  | 13 | __hurd_errno_location; | 
|  | 14 |  | 
|  | 15 | # functions used in libmachuser and libhurduser | 
|  | 16 | _S_catch_exception_raise; | 
|  | 17 | _S_catch_exception_raise_state; | 
|  | 18 | _S_catch_exception_raise_state_identity; | 
|  | 19 | _S_msg_add_auth; _S_msg_del_auth; | 
|  | 20 | _S_msg_describe_ports; | 
|  | 21 | _S_msg_get_dtable; _S_msg_set_dtable; | 
|  | 22 | _S_msg_get_env_variable; _S_msg_set_env_variable; | 
|  | 23 | _S_msg_get_environment; _S_msg_set_environment; | 
|  | 24 | _S_msg_get_fd; _S_msg_set_fd; | 
|  | 25 | _S_msg_get_init_int; _S_msg_set_init_int; | 
|  | 26 | _S_msg_get_init_ints; _S_msg_set_init_ints; | 
|  | 27 | _S_msg_get_init_port; _S_msg_set_init_port; | 
|  | 28 | _S_msg_get_init_ports; _S_msg_set_init_ports; | 
|  | 29 | _S_msg_proc_newids; _S_msg_report_wait; | 
|  | 30 | _S_msg_sig_post; _S_msg_sig_post_untraced; | 
|  | 31 | _hurd_intr_rpc_mach_msg; | 
|  | 32 | _hurdsig_fault_catch_exception_raise; | 
|  | 33 | _hurdsig_fault_catch_exception_raise_state; | 
|  | 34 | _hurdsig_fault_catch_exception_raise_state_identity; | 
|  | 35 |  | 
|  | 36 | # "quasi-internal" variables | 
|  | 37 | _hurd_device_master; | 
|  | 38 | _hurd_dtable; _hurd_dtablesize; _hurd_dtable_lock; | 
|  | 39 | _hurd_host_priv; | 
|  | 40 | _hurd_msgport; | 
|  | 41 | _hurd_ports; | 
|  | 42 |  | 
|  | 43 | # "quasi-internal" functions | 
|  | 44 | _hurd_canonicalize_directory_name_internal; | 
|  | 45 | _hurd_critical_section_lock; | 
|  | 46 | _hurd_critical_section_unlock; | 
|  | 47 | _hurd_exception2signal; | 
|  | 48 | _hurd_exec; | 
|  | 49 | _hurd_fd_get; | 
|  | 50 | _hurd_init; | 
|  | 51 | _hurd_intern_fd; | 
|  | 52 | _hurd_port_cleanup; | 
|  | 53 | _hurd_port_free; | 
|  | 54 | _hurd_port_get; | 
|  | 55 | _hurd_port_locked_get; | 
|  | 56 | _hurd_ports_use; | 
|  | 57 | _hurd_thread_sigstate; | 
|  | 58 |  | 
|  | 59 | # functions in normal name space | 
|  | 60 |  | 
|  | 61 | # f* | 
|  | 62 | file_name_lookup; file_name_lookup_under; file_name_path_lookup; | 
|  | 63 | file_name_split; | 
|  | 64 | fopenport; | 
|  | 65 |  | 
|  | 66 | # g* | 
|  | 67 | get_privileged_ports; | 
|  | 68 | getauth; getcrdir; getcwdir; getcttyid; getdport; getproc; getumask; | 
|  | 69 |  | 
|  | 70 | # h* | 
|  | 71 | hurd_catch_signal; | 
|  | 72 | hurd_check_cancel; | 
|  | 73 | hurd_file_name_lookup; hurd_file_name_lookup_retry; | 
|  | 74 | hurd_file_name_path_lookup; hurd_file_name_split; | 
|  | 75 | hurd_preempt_signals; | 
|  | 76 | hurd_safe_copyin; hurd_safe_copyout; | 
|  | 77 | hurd_safe_memmove; hurd_safe_memset; | 
|  | 78 | hurd_sig_post; | 
|  | 79 | hurd_thread_cancel; hurd_thread_self; | 
|  | 80 | hurd_unpreempt_signals; | 
|  | 81 |  | 
|  | 82 | # o* | 
|  | 83 | openport; | 
|  | 84 |  | 
|  | 85 | # p* | 
|  | 86 | pid2task; | 
|  | 87 |  | 
|  | 88 | # s* | 
|  | 89 | setauth; setcrdir; setcwdir; setproc; setcttyid; | 
|  | 90 |  | 
|  | 91 | # t* | 
|  | 92 | task2pid; | 
|  | 93 |  | 
|  | 94 | # v* | 
|  | 95 | vpprintf; | 
|  | 96 | } | 
|  | 97 | GLIBC_2.1 { | 
|  | 98 | # "quasi-internal" functions | 
|  | 99 | _hurd_proc_init; | 
|  | 100 |  | 
|  | 101 | # g* | 
|  | 102 | geteuids; | 
|  | 103 |  | 
|  | 104 | # s* | 
|  | 105 | seteuids; | 
|  | 106 | } | 
|  | 107 | GLIBC_2.1.3 { | 
|  | 108 | # d* | 
|  | 109 | directory_name_split; | 
|  | 110 |  | 
|  | 111 | # h* | 
|  | 112 | hurd_directory_name_split; | 
|  | 113 | } | 
|  | 114 | GLIBC_2.2.5 { | 
|  | 115 | # These always existed as inlines but the real functions were not exported. | 
|  | 116 | __hurd_fail; | 
|  | 117 | _hurd_self_sigstate; | 
|  | 118 |  | 
|  | 119 | # Same for these "quasi-internal" functions | 
|  | 120 | _hurd_port_init; | 
|  | 121 | _hurd_port_set; | 
|  | 122 |  | 
|  | 123 | # internal symbols used by other libraries (e.g. librt) | 
|  | 124 | _hurd_raise_signal; | 
|  | 125 | _hurdsig_interrupt_timeout; | 
|  | 126 | _hurdsig_fault_preemptor; _hurdsig_fault_env; | 
|  | 127 | } | 
|  | 128 | GLIBC_2.2.6 { | 
|  | 129 | # functions used in macros & inline functions | 
|  | 130 | __errno_location; | 
|  | 131 | } | 
|  | 132 |  | 
|  | 133 | HURD_CTHREADS_0.3 { | 
|  | 134 | # weak refs to libthreads functions that libc calls iff libthreads in use | 
|  | 135 | cthread_fork; cthread_detach; | 
|  | 136 |  | 
|  | 137 | # variables used for detecting cthreads | 
|  | 138 | _cthread_exit_routine; _cthread_init_routine; | 
|  | 139 |  | 
|  | 140 | # cthreads functions with stubs in libc | 
|  | 141 | cthread_keycreate; cthread_getspecific; cthread_setspecific; | 
|  | 142 | __libc_getspecific; | 
|  | 143 | } | 
|  | 144 | } |